Basics
Guides
API Reference
Basics
Guides
API Reference
[329:14] static extends: object
Generated metadata helpers for FlowBoxChild class surfaces.
properties ()
Returns property metadata for
FlowBoxChild.
A list.signals ()
Returns signal metadata for
FlowBoxChild.
A list.[13:7] extends: object
The kind of widget that can be added to a GtkFlowBox. [class@Gtk.FlowBox]
will automatically wrap its children in a GtkFlowBoxChild when necessary.
FlowBoxChild ()
Creates a new
GtkFlowBoxChild. This should only be used as a child of aGtkFlowBox.
toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asWidget ()
Wraps this handle as
Widget.
A Widget object.asAccessible ()
Wraps this handle as
Accessible.
A Accessible object.asBuildable ()
Wraps this handle as
Buildable.
A Buildable object.asConstraintTarget ()
Wraps this handle as
ConstraintTarget.
A ConstraintTarget object.connectSignal (string Name, CallbackObj)
Connects one generated callback wrapper to a named signal.
Name is the signal name.CallbackObj is the generated callback wrapper to connect.The connected handler id.disconnectSignalHandler (int HandlerId)
Disconnects one retained signal handler id.
HandlerId is the signal handler id to disconnect.None.setOnActivate (callback Fn, UserData = null)
Emitted when the user activates a child widget in a
GtkFlowBox. This can happen either by clicking or double-clicking, or via a keybinding. This is a keybinding signal, but it can be used by applications for their own purposes. The default bindings are Space and Enter.
Fn is the Aussom callback.Fn is called with (FlowBoxChild Self).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.getProperty (string Name)
Reads one generated property by name.
setProperty (string Name, Value)
Writes one generated property by name.
setChild (object Value)
The child widget.
Value is the new property value.None.changed ()
Marks @child as changed, causing any state that depends on this to be updated. This affects sorting and filtering. Note that calls to this method must be in sync with the data used for the sorting and filtering functions. For instance, if the list is mirroring some external data set, and two children changed in the external data set when you call gtk_flow_box_child_changed() on the first child, the sort function must only read the new data for the first of the two changed children, otherwise the resorting of the children will be wrong. This generally means that if you don’t fully control the data model, you have to duplicate the data that affects the sorting and filtering functions into the widgets themselves. Another alternative is to call [method@Gtk.FlowBox.invalidate_sort] on any model change, but that is more expensive.
None.get_child ()
Gets the child widget of @self.
get_index ()
Gets the current index of the @child in its
GtkFlowBoxcontainer.
is_selected ()
Returns whether the @child is currently selected in its
GtkFlowBoxcontainer.
set_child (object child)
Sets the child widget of @self.
child is the child widget.None.[259:7] extends: object
Generated low-level callback wrapper for GIR callback activate.
FlowBoxChildActivateCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.

Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.