Class FontChooserHelper
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public sealed class FontChooserHelper : Object, FontChooser, NativeObject, IDisposable, InstanceFactory, GTypeProvider
- Inheritance
-
FontChooserHelper
- Implements
- Inherited Members
Constructors
FontChooserHelper(ObjectHandle)
public FontChooserHelper(ObjectHandle handle)
Parameters
handleObjectHandle
Fields
FontActivatedSignal
Signal Descriptor for OnFontActivated.
public static readonly Signal<FontChooser, FontChooser.FontActivatedSignalArgs> FontActivatedSignal
Field Value
Properties
Font
public string? Font { get; set; }
Property Value
FontDesc
public FontDescription FontDesc { get; set; }
Property Value
FontFeatures
public string? FontFeatures { get; }
Property Value
Language
public string? Language { get; set; }
Property Value
Level
public FontChooserLevel Level { get; set; }
Property Value
PreviewText
public string? PreviewText { get; set; }
Property Value
ShowPreviewEntry
public bool ShowPreviewEntry { get; set; }
Property Value
Methods
GetFont()
public string? GetFont()
Returns
GetFontDesc()
public FontDescription? GetFontDesc()
Returns
GetFontFace()
public FontFace? GetFontFace()
Returns
GetFontFamily()
public FontFamily? GetFontFamily()
Returns
GetFontFeatures()
public string GetFontFeatures()
Returns
GetFontMap()
public FontMap? GetFontMap()
Returns
GetFontSize()
public int GetFontSize()
Returns
GetGType()
public static Type GetGType()
Returns
GetLanguage()
public string GetLanguage()
Returns
GetLevel()
public FontChooserLevel GetLevel()
Returns
GetPreviewText()
public string GetPreviewText()
Returns
GetShowPreviewEntry()
public bool GetShowPreviewEntry()
Returns
SetFilterFunc(FontFilterFunc?)
public void SetFilterFunc(FontFilterFunc? filter)
Parameters
filterFontFilterFunc
SetFont(string)
public void SetFont(string fontname)
Parameters
fontnamestring
SetFontDesc(FontDescription)
public void SetFontDesc(FontDescription fontDesc)
Parameters
fontDescFontDescription
SetFontMap(FontMap?)
public void SetFontMap(FontMap? fontmap)
Parameters
fontmapFontMap
SetLanguage(string)
public void SetLanguage(string language)
Parameters
languagestring
SetLevel(FontChooserLevel)
public void SetLevel(FontChooserLevel level)
Parameters
levelFontChooserLevel
SetPreviewText(string)
public void SetPreviewText(string text)
Parameters
textstring
SetShowPreviewEntry(bool)
public void SetShowPreviewEntry(bool showPreviewEntry)
Parameters
showPreviewEntrybool
Events
OnFontActivated
public event SignalHandler<FontChooser, FontChooser.FontActivatedSignalArgs> OnFontActivated