Class FontChooserWidget
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class FontChooserWidget : Widget, IObject, INotifyPropertyChanged, IDisposable, Accessible, Buildable, ConstraintTarget, FontChooser, IHandle, GTypeProvider
- Inheritance
-
FontChooserWidget
- Implements
-
- Inherited Members
-
Constructors
public FontChooserWidget()
protected FontChooserWidget(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
protected FontChooserWidget(IntPtr ptr, bool ownedRef)
Parameters
ptr
IntPtr
ownedRef
bool
Fields
public static readonly Property<Action, FontChooserWidget> TweakActionPropertyDefinition
Field Value
- Property<Action, FontChooserWidget>
Properties
public AccessibleRole AccessibleRole { get; set; }
Property Value
- AccessibleRole
public string? Font { get; set; }
Property Value
- string
public FontDescription FontDesc { get; set; }
Property Value
- FontDescription
public string? FontFeatures { get; }
Property Value
- string
public string? Language { get; set; }
Property Value
- string
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
public Action TweakAction { get; }
Property Value
- Action
Methods
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
message
string
priority
AccessibleAnnouncementPriority
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
- Accessible
public AccessibleRole GetAccessibleRole()
Returns
- AccessibleRole
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
- ATContext
[Version("4.10")]
public bool GetBounds(out int x, out int y, out int width, out int height)
Parameters
x
int
y
int
width
int
height
int
Returns
- bool
public string? GetBuildableId()
Returns
- string
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
- Accessible
Returns
- string
public FontDescription? GetFontDesc()
Returns
- FontDescription
public FontFace? GetFontFace()
Returns
- FontFace
public FontFamily? GetFontFamily()
Returns
- FontFamily
public string GetFontFeatures()
Returns
- string
public FontMap? GetFontMap()
Returns
- FontMap
Returns
- int
public static Type GetGType()
Returns
- Type
public string GetLanguage()
Returns
- string
public FontChooserLevel GetLevel()
Returns
- FontChooserLevel
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
- Accessible
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
- bool
GetPreviewText()
public string GetPreviewText()
Returns
- string
GetShowPreviewEntry()
public bool GetShowPreviewEntry()
Returns
- bool
public static FontChooserWidget New()
Returns
- FontChooserWidget
public void ResetProperty(AccessibleProperty property)
Parameters
property
AccessibleProperty
public void ResetRelation(AccessibleRelation relation)
Parameters
relation
AccessibleRelation
public void ResetState(AccessibleState state)
Parameters
state
AccessibleState
[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)
Parameters
parent
Accessible
nextSibling
Accessible
public void SetFilterFunc(FontFilterFunc? filter)
Parameters
filter
FontFilterFunc
public void SetFont(string fontname)
Parameters
fontname
string
public void SetFontDesc(FontDescription fontDesc)
Parameters
fontDesc
FontDescription
public void SetFontMap(FontMap? fontmap)
Parameters
fontmap
FontMap
public void SetLanguage(string language)
Parameters
language
string
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
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSibling
Accessible