Type Alias: GtkFlowBoxProps
GtkFlowBoxProps =
WidgetProps&object
Defined in: generated/jsx.ts:4395
Props for the GtkFlowBox widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
acceptUnpairedRelease? | boolean | Whether to accept unpaired release events. | generated/jsx.ts:4397 |
activateOnSingleClick? | boolean | Determines whether children can be activated with a single click, or require a double-click. | generated/jsx.ts:4402 |
children? | ReactNode | - | generated/jsx.ts:4497 |
columnSpacing? | number | The amount of horizontal space between two children. | generated/jsx.ts:4404 |
homogeneous? | boolean | Determines whether all children should be allocated the same size. | generated/jsx.ts:4409 |
maxChildrenPerLine? | number | The maximum amount of children to request space for consecutively in the given orientation. | generated/jsx.ts:4414 |
minChildrenPerLine? | number | The minimum number of children to allocate consecutively in the given orientation. Setting the minimum children per line ensures that a reasonably small height will be requested for the overall minimum width of the box. | generated/jsx.ts:4423 |
onActivateCursorChild()? | (self) => void | null | Emitted when the user activates the box. This is a keybinding signal. | generated/jsx.ts:4435 |
onChildActivated()? | (self, child) => void | null | Emitted when a child has been activated by the user. | generated/jsx.ts:4437 |
onMoveCursor()? | (self, step, count, extend, modify) => boolean | null | Emitted when the user initiates a cursor movement. This is a keybinding signal. Applications should not connect to it, but may emit it with g_signal_emit_by_name() if they need to control the cursor programmatically. The default bindings for this signal come in two variants, the variant with the Shift modifier extends the selection, the variant without the Shift modifier does not. There are too many key combinations to list them all here. - ←, →, ↑, ↓ move by individual children - Home, End move to the ends of the box - PgUp, PgDn move vertically by pages | generated/jsx.ts:4456 |
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:4503 |
onSelectAll()? | (self) => void | null | Emitted to select all children of the box, if the selection mode permits it. This is a keybinding signal. The default bindings for this signal is Ctrl-a. | generated/jsx.ts:4471 |
onSelectedChildrenChanged()? | (self) => void | null | Emitted when the set of selected children changes. Use FlowBox.selected_foreach or FlowBox.get_selected_children to obtain the selected children. | generated/jsx.ts:4479 |
onToggleCursorChild()? | (self) => void | null | Emitted to toggle the selection of the child that has the focus. This is a keybinding signal. The default binding for this signal is Ctrl-Space. | generated/jsx.ts:4487 |
onUnselectAll()? | (self) => void | null | Emitted to unselect all children of the box, if the selection mode permits it. This is a keybinding signal. The default bindings for this signal is Ctrl-Shift-a. | generated/jsx.ts:4496 |
orientation? | Gtk.Orientation | The orientation of the orientable. | generated/jsx.ts:4429 |
ref? | Ref<Gtk.FlowBox> | - | generated/jsx.ts:4518 |
rowSpacing? | number | The amount of vertical space between two children. | generated/jsx.ts:4425 |
selectionMode? | Gtk.SelectionMode | The selection mode used by the flow box. | generated/jsx.ts:4427 |