Interface FontChooser
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public interface FontChooser : NativeObject, GTypeProvider, IDisposable
- Inherited Members
Fields
FontDescPropertyDefinition
public static readonly Property<FontDescription, FontChooser> FontDescPropertyDefinition
Field Value
FontFeaturesPropertyDefinition
public static readonly Property<string?, FontChooser> FontFeaturesPropertyDefinition
Field Value
FontPropertyDefinition
public static readonly Property<string?, FontChooser> FontPropertyDefinition
Field Value
LanguagePropertyDefinition
public static readonly Property<string?, FontChooser> LanguagePropertyDefinition
Field Value
LevelPropertyDefinition
public static readonly Property<FontChooserLevel, FontChooser> LevelPropertyDefinition
Field Value
PreviewTextPropertyDefinition
public static readonly Property<string?, FontChooser> PreviewTextPropertyDefinition
Field Value
ShowPreviewEntryPropertyDefinition
public static readonly Property<bool, FontChooser> ShowPreviewEntryPropertyDefinition
Field Value
Properties
Font
string? Font { get; set; }
Property Value
FontDesc
FontDescription FontDesc { get; set; }
Property Value
FontFeatures
string? FontFeatures { get; }
Property Value
Language
string? Language { get; set; }
Property Value
Level
FontChooserLevel Level { get; set; }
Property Value
PreviewText
string? PreviewText { get; set; }
Property Value
ShowPreviewEntry
bool ShowPreviewEntry { get; set; }
Property Value
Methods
GetFont()
string? GetFont()
Returns
GetFontDesc()
FontDescription? GetFontDesc()
Returns
GetFontFace()
FontFace? GetFontFace()
Returns
GetFontFamily()
FontFamily? GetFontFamily()
Returns
GetFontFeatures()
string GetFontFeatures()
Returns
GetFontMap()
FontMap? GetFontMap()
Returns
GetFontSize()
int GetFontSize()
Returns
GetLanguage()
string GetLanguage()
Returns
GetLevel()
FontChooserLevel GetLevel()
Returns
GetPreviewText()
string GetPreviewText()
Returns
GetShowPreviewEntry()
bool GetShowPreviewEntry()
Returns
SetFilterFunc(FontFilterFunc?)
void SetFilterFunc(FontFilterFunc? filter)
Parameters
filterFontFilterFuncA callback. If it raises an exception the application will terminate. To receive this unhandled exception see SetHandler(Action<Exception>?).
SetFont(string)
void SetFont(string fontname)
Parameters
fontnamestring
SetFontDesc(FontDescription)
void SetFontDesc(FontDescription fontDesc)
Parameters
fontDescFontDescription
SetFontMap(FontMap?)
void SetFontMap(FontMap? fontmap)
Parameters
fontmapFontMap
SetLanguage(string)
void SetLanguage(string language)
Parameters
languagestring
SetLevel(FontChooserLevel)
void SetLevel(FontChooserLevel level)
Parameters
levelFontChooserLevel
SetPreviewText(string)
void SetPreviewText(string text)
Parameters
textstring
SetShowPreviewEntry(bool)
void SetShowPreviewEntry(bool showPreviewEntry)
Parameters
showPreviewEntrybool
Events
OnFontActivated
event SignalHandler<FontChooser, FontChooser.FontActivatedSignalArgs> OnFontActivated