Type Alias: GtkTreeExpanderProps
GtkTreeExpanderProps =
WidgetProps&object
Defined in: generated/jsx.ts:8809
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:8811 |
children? | ReactNode | - | generated/jsx.ts:8827 |
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:8820 |
indentForDepth? | boolean | TreeExpander indents the child according to its depth. | generated/jsx.ts:8822 |
indentForIcon? | boolean | TreeExpander indents the child by the width of an expander-icon if it is not expandable. | generated/jsx.ts:8824 |
listRow? | Gtk.TreeListRow | null | The list row to track for expander state. | generated/jsx.ts:8826 |
ref? | Ref<Gtk.TreeExpander> | - | generated/jsx.ts:8828 |