Skip to main content

Type Alias: GtkExpanderProps

GtkExpanderProps = WidgetProps & object

Defined in: generated/jsx.ts:3969

Props for the GtkExpander widget.

Type Declaration

NameTypeDescriptionDefined in
child?Gtk.Widget | nullThe child widget.generated/jsx.ts:3971
children?ReactNode-generated/jsx.ts:3989
expanded?booleanWhether the expander has been opened to reveal the child.generated/jsx.ts:3973
label?string | nullThe text of the expanders label.generated/jsx.ts:3975
labelWidget?Gtk.Widget | nullA widget to display instead of the usual expander label.generated/jsx.ts:3977
onActivate()?(self) => void | nullActivates the GtkExpander.generated/jsx.ts:3988
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:3995
ref?Ref<Gtk.Expander>-generated/jsx.ts:4008
resizeToplevel?booleanWhen this property is %TRUE, the expander will resize the toplevel widget containing the expander upon expanding and collapsing.generated/jsx.ts:3982
useMarkup?booleanWhether the text in the label is Pango markup.generated/jsx.ts:3984
useUnderline?booleanWhether an underline in the text indicates a mnemonic.generated/jsx.ts:3986