Skip to main content

Type Alias: GtkFontChooserWidgetProps

GtkFontChooserWidgetProps = WidgetProps & object

Defined in: generated/jsx.ts:3782

Props for the GtkFontChooserWidget widget.

Type Declaration

NameTypeDescriptionDefined in
font?stringThe font description as a string, e.g. "Sans Italic 12".generated/jsx.ts:3784
fontDesc?Pango.FontDescriptionThe font description as a PangoFontDescription.generated/jsx.ts:3786
language?stringThe language for which the font features were selected.generated/jsx.ts:3788
level?Gtk.FontChooserLevelThe level of granularity to offer for selecting fonts.generated/jsx.ts:3790
onFontActivated?(fontname, self) => void | nullEmitted 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:3802
previewText?stringThe string with which to preview the font.generated/jsx.ts:3792
ref?Ref<Gtk.FontChooserWidget>-generated/jsx.ts:3803
showPreviewEntry?booleanWhether to show an entry to change the preview text.generated/jsx.ts:3794