Table of Contents

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

FontChooserWidget()

public FontChooserWidget()

FontChooserWidget(params ConstructArgument[])

protected FontChooserWidget(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

FontChooserWidget(IntPtr, bool)

protected FontChooserWidget(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

TweakActionPropertyDefinition

public static readonly Property<Action, FontChooserWidget> TweakActionPropertyDefinition

Field Value

Property<Action, FontChooserWidget>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

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

TweakAction

public Action TweakAction { get; }

Property Value

Action

Methods

Announce(string, AccessibleAnnouncementPriority)

[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)

Parameters

message string
priority AccessibleAnnouncementPriority

GetAccessibleParent()

[Version("4.10")]
public Accessible? GetAccessibleParent()

Returns

Accessible

GetAccessibleRole()

public AccessibleRole GetAccessibleRole()

Returns

AccessibleRole

GetAtContext()

[Version("4.10")]
public ATContext GetAtContext()

Returns

ATContext

GetBounds(out int, out int, out int, out int)

[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

GetBuildableId()

public string? GetBuildableId()

Returns

string

GetFirstAccessibleChild()

[Version("4.10")]
public Accessible? GetFirstAccessibleChild()

Returns

Accessible

GetFont()

public string? 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()

public int GetFontSize()

Returns

int

GetGType()

public static Type GetGType()

Returns

Type

GetLanguage()

public string GetLanguage()

Returns

string

GetLevel()

public FontChooserLevel GetLevel()

Returns

FontChooserLevel

GetNextAccessibleSibling()

[Version("4.10")]
public Accessible? GetNextAccessibleSibling()

Returns

Accessible

GetPlatformState(AccessiblePlatformState)

[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

New()

public static FontChooserWidget New()

Returns

FontChooserWidget

ResetProperty(AccessibleProperty)

public void ResetProperty(AccessibleProperty property)

Parameters

property AccessibleProperty

ResetRelation(AccessibleRelation)

public void ResetRelation(AccessibleRelation relation)

Parameters

relation AccessibleRelation

ResetState(AccessibleState)

public void ResetState(AccessibleState state)

Parameters

state AccessibleState

SetAccessibleParent(Accessible?, Accessible?)

[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)

Parameters

parent Accessible
nextSibling Accessible

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

UpdateNextAccessibleSibling(Accessible?)

[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)

Parameters

newSibling Accessible