Table of Contents

Class FontChooser

Namespace
Gtk.Internal
Assembly
Gtk-4.0.dll
public class FontChooser
Inheritance
FontChooser
Inherited Members

Methods

GetFont(IntPtr)

Calls native method gtk_font_chooser_get_font.

public static extern NullableUtf8StringOwnedHandle GetFont(IntPtr fontchooser)

Parameters

fontchooser IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: True

GetFontDesc(IntPtr)

Calls native method gtk_font_chooser_get_font_desc.

public static extern FontDescriptionOwnedHandle GetFontDesc(IntPtr fontchooser)

Parameters

fontchooser IntPtr

Transfer ownership: None Nullable: False

Returns

FontDescriptionOwnedHandle

Transfer ownership: Full Nullable: True

GetFontFace(IntPtr)

Calls native method gtk_font_chooser_get_font_face.

public static extern IntPtr GetFontFace(IntPtr fontchooser)

Parameters

fontchooser IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetFontFamily(IntPtr)

Calls native method gtk_font_chooser_get_font_family.

public static extern IntPtr GetFontFamily(IntPtr fontchooser)

Parameters

fontchooser IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetFontFeatures(IntPtr)

Calls native method gtk_font_chooser_get_font_features.

public static extern NonNullableUtf8StringOwnedHandle GetFontFeatures(IntPtr fontchooser)

Parameters

fontchooser IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False

GetFontMap(IntPtr)

Calls native method gtk_font_chooser_get_font_map.

public static extern IntPtr GetFontMap(IntPtr fontchooser)

Parameters

fontchooser IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: True

GetFontSize(IntPtr)

Calls native method gtk_font_chooser_get_font_size.

public static extern int GetFontSize(IntPtr fontchooser)

Parameters

fontchooser IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_font_chooser_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetLanguage(IntPtr)

Calls native method gtk_font_chooser_get_language.

public static extern NonNullableUtf8StringOwnedHandle GetLanguage(IntPtr fontchooser)

Parameters

fontchooser IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False

GetLevel(IntPtr)

Calls native method gtk_font_chooser_get_level.

public static extern FontChooserLevel GetLevel(IntPtr fontchooser)

Parameters

fontchooser IntPtr

Transfer ownership: None Nullable: False

Returns

FontChooserLevel

Transfer ownership: None Nullable: False

GetPreviewText(IntPtr)

Calls native method gtk_font_chooser_get_preview_text.

public static extern NonNullableUtf8StringOwnedHandle GetPreviewText(IntPtr fontchooser)

Parameters

fontchooser IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False

GetShowPreviewEntry(IntPtr)

Calls native method gtk_font_chooser_get_show_preview_entry.

public static extern bool GetShowPreviewEntry(IntPtr fontchooser)

Parameters

fontchooser IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

SetFilterFunc(IntPtr, FontFilterFunc, IntPtr, DestroyNotify)

Calls native method gtk_font_chooser_set_filter_func.

public static extern void SetFilterFunc(IntPtr fontchooser, FontFilterFunc filter, IntPtr userData, DestroyNotify destroy)

Parameters

fontchooser IntPtr

Transfer ownership: None Nullable: False

filter FontFilterFunc

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

destroy DestroyNotify

Transfer ownership: None Nullable: False

SetFont(IntPtr, NonNullableUtf8StringHandle)

Calls native method gtk_font_chooser_set_font.

public static extern void SetFont(IntPtr fontchooser, NonNullableUtf8StringHandle fontname)

Parameters

fontchooser IntPtr

Transfer ownership: None Nullable: False

fontname NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

SetFontDesc(IntPtr, FontDescriptionHandle)

Calls native method gtk_font_chooser_set_font_desc.

public static extern void SetFontDesc(IntPtr fontchooser, FontDescriptionHandle fontDesc)

Parameters

fontchooser IntPtr

Transfer ownership: None Nullable: False

fontDesc FontDescriptionHandle

Transfer ownership: None Nullable: False

SetFontMap(IntPtr, IntPtr)

Calls native method gtk_font_chooser_set_font_map.

public static extern void SetFontMap(IntPtr fontchooser, IntPtr fontmap)

Parameters

fontchooser IntPtr

Transfer ownership: None Nullable: False

fontmap IntPtr

Transfer ownership: None Nullable: True

SetLanguage(IntPtr, NonNullableUtf8StringHandle)

Calls native method gtk_font_chooser_set_language.

public static extern void SetLanguage(IntPtr fontchooser, NonNullableUtf8StringHandle language)

Parameters

fontchooser IntPtr

Transfer ownership: None Nullable: False

language NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

SetLevel(IntPtr, FontChooserLevel)

Calls native method gtk_font_chooser_set_level.

public static extern void SetLevel(IntPtr fontchooser, FontChooserLevel level)

Parameters

fontchooser IntPtr

Transfer ownership: None Nullable: False

level FontChooserLevel

Transfer ownership: None Nullable: False

SetPreviewText(IntPtr, NonNullableUtf8StringHandle)

Calls native method gtk_font_chooser_set_preview_text.

public static extern void SetPreviewText(IntPtr fontchooser, NonNullableUtf8StringHandle text)

Parameters

fontchooser IntPtr

Transfer ownership: None Nullable: False

text NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

SetShowPreviewEntry(IntPtr, bool)

Calls native method gtk_font_chooser_set_show_preview_entry.

public static extern void SetShowPreviewEntry(IntPtr fontchooser, bool showPreviewEntry)

Parameters

fontchooser IntPtr

Transfer ownership: None Nullable: False

showPreviewEntry bool

Transfer ownership: None Nullable: False