Class FontChooserHelper
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public sealed class FontChooserHelper : Object, FontChooser, IDisposable, InstanceFactory, GTypeProvider
- Inheritance
-
FontChooserHelper
- Implements
-
- Inherited Members
-
Constructors
FontChooserHelper(ObjectHandle)
public FontChooserHelper(ObjectHandle handle)
Parameters
handle ObjectHandle
Properties
Font
public string? Font { get; set; }
Property Value
- string
FontDesc
public FontDescription FontDesc { get; set; }
Property Value
- FontDescription
FontFeatures
public string? FontFeatures { get; }
Property Value
- string
Language
public string? Language { get; set; }
Property Value
- string
Level
public FontChooserLevel Level { get; set; }
Property Value
- FontChooserLevel
PreviewText
public string? PreviewText { get; set; }
Property Value
- string
ShowPreviewEntry
public bool ShowPreviewEntry { get; set; }
Property Value
- bool
Methods
GetFont()
Returns
- string
GetFontDesc()
public FontDescription? GetFontDesc()
Returns
- FontDescription
GetFontFace()
public FontFace? GetFontFace()
Returns
- FontFace
GetFontFamily()
public FontFamily? GetFontFamily()
Returns
- FontFamily
GetFontFeatures()
public string GetFontFeatures()
Returns
- string
GetFontMap()
public FontMap? GetFontMap()
Returns
- FontMap
GetFontSize()
Returns
- int
GetGType()
public static Type GetGType()
Returns
- Type
GetLanguage()
public string GetLanguage()
Returns
- string
GetLevel()
public FontChooserLevel GetLevel()
Returns
- FontChooserLevel
GetPreviewText()
public string GetPreviewText()
Returns
- string
GetShowPreviewEntry()
public bool GetShowPreviewEntry()
Returns
- bool
SetFilterFunc(FontFilterFunc?)
public void SetFilterFunc(FontFilterFunc? filter)
Parameters
filter FontFilterFunc
SetFont(string)
public void SetFont(string fontname)
Parameters
fontname string
SetFontDesc(FontDescription)
public void SetFontDesc(FontDescription fontDesc)
Parameters
fontDesc FontDescription
SetFontMap(FontMap?)
public void SetFontMap(FontMap? fontmap)
Parameters
fontmap FontMap
SetLanguage(string)
public void SetLanguage(string language)
Parameters
language string
SetLevel(FontChooserLevel)
public void SetLevel(FontChooserLevel level)
Parameters
level FontChooserLevel
SetPreviewText(string)
public void SetPreviewText(string text)
Parameters
text string
SetShowPreviewEntry(bool)
public void SetShowPreviewEntry(bool showPreviewEntry)
Parameters
showPreviewEntry bool