Skip to main content

Type Alias: GtkFlowBoxProps

GtkFlowBoxProps = WidgetProps & object

Defined in: generated/jsx.ts:4395

Props for the GtkFlowBox widget.

Type Declaration

NameTypeDescriptionDefined in
acceptUnpairedRelease?booleanWhether to accept unpaired release events.generated/jsx.ts:4397
activateOnSingleClick?booleanDetermines 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?numberThe amount of horizontal space between two children.generated/jsx.ts:4404
homogeneous?booleanDetermines whether all children should be allocated the same size.generated/jsx.ts:4409
maxChildrenPerLine?numberThe maximum amount of children to request space for consecutively in the given orientation.generated/jsx.ts:4414
minChildrenPerLine?numberThe 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 | nullEmitted when the user activates the box. This is a keybinding signal.generated/jsx.ts:4435
onChildActivated()?(self, child) => void | nullEmitted when a child has been activated by the user.generated/jsx.ts:4437
onMoveCursor()?(self, step, count, extend, modify) => boolean | nullEmitted 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 pagesgenerated/jsx.ts:4456
onNotify?(self, propName) => void | nullCalled 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 | nullEmitted 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 | nullEmitted 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 | nullEmitted 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 | nullEmitted 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.OrientationThe orientation of the orientable.generated/jsx.ts:4429
ref?Ref<Gtk.FlowBox>-generated/jsx.ts:4518
rowSpacing?numberThe amount of vertical space between two children.generated/jsx.ts:4425
selectionMode?Gtk.SelectionModeThe selection mode used by the flow box.generated/jsx.ts:4427