Type Alias: GtkExpanderProps
GtkExpanderProps =
WidgetProps&object
Defined in: generated/jsx.ts:3969
Props for the GtkExpander widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
child? | Gtk.Widget | null | The child widget. | generated/jsx.ts:3971 |
children? | ReactNode | - | generated/jsx.ts:3989 |
expanded? | boolean | Whether the expander has been opened to reveal the child. | generated/jsx.ts:3973 |
label? | string | null | The text of the expanders label. | generated/jsx.ts:3975 |
labelWidget? | Gtk.Widget | null | A widget to display instead of the usual expander label. | generated/jsx.ts:3977 |
onActivate()? | (self) => void | null | Activates the GtkExpander. | generated/jsx.ts:3988 |
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:3995 |
ref? | Ref<Gtk.Expander> | - | generated/jsx.ts:4008 |
resizeToplevel? | boolean | When this property is %TRUE, the expander will resize the toplevel widget containing the expander upon expanding and collapsing. | generated/jsx.ts:3982 |
useMarkup? | boolean | Whether the text in the label is Pango markup. | generated/jsx.ts:3984 |
useUnderline? | boolean | Whether an underline in the text indicates a mnemonic. | generated/jsx.ts:3986 |