Skip to main content

Type Alias: GtkFontDialogButtonProps

GtkFontDialogButtonProps = WidgetProps & object

Defined in: generated/jsx.ts:4688

Props for the GtkFontDialogButton widget.

Type Declaration

NameTypeDescriptionDefined in
dialog?Gtk.FontDialog | nullThe GtkFontDialog that contains parameters for the font chooser dialog.generated/jsx.ts:4693
fontDesc?Pango.FontDescription | nullThe 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 | nullThe 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 | nullThe 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.FontLevelThe level of detail for the font chooser dialog.generated/jsx.ts:4726
onActivate()?(self) => void | nullEmitted 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 | nullCalled 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?booleanWhether the buttons label will be drawn in the selected font.generated/jsx.ts:4728
useSize?booleanWhether the buttons label will use the selected font size.generated/jsx.ts:4730