Skip to main content

Type Alias: GtkFlowBoxProps

GtkFlowBoxProps = WidgetProps & object

Defined in: generated/jsx.ts:3586

Props for the GtkFlowBox widget.

Type Declaration

NameTypeDescriptionDefined in
acceptUnpairedRelease?booleanWhether to accept unpaired release events.generated/jsx.ts:3588
activateOnSingleClick?booleanDetermines whether children can be activated with a single click, or require a double-click.generated/jsx.ts:3593
children?ReactNode-generated/jsx.ts:3684
columnSpacing?numberThe amount of horizontal space between two children.generated/jsx.ts:3595
homogeneous?booleanDetermines whether all children should be allocated the same size.generated/jsx.ts:3600
maxChildrenPerLine?numberThe maximum amount of children to request space for consecutively in the given orientation.generated/jsx.ts:3605
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:3614
onActivateCursorChild?(self) => void | nullEmitted when the user activates the box. This is a keybinding signal.generated/jsx.ts:3626
onChildActivated?(child, self) => void | nullEmitted when a child has been activated by the user.generated/jsx.ts:3628
onMoveCursor?(step, count, extend, modify, self) => 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:3647
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:3658
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:3666
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:3674
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:3683
orientation?Gtk.OrientationThe orientation of the orientable.generated/jsx.ts:3620
ref?Ref<Gtk.FlowBox>-generated/jsx.ts:3685
rowSpacing?numberThe amount of vertical space between two children.generated/jsx.ts:3616
selectionMode?Gtk.SelectionModeThe selection mode used by the flow box.generated/jsx.ts:3618