Type Alias: GtkFontChooserDialogProps
GtkFontChooserDialogProps =
GtkDialogProps&object
Defined in: generated/jsx.ts:3757
Props for the GtkFontChooserDialog widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
children? | ReactNode | - | generated/jsx.ts:3778 |
font? | string | The font description as a string, e.g. "Sans Italic 12". | generated/jsx.ts:3759 |
fontDesc? | Pango.FontDescription | The font description as a PangoFontDescription. | generated/jsx.ts:3761 |
language? | string | The language for which the font features were selected. | generated/jsx.ts:3763 |
level? | Gtk.FontChooserLevel | The level of granularity to offer for selecting fonts. | generated/jsx.ts:3765 |
onFontActivated? | (fontname, self) => void | null | Emitted when a font is activated. This usually happens when the user double clicks an item, or an item is selected and the user presses one of the keys Space, Shift+Space, Return or Enter. | generated/jsx.ts:3777 |
previewText? | string | The string with which to preview the font. | generated/jsx.ts:3767 |
ref? | Ref<Gtk.FontChooserDialog> | - | generated/jsx.ts:3779 |
showPreviewEntry? | boolean | Whether to show an entry to change the preview text. | generated/jsx.ts:3769 |