Skip to main content

Type Alias: GtkExpanderProps

GtkExpanderProps = WidgetProps & object

Defined in: generated/jsx.ts:3247

Props for the GtkExpander widget.

Type Declaration

NameTypeDescriptionDefined in
child?Gtk.Widget | nullThe child widget.generated/jsx.ts:3249
children?ReactNode-generated/jsx.ts:3267
expanded?booleanWhether the expander has been opened to reveal the child.generated/jsx.ts:3251
label?string | nullThe text of the expanders label.generated/jsx.ts:3253
labelWidget?Gtk.Widget | nullA widget to display instead of the usual expander label.generated/jsx.ts:3255
onActivate?(self) => void | nullActivates the GtkExpander.generated/jsx.ts:3266
ref?Ref<Gtk.Expander>-generated/jsx.ts:3268
resizeToplevel?booleanWhen this property is %TRUE, the expander will resize the toplevel widget containing the expander upon expanding and collapsing.generated/jsx.ts:3260
useMarkup?booleanWhether the text in the label is Pango markup.generated/jsx.ts:3262
useUnderline?booleanWhether an underline in the text indicates a mnemonic.generated/jsx.ts:3264