Type Alias: GtkBoxProps
GtkBoxProps =
WidgetProps&object
Defined in: generated/jsx.ts:2003
Props for the GtkBox widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
baselineChild? | number | The position of the child that determines the baseline. This is only relevant if the box is in vertical orientation. | generated/jsx.ts:2009 |
baselinePosition? | Gtk.BaselinePosition | How to position baseline-aligned widgets if extra space is available. | generated/jsx.ts:2011 |
children? | ReactNode | - | generated/jsx.ts:2018 |
homogeneous? | boolean | Whether the children should all be the same size. | generated/jsx.ts:2013 |
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:2024 |
orientation? | Gtk.Orientation | The orientation of the orientable. | generated/jsx.ts:2017 |
ref? | Ref<Gtk.Box> | - | generated/jsx.ts:2030 |
spacing? | number | The amount of space between children. | generated/jsx.ts:2015 |