Type Alias: GtkFontDialogButtonProps
GtkFontDialogButtonProps =
WidgetProps&object
Defined in: generated/jsx.ts:4688
Props for the GtkFontDialogButton widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
dialog? | Gtk.FontDialog | null | The GtkFontDialog that contains parameters for the font chooser dialog. | generated/jsx.ts:4693 |
fontDesc? | Pango.FontDescription | null | The selected font. This property can be set to give the button its initial font, and it will be updated to reflect the users choice in the font chooser dialog. Listen to notify::font-desc to get informed about changes to the buttons font. | generated/jsx.ts:4704 |
fontFeatures? | string | null | The selected font features. This property will be updated to reflect the users choice in the font chooser dialog. Listen to notify::font-features to get informed about changes to the buttons font features. | generated/jsx.ts:4714 |
language? | Pango.Language | null | The selected language for font features. This property will be updated to reflect the users choice in the font chooser dialog. Listen to notify::language to get informed about changes to the buttons language. | generated/jsx.ts:4724 |
level? | Gtk.FontLevel | The level of detail for the font chooser dialog. | generated/jsx.ts:4726 |
onActivate()? | (self) => void | null | Emitted when the font dialog button is activated. The ::activate signal on GtkFontDialogButton is an action signal and emitting it causes the button to pop up its dialog. | generated/jsx.ts:4737 |
onNotify? | (self, propName) => void | null | Called when any property on this widget changes. Param The widget that emitted the notification Param The name of the property that changed (in kebab-case) | generated/jsx.ts:4743 |
ref? | Ref<Gtk.FontDialogButton> | - | generated/jsx.ts:4749 |
useFont? | boolean | Whether the buttons label will be drawn in the selected font. | generated/jsx.ts:4728 |
useSize? | boolean | Whether the buttons label will use the selected font size. | generated/jsx.ts:4730 |