Basics
Guides
API Reference
Basics
Guides
API Reference
[166:14] static extends: object
Generated metadata helpers for TreeListRowSorter class surfaces.
properties ()
Returns property metadata for
TreeListRowSorter.
A list.[18:7] extends: object
Applies a gives sorter to the levels in a tree. Here is an example for
setting up a column view with a tree model and a GtkTreeListSorter: c column_sorter = gtk_column_view_get_sorter (view); sorter = gtk_tree_list_row_sorter_new (g_object_ref (column_sorter)); sort_model = gtk_sort_list_model_new (tree_model, sorter); selection = gtk_single_selection_new (sort_model); gtk_column_view_set_model (view, G_LIST_MODEL (selection));
TreeListRowSorter (sorter = null)
Create a special-purpose sorter that applies the sorting of @sorter to the levels of a
GtkTreeListModel. Note that this sorter relies on [property@Gtk.TreeListModel:passthrough] being %FALSE as it can only sort [class@Gtk.TreeListRow]s.
sorter is a GtkSorter.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.asSorter ()
Wraps this handle as
Sorter.
A Sorter object.getProperty (string Name)
Reads one generated property by name.
setProperty (string Name, Value)
Writes one generated property by name.
setSorter (object Value)
The underlying sorter
Value is the new property value.None.get_sorter ()
Returns the sorter used by @self.
set_sorter (object sorter)
Sets the sorter to use for items with the same parent. This sorter will be passed the [property@Gtk.TreeListRow:item] of the tree list rows passed to @self.
sorter is The sorter to use.None.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.