Class FlowBox
- All Implemented Interfaces:
Accessible,Buildable,ConstraintTarget,Orientable,Proxy
For instance, with the horizontal orientation, the widgets will be arranged from left to right, starting a new row under the previous row when necessary. Reducing the width in this case will require more rows, so a larger height will be requested.
Likewise, with the vertical orientation, the widgets will be arranged from top to bottom, starting a new column to the right when necessary. Reducing the height will require more columns, so a larger width will be requested.
The size request of a GtkFlowBox alone may not be what you expect;
if you need to be able to shrink it along both axes and dynamically
reflow its children, you may have to wrap it in a GtkScrolledWindow
to enable that.
The children of a GtkFlowBox can be dynamically sorted and filtered.
Although a GtkFlowBox must have only GtkFlowBoxChild children, you
can add any kind of widget to it via insert(org.gnome.gtk.Widget, int), and a
GtkFlowBoxChild widget will automatically be inserted between the box
and the widget.
Also see ListBox.
Shortcuts and Gestures
The following signals have default keybindings:
Gtk.FlowBox::move-cursorGtk.FlowBox::select-allGtk.FlowBox::toggle-cursor-childGtk.FlowBox::unselect-all
CSS nodes
flowbox
├── flowboxchild
│ ╰── <child>
├── flowboxchild
│ ╰── <child>
┊
╰── [rubberband]
GtkFlowBox uses a single CSS node with name flowbox. GtkFlowBoxChild
uses a single CSS node with name flowboxchild. For rubberband selection,
a subnode with name rubberband is used.
Accessibility
GtkFlowBox uses the Gtk.AccessibleRole.grid role, and GtkFlowBoxChild
uses the Gtk.AccessibleRole.grid_cell role.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceFunctional interface declaration of theActivateCursorChildCallbackcallback.static classFlowBox.Builder<B extends FlowBox.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.static interfaceFunctional interface declaration of theChildActivatedCallbackcallback.static interfaceFunctional interface declaration of theMoveCursorCallbackcallback.static interfaceFunctional interface declaration of theSelectAllCallbackcallback.static interfaceFunctional interface declaration of theSelectedChildrenChangedCallbackcallback.static interfaceFunctional interface declaration of theToggleCursorChildCallbackcallback.static interfaceFunctional interface declaration of theUnselectAllCallbackcallback.Nested classes/interfaces inherited from class org.gnome.gtk.Widget
Widget.DestroyCallback, Widget.DirectionChangedCallback, Widget.HideCallback, Widget.KeynavFailedCallback, Widget.MapCallback, Widget.MnemonicActivateCallback, Widget.MoveFocusCallback, Widget.QueryTooltipCallback, Widget.RealizeCallback, Widget.ShowCallback, Widget.StateFlagsChangedCallback, Widget.UnmapCallback, Widget.UnrealizeCallback, Widget.Widget$Impl, Widget.WidgetClassNested classes/interfaces inherited from class org.gnome.gobject.InitiallyUnowned
InitiallyUnowned.InitiallyUnownedClassNested classes/interfaces inherited from class org.gnome.gobject.GObject
GObject.NotifyCallback, GObject.ObjectClassNested classes/interfaces inherited from interface org.gnome.gtk.Accessible
Accessible.Accessible$Impl, Accessible.AccessibleInterfaceNested classes/interfaces inherited from interface org.gnome.gtk.Buildable
Buildable.Buildable$Impl, Buildable.BuildableIfaceNested classes/interfaces inherited from interface org.gnome.gtk.ConstraintTarget
ConstraintTarget.ConstraintTarget$Impl, ConstraintTarget.ConstraintTargetInterfaceNested classes/interfaces inherited from interface org.gnome.gtk.Orientable
Orientable.Orientable$Impl, Orientable.OrientableIface -
Constructor Summary
ConstructorsConstructorDescriptionFlowBox()Creates a new FlowBox.FlowBox(MemorySegment address) Create a FlowBox proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionvoidAddschildto the end ofself.protected FlowBoxasParent()Returns this instance as if it were its parent type.voidbindModel(@Nullable ListModel model, @Nullable FlowBoxCreateWidgetFunc createWidgetFunc) Bindsmodeltobox.static FlowBox.Builder<? extends FlowBox.Builder> builder()AFlowBox.Builderobject constructs aFlowBoxwith the specified properties.voidEmits the "activate-cursor-child" signal.voidemitChildActivated(@Nullable FlowBoxChild child) Emits the "child-activated" signal.booleanemitMoveCursor(MovementStep step, int count, boolean extend, boolean modify) Emits the "move-cursor" signal.voidEmits the "select-all" signal.voidEmits the "selected-children-changed" signal.voidEmits the "toggle-cursor-child" signal.voidEmits the "unselect-all" signal.booleanReturns whether children activate on single clicks.@Nullable FlowBoxChildgetChildAtIndex(int idx) Gets the nth child in thebox.@Nullable FlowBoxChildgetChildAtPos(int x, int y) Gets the child in the (x,y)position.intGets the horizontal spacing.booleanReturns whether the box is homogeneous.intGets the maximum number of children per line.intGets the minimum number of children per line.intGets the vertical spacing.Creates a list of all selected children.Gets the selection mode ofbox.static @Nullable TypegetType()Get the GType of the FlowBox classvoidInserts thewidgetinto this FlowBox atposition.voidUpdates the filtering for all children.voidUpdates the sorting for all children.Emitted when the user activates thebox.Emitted when a child has been activated by the user.onMoveCursor(FlowBox.MoveCursorCallback handler) Emitted when the user initiates a cursor movement.onSelectAll(FlowBox.SelectAllCallback handler) Emitted to select all children of the box, if the selection mode permits it.Emitted when the set of selected children changes.Emitted to toggle the selection of the child that has the focus.onUnselectAll(FlowBox.UnselectAllCallback handler) Emitted to unselect all children of the box, if the selection mode permits it.voidAddschildto the start ofself.voidRemoves a child frombox.voidRemoves all children frombox.voidSelect all children ofbox,if the selection mode allows it.voidselectChild(FlowBoxChild child) Selects a single child ofbox,if the selection mode allows it.voidselectedForeach(@Nullable FlowBoxForeachFunc func) Calls a function for each selected child.voidsetActivateOnSingleClick(boolean single) Ifsingleistrue, children will be activated when you click on them, otherwise you need to double-click.voidsetColumnSpacing(int spacing) Sets the horizontal space to add between children.voidsetFilterFunc(@Nullable FlowBoxFilterFunc filterFunc) By setting a filter function on the this FlowBox one can decide dynamically which of the children to show.voidsetHadjustment(Adjustment adjustment) Hooks up an adjustment to focus handling inbox.voidsetHomogeneous(boolean homogeneous) Sets whether or not all children of this FlowBox are given equal space in the box.voidsetMaxChildrenPerLine(int nChildren) Sets the maximum number of children to request and allocate space for inbox’sorientation.voidsetMinChildrenPerLine(int nChildren) Sets the minimum number of children to line up inbox’sorientation before flowing.voidsetRowSpacing(int spacing) Sets the vertical space to add between children.voidSets how selection works inbox.voidsetSortFunc(@Nullable FlowBoxSortFunc sortFunc) By setting a sort function on thebox,one can dynamically reorder the children of the box, based on the contents of the children.voidsetVadjustment(Adjustment adjustment) Hooks up an adjustment to focus handling inbox.voidUnselect all children ofbox,if the selection mode allows it.voidunselectChild(FlowBoxChild child) Unselects a single child ofbox,if the selection mode allows it.Methods inherited from class org.gnome.gtk.Widget
actionSetEnabled, activateActionIfExists, activateDefault, activateWidget, addController, addCssClass, addMnemonicLabel, addTickCallback, allocate, childFocus, computeBounds, computeExpand, computeExpand, computePoint, computeTransform, contains, createPangoContext, createPangoLayout, cssChanged, directionChanged, disposeTemplate, dragCheckThreshold, emitDestroy, emitDirectionChanged, emitHide, emitKeynavFailed, emitMap, emitMnemonicActivate, emitMoveFocus, emitQueryTooltip, emitRealize, emitShow, emitStateFlagsChanged, emitUnmap, emitUnrealize, errorBell, focus, getAllocatedBaseline, getAllocatedHeight, getAllocatedWidth, getAllocation, getAncestor, getBaseline, getCanFocus, getCanTarget, getChildVisible, getClipboard, getColor, getCssClasses, getCssName, getCursor, getDefaultDirection, getDirection, getDisplay, getFirstChild, getFocusable, getFocusChild, getFocusOnClick, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHeight, getHexpand, getHexpandSet, getLastChild, getLayoutManager, getLimitEvents, getMapped, getMarginBottom, getMarginEnd, getMarginStart, getMarginTop, getMemoryLayout, getName, getNative, getNextSibling, getOpacity, getOverflow, getPangoContext, getParent, getPreferredSize, getPrevSibling, getPrimaryClipboard, getRealized, getReceivesDefault, getRequestMode, getRoot, getScaleFactor, getSensitive, getSettings, getSize, getSizeRequest, getStateFlags, getStyleContext, getTemplateChild, getTooltipMarkup, getTooltipText, getValign, getVexpand, getVexpandSet, getVisible, getWidth, grabFocus, hasCssClass, hasDefault, hasFocus, hasVisibleFocus, hide, inDestruction, initTemplate, insertActionGroup, insertAfter, insertBefore, isAncestor, isDrawable, isFocus, isSensitive, isVisible, keynavFailed, listMnemonicLabels, map, measure, mnemonicActivate, moveFocus, observeChildren, observeControllers, onDestroy, onDirectionChanged, onHide, onKeynavFailed, onMap, onMnemonicActivate, onMoveFocus, onQueryTooltip, onRealize, onShow, onStateFlagsChanged, onUnmap, onUnrealize, pick, pick, queryTooltip, queueAllocate, queueDraw, queueResize, realize, removeController, removeCssClass, removeMnemonicLabel, removeTickCallback, root, setCanFocus, setCanTarget, setChildVisible, setCssClasses, setCursor, setCursorFromName, setDefaultDirection, setDirection, setFocusable, setFocusChild, setFocusOnClick, setFontMap, setFontOptions, setHalign, setHasTooltip, setHexpand, setHexpandSet, setLayoutManager, setLimitEvents, setMarginBottom, setMarginEnd, setMarginStart, setMarginTop, setName, setOpacity, setOverflow, setParent, setReceivesDefault, setSensitive, setSizeRequest, setStateFlags, setStateFlags, setTooltipMarkup, setTooltipText, setValign, setVexpand, setVexpandSet, setVisible, shouldLayout, show, sizeAllocate, sizeAllocate, snapshot, snapshotChild, stateFlagsChanged, systemSettingChanged, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unroot, unsetStateFlags, unsetStateFlagsMethods inherited from class org.gnome.gobject.GObject
addToggleRef, addWeakPointer, bindProperty, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, connect, constructed, disconnect, dispatchPropertiesChanged, dispose, dupData, dupQdata, emit, emitNotify, finalize_, forceFloating, freezeNotify, get, getData, getProperty, getProperty, getProperty, getQdata, getv, interfaceFindProperty, interfaceInstallProperty, interfaceListProperties, isFloating, newInstance, newInstance, newv, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, removeWeakPointer, replaceData, replaceQdata, runDispose, set, setData, setDataFull, setProperty, setProperty, setProperty, setQdata, setQdataFull, setv, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnref, withPropertiesMethods inherited from class org.gnome.gobject.TypeInstance
callParent, callParent, cast, getPrivate, readGClass, writeGClassMethods inherited from class org.javagi.base.ProxyInstance
equals, handle, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gnome.gtk.Accessible
announce, getAccessibleParent, getAccessibleRole, getAtContext, getBounds, getFirstAccessibleChild, getNextAccessibleSibling, getPlatformState, resetProperty, resetRelation, resetState, setAccessibleParent, updateNextAccessibleSibling, updatePlatformState, updateProperty, updateRelation, updateStateMethods inherited from interface org.gnome.gtk.Buildable
getBuildableIdMethods inherited from interface org.gnome.gtk.Orientable
getOrientation, setOrientation
-
Constructor Details
-
FlowBox
Create a FlowBox proxy instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
FlowBox
public FlowBox()Creates a new FlowBox.
-
-
Method Details
-
getType
-
asParent
Returns this instance as if it were its parent type. This is mostly synonymous to the Javasuperkeyword, but will set the native typeclass function pointers to the parent type. When overriding a native virtual method in Java, "chaining up" withsuper.methodName()doesn't work, because it invokes the overridden function pointer again. To chain up, callasParent().methodName(). This will call the native function pointer of this virtual method in the typeclass of the parent type. -
append
Addschildto the end ofself.If a sort function is set, the widget will actually be inserted at the calculated position.
See also:
insert(org.gnome.gtk.Widget, int).- Parameters:
child- theGtkWidgetto add- Since:
- 4.6
-
bindModel
public void bindModel(@Nullable ListModel model, @Nullable FlowBoxCreateWidgetFunc createWidgetFunc) Bindsmodeltobox.If this FlowBox was already bound to a model, that previous binding is destroyed.
The contents of this FlowBox are cleared and then filled with widgets that represent items from
model.this FlowBox is updated whenevermodelchanges. Ifmodelisnull, this FlowBox is left empty.It is undefined to add or remove widgets directly (for example, with
insert(org.gnome.gtk.Widget, int)) while this FlowBox is bound to a model.Note that using a model is incompatible with the filtering and sorting functionality in
GtkFlowBox. When using a model, filtering and sorting should be implemented by the model.- Parameters:
model- theGListModelto be bound to this FlowBoxcreateWidgetFunc- a function that creates widgets for items
-
getActivateOnSingleClick
public boolean getActivateOnSingleClick()Returns whether children activate on single clicks.- Returns:
trueif children are activated on single click,falseotherwise
-
getChildAtIndex
Gets the nth child in thebox.- Parameters:
idx- the position of the child- Returns:
- the child widget, which will
always be a
GtkFlowBoxChildornullin case no child widget with the given index exists.
-
getChildAtPos
Gets the child in the (x,y)position.Both
xandyare assumed to be relative to the origin ofbox.- Parameters:
x- the x coordinate of the childy- the y coordinate of the child- Returns:
- the child widget, which will
always be a
GtkFlowBoxChildornullin case no child widget exists for the given x and y coordinates.
-
getColumnSpacing
public int getColumnSpacing()Gets the horizontal spacing.- Returns:
- the horizontal spacing
-
getHomogeneous
public boolean getHomogeneous()Returns whether the box is homogeneous.- Returns:
trueif the box is homogeneous.
-
getMaxChildrenPerLine
public int getMaxChildrenPerLine()Gets the maximum number of children per line.- Returns:
- the maximum number of children per line
-
getMinChildrenPerLine
public int getMinChildrenPerLine()Gets the minimum number of children per line.- Returns:
- the minimum number of children per line
-
getRowSpacing
public int getRowSpacing()Gets the vertical spacing.- Returns:
- the vertical spacing
-
getSelectedChildren
Creates a list of all selected children.- Returns:
- A
GListcontaining theGtkWidgetfor each selected child. Free with g_list_free() when done.
-
getSelectionMode
Gets the selection mode ofbox.- Returns:
- the
GtkSelectionMode
-
insert
Inserts thewidgetinto this FlowBox atposition.If a sort function is set, the widget will actually be inserted at the calculated position.
If
positionis -1, or larger than the total number of children in thebox,then thewidgetwill be appended to the end.- Parameters:
widget- theGtkWidgetto addposition- the position to insertchildin
-
invalidateFilter
public void invalidateFilter()Updates the filtering for all children.Call this function when the result of the filter function on the this FlowBox is changed due to an external factor. For instance, this would be used if the filter function just looked for a specific search term, and the entry with the string has changed.
-
invalidateSort
public void invalidateSort()Updates the sorting for all children.Call this when the result of the sort function on this FlowBox is changed due to an external factor.
-
prepend
Addschildto the start ofself.If a sort function is set, the widget will actually be inserted at the calculated position.
See also:
insert(org.gnome.gtk.Widget, int).- Parameters:
child- theGtkWidgetto add- Since:
- 4.6
-
remove
Removes a child frombox.- Parameters:
widget- the child widget to remove
-
removeAll
public void removeAll()Removes all children frombox.This function does nothing if this FlowBox is backed by a model.
- Since:
- 4.12
-
selectAll
public void selectAll()Select all children ofbox,if the selection mode allows it. -
selectChild
Selects a single child ofbox,if the selection mode allows it.- Parameters:
child- a child of this FlowBox
-
selectedForeach
Calls a function for each selected child.Note that the selection cannot be modified from within this function.
- Parameters:
func- the function to call for each selected child
-
setActivateOnSingleClick
public void setActivateOnSingleClick(boolean single) Ifsingleistrue, children will be activated when you click on them, otherwise you need to double-click.- Parameters:
single-trueto emit child-activated on a single click
-
setColumnSpacing
public void setColumnSpacing(int spacing) Sets the horizontal space to add between children.- Parameters:
spacing- the spacing to use
-
setFilterFunc
By setting a filter function on the this FlowBox one can decide dynamically which of the children to show.For instance, to implement a search function that only shows the children matching the search terms.
The
filterFuncwill be called for each child after the call, and it will continue to be called each time a child changes (viaFlowBoxChild.changed()) or wheninvalidateFilter()is called.Note that using a filter function is incompatible with using a model (see
bindModel(org.gnome.gio.ListModel, org.gnome.gtk.FlowBoxCreateWidgetFunc)).- Parameters:
filterFunc- callback that lets you filter which children to show
-
setHadjustment
Hooks up an adjustment to focus handling inbox.The adjustment is also used for autoscrolling during rubberband selection. See
ScrolledWindow.getHadjustment()for a typical way of obtaining the adjustment, andsetVadjustment(org.gnome.gtk.Adjustment)for setting the vertical adjustment.The adjustments have to be in pixel units and in the same coordinate system as the allocation for immediate children of the box.
- Parameters:
adjustment- an adjustment which should be adjusted when the focus is moved among the descendents ofcontainer
-
setHomogeneous
public void setHomogeneous(boolean homogeneous) Sets whether or not all children of this FlowBox are given equal space in the box.- Parameters:
homogeneous-trueto create equal allotments,falsefor variable allotments
-
setMaxChildrenPerLine
public void setMaxChildrenPerLine(int nChildren) Sets the maximum number of children to request and allocate space for inbox’sorientation.Setting the maximum number of children per line limits the overall natural size request to be no more than
nChildrenchildren long in the given orientation.- Parameters:
nChildren- the maximum number of children per line
-
setMinChildrenPerLine
public void setMinChildrenPerLine(int nChildren) Sets the minimum number of children to line up inbox’sorientation before flowing.- Parameters:
nChildren- the minimum number of children per line
-
setRowSpacing
public void setRowSpacing(int spacing) Sets the vertical space to add between children.- Parameters:
spacing- the spacing to use
-
setSelectionMode
Sets how selection works inbox.- Parameters:
mode- the new selection mode
-
setSortFunc
By setting a sort function on thebox,one can dynamically reorder the children of the box, based on the contents of the children.The
sortFuncwill be called for each child after the call, and will continue to be called each time a child changes (viaFlowBoxChild.changed()) and wheninvalidateSort()is called.Note that using a sort function is incompatible with using a model (see
bindModel(org.gnome.gio.ListModel, org.gnome.gtk.FlowBoxCreateWidgetFunc)).- Parameters:
sortFunc- the sort function
-
setVadjustment
Hooks up an adjustment to focus handling inbox.The adjustment is also used for autoscrolling during rubberband selection. See
ScrolledWindow.getVadjustment()for a typical way of obtaining the adjustment, andsetHadjustment(org.gnome.gtk.Adjustment)for setting the horizontal adjustment.The adjustments have to be in pixel units and in the same coordinate system as the allocation for immediate children of the box.
- Parameters:
adjustment- an adjustment which should be adjusted when the focus is moved among the descendents ofcontainer
-
unselectAll
public void unselectAll()Unselect all children ofbox,if the selection mode allows it. -
unselectChild
Unselects a single child ofbox,if the selection mode allows it.- Parameters:
child- a child of this FlowBox
-
onActivateCursorChild
public SignalConnection<FlowBox.ActivateCursorChildCallback> onActivateCursorChild(FlowBox.ActivateCursorChildCallback handler) Emitted when the user activates thebox.This is a keybinding signal.
- Parameters:
handler- the signal handler- Returns:
- a signal handler ID to keep track of the signal connection
- See Also:
-
emitActivateCursorChild
public void emitActivateCursorChild()Emits the "activate-cursor-child" signal. SeeonActivateCursorChild(org.gnome.gtk.FlowBox.ActivateCursorChildCallback). -
onChildActivated
public SignalConnection<FlowBox.ChildActivatedCallback> onChildActivated(FlowBox.ChildActivatedCallback handler) Emitted when a child has been activated by the user.- Parameters:
handler- the signal handler- Returns:
- a signal handler ID to keep track of the signal connection
- See Also:
-
emitChildActivated
Emits the "child-activated" signal. SeeonChildActivated(org.gnome.gtk.FlowBox.ChildActivatedCallback). -
onMoveCursor
public SignalConnection<FlowBox.MoveCursorCallback> onMoveCursor(FlowBox.MoveCursorCallback handler) 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 childrenHome,Endmove to the ends of the boxPgUp,PgDnmove vertically by pages
- Parameters:
handler- the signal handler- Returns:
- a signal handler ID to keep track of the signal connection
- See Also:
-
emitMoveCursor
Emits the "move-cursor" signal. SeeonMoveCursor(org.gnome.gtk.FlowBox.MoveCursorCallback). -
onSelectAll
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.- Parameters:
handler- the signal handler- Returns:
- a signal handler ID to keep track of the signal connection
- See Also:
-
emitSelectAll
public void emitSelectAll()Emits the "select-all" signal. SeeonSelectAll(org.gnome.gtk.FlowBox.SelectAllCallback). -
onSelectedChildrenChanged
public SignalConnection<FlowBox.SelectedChildrenChangedCallback> onSelectedChildrenChanged(FlowBox.SelectedChildrenChangedCallback handler) Emitted when the set of selected children changes.Use
selectedForeach(org.gnome.gtk.FlowBoxForeachFunc)orgetSelectedChildren()to obtain the selected children.- Parameters:
handler- the signal handler- Returns:
- a signal handler ID to keep track of the signal connection
- See Also:
-
emitSelectedChildrenChanged
public void emitSelectedChildrenChanged()Emits the "selected-children-changed" signal. SeeonSelectedChildrenChanged(org.gnome.gtk.FlowBox.SelectedChildrenChangedCallback). -
onToggleCursorChild
public SignalConnection<FlowBox.ToggleCursorChildCallback> onToggleCursorChild(FlowBox.ToggleCursorChildCallback handler) 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.- Parameters:
handler- the signal handler- Returns:
- a signal handler ID to keep track of the signal connection
- See Also:
-
emitToggleCursorChild
public void emitToggleCursorChild()Emits the "toggle-cursor-child" signal. SeeonToggleCursorChild(org.gnome.gtk.FlowBox.ToggleCursorChildCallback). -
onUnselectAll
public SignalConnection<FlowBox.UnselectAllCallback> onUnselectAll(FlowBox.UnselectAllCallback handler) 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.- Parameters:
handler- the signal handler- Returns:
- a signal handler ID to keep track of the signal connection
- See Also:
-
emitUnselectAll
public void emitUnselectAll()Emits the "unselect-all" signal. SeeonUnselectAll(org.gnome.gtk.FlowBox.UnselectAllCallback). -
builder
AFlowBox.Builderobject constructs aFlowBoxwith the specified properties. Use the variousset...()methods to set properties, and finish construction withFlowBox.Builder.build().- Returns:
- the builder object
-