Table of Contents

Class FontChooserDialog

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class FontChooserDialog : Dialog, IObject, INotifyPropertyChanged, IDisposable, Accessible, Buildable, ConstraintTarget, FontChooser, Native, Root, ShortcutManager, IHandle, GTypeProvider
Inheritance
FontChooserDialog
Implements
Inherited Members

Constructors

FontChooserDialog()

public FontChooserDialog()

FontChooserDialog(params ConstructArgument[])

protected FontChooserDialog(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

FontChooserDialog(IntPtr, bool)

protected FontChooserDialog(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

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

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

GetDisplay()

public Display GetDisplay()

Returns

Display

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

GetRenderer()

public Renderer? GetRenderer()

Returns

Renderer

GetShowPreviewEntry()

public bool GetShowPreviewEntry()

Returns

bool

GetSurface()

public Surface? GetSurface()

Returns

Surface

GetSurfaceTransform(out double, out double)

public void GetSurfaceTransform(out double x, out double y)

Parameters

x double
y double

New(string?, Window?)

public static FontChooserDialog New(string? title, Window? parent)

Parameters

title string
parent Window

Returns

FontChooserDialog

Realize()

public void Realize()

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

Unrealize()

public void Unrealize()

UpdateNextAccessibleSibling(Accessible?)

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

Parameters

newSibling Accessible