Type Alias: GtkTreeExpanderProps
GtkTreeExpanderProps =
WidgetProps&object
Defined in: generated/jsx.ts:10825
Props for the GtkTreeExpander widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
child? | Gtk.Widget | null | The child widget with the actual contents. | generated/jsx.ts:10827 |
children? | ReactNode | - | generated/jsx.ts:10843 |
hideExpander? | boolean | Whether the expander icon should be hidden in a GtkTreeListRow. Note that this property simply hides the icon. The actions and keybinding (i.e. collapse and expand) are not affected by this property. A common use for this property would be to bind to the number of children in a GtkTreeListRow's model in order to hide the expander when a row has no children. | generated/jsx.ts:10836 |
indentForDepth? | boolean | TreeExpander indents the child according to its depth. | generated/jsx.ts:10838 |
indentForIcon? | boolean | TreeExpander indents the child by the width of an expander-icon if it is not expandable. | generated/jsx.ts:10840 |
listRow? | Gtk.TreeListRow | null | The list row to track for expander state. | generated/jsx.ts:10842 |
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:10849 |
ref? | Ref<Gtk.TreeExpander> | - | generated/jsx.ts:10855 |