Basics
Guides
API Reference
Basics
Guides
API Reference
[14:7] extends: object
A list model that concatenates other list models. GtkFlattenListModel takes
a list model containing list models, and flattens it into a single model.
Each list model becomes a section in the single model.
FlattenListModel (model = null)
Creates a new
GtkFlattenListModelthat flattens @list.
model is the model to be flattened.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.asObject ()
Wraps this handle as
Object.
A Object object.asListModel ()
Wraps this handle as
ListModel.
A ListModel object.asSectionModel ()
Wraps this handle as
SectionModel.
A SectionModel object.getProperty (string Name)
Reads one generated property by name.
setProperty (string Name, Value)
Writes one generated property by name.
setModel (object Value)
The model being flattened.
Value is the new property value.None.get_model ()
Gets the model set via gtk_flatten_list_model_set_model().
get_model_for_item (int position)
Returns the model containing the item at the given position.
position is a position.set_model (object model)
Sets a new model to be flattened.
model is the new model.None.model ()
Returns
get_modelas an Aussom list of wrapper objects. This companion method materializes the full collection up front; useget_model()when lazy or change-notify access is required.
An Aussom list of elements.model_for_item ()
Returns
get_model_for_itemas an Aussom list of wrapper objects. This companion method materializes the full collection up front; useget_model_for_item()when lazy or change-notify access is required.
An Aussom list of elements.[231:14] static extends: object
Generated metadata helpers for FlattenListModel class surfaces.
properties ()
Returns property metadata for
FlattenListModel.
A list.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.