Class FontDialog
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class FontDialog : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
- Inheritance
-
FontDialog
- Implements
-
- Inherited Members
-
Constructors
FontDialog(bool, params ConstructArgument[])
protected FontDialog(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
bool
constructArguments
ConstructArgument[]
FontDialog(IntPtr, bool)
protected FontDialog(IntPtr ptr, bool ownedRef)
Parameters
ptr
IntPtr
ownedRef
bool
Fields
FilterPropertyDefinition
public static readonly Property<Filter?, FontDialog> FilterPropertyDefinition
Field Value
- Property<Filter, FontDialog>
FontMapPropertyDefinition
public static readonly Property<FontMap?, FontDialog> FontMapPropertyDefinition
Field Value
- Property<FontMap, FontDialog>
LanguagePropertyDefinition
public static readonly Property<Language, FontDialog> LanguagePropertyDefinition
Field Value
- Property<Language, FontDialog>
ModalPropertyDefinition
public static readonly Property<bool, FontDialog> ModalPropertyDefinition
Field Value
- Property<bool, FontDialog>
TitlePropertyDefinition
public static readonly Property<string?, FontDialog> TitlePropertyDefinition
Field Value
- Property<string, FontDialog>
Properties
Filter
public Filter? Filter { get; set; }
Property Value
- Filter
FontMap
public FontMap? FontMap { get; set; }
Property Value
- FontMap
Language
public Language Language { get; set; }
Property Value
- Language
Modal
public bool Modal { get; set; }
Property Value
- bool
Title
public string? Title { get; set; }
Property Value
- string
Methods
ChooseFaceAsync(Window, FontFace?)
public Task<FontFace?> ChooseFaceAsync(Window parent, FontFace? fontFace)
Parameters
parent
Window
fontFace
FontFace
Returns
- Task<FontFace>
ChooseFaceFinish(AsyncResult)
[Version("4.10")]
public FontFace? ChooseFaceFinish(AsyncResult result)
Parameters
result
AsyncResult
Returns
- FontFace
ChooseFamilyAsync(Window, FontFamily?)
public Task<FontFamily?> ChooseFamilyAsync(Window parent, FontFamily? fontFamily)
Parameters
parent
Window
fontFamily
FontFamily
Returns
- Task<FontFamily>
ChooseFamilyFinish(AsyncResult)
[Version("4.10")]
public FontFamily? ChooseFamilyFinish(AsyncResult result)
Parameters
result
AsyncResult
Returns
- FontFamily
ChooseFontAsync(Window, FontDescription?)
public Task<FontDescription?> ChooseFontAsync(Window parent, FontDescription? fontDescription)
Parameters
parent
Window
fontDescription
FontDescription
Returns
- Task<FontDescription>
ChooseFontFinish(AsyncResult)
[Version("4.10")]
public FontDescription? ChooseFontFinish(AsyncResult result)
Parameters
result
AsyncResult
Returns
- FontDescription
GetFilter()
[Version("4.10")]
public Filter? GetFilter()
Returns
- Filter
GetFontMap()
[Version("4.10")]
public FontMap? GetFontMap()
Returns
- FontMap
GetGType()
public static Type GetGType()
Returns
- Type
GetLanguage()
[Version("4.10")]
public Language? GetLanguage()
Returns
- Language
GetModal()
[Version("4.10")]
public bool GetModal()
Returns
- bool
GetTitle()
[Version("4.10")]
public string GetTitle()
Returns
- string
New()
[Version("4.10")]
public static FontDialog New()
Returns
- FontDialog
SetFilter(Filter?)
[Version("4.10")]
public void SetFilter(Filter? filter)
Parameters
filter
Filter
SetFontMap(FontMap?)
[Version("4.10")]
public void SetFontMap(FontMap? fontmap)
Parameters
fontmap
FontMap
SetLanguage(Language)
[Version("4.10")]
public void SetLanguage(Language language)
Parameters
language
Language
SetModal(bool)
[Version("4.10")]
public void SetModal(bool modal)
Parameters
modal
bool
SetTitle(string)
[Version("4.10")]
public void SetTitle(string title)
Parameters
title
string