Gnome::Gtk4::T-treemodel
Class initialization
new
Initialization of a type class is simple and only needed when the standalone functions are used.
method new ( )
Record N-TreePath
This is an opaque type of which fields are not available.
class N-TreePath:auth<github:MARTIMM>:api<2> is export is repr('CStruct') { }
Record N-TreeIter
class N-TreeIter:auth<github:MARTIMM>:api<2> is export is repr('CStruct') { has gint $.stamp; has gpointer $.user-data; has gpointer $.user-data2; has gpointer $.user-data3; }
stamp; a unique stamp to catch invalid iterators
user-data; model-specific data
user-data2; model-specific data
user-data3; model-specific data
Record N-TreeRowReference
This is an opaque type of which fields are not available.
class N-TreeRowReference:auth<github:MARTIMM>:api<2> is export is repr('CStruct') { }
Bitfields
GtkTreeModelFlags
These flags indicate various properties of a Gnome::Gtk4::R-TreeModel.
They are returned by .get-flags()
, and must be static for the lifetime of the object. A more complete description of GTK_TREE_MODEL_ITERS_PERSIST
can be found in the overview of this section.
GTK_TREE_MODEL_ITERS_PERSIST
; iterators survive all signals emitted by the treeGTK_TREE_MODEL_LIST_ONLY
; the model is a list only, and never has children
Callback Functions
TreeModelForeachFunc
Signature
:( N-Object() $model, N-Object $path, N-Object $iter, gpointer $data )
model; the Gnome::Gtk4::R-TreeModel being iterated
path; the current Gnome::Gtk4::T-treemodel
iter; the current Gnome::Gtk4::N-TreeIter
data; The user data passed to gtk_tree_model_foreach()
Standalone Functions
tree-row-reference-deleted
Lets a set of row reference created by gtk_tree_row_reference_new_proxy() know that the model emitted the row-deleted signal.
method tree-row-reference-deleted ( N-Object() $proxy, N-Object $path )
$proxy; a Gnome::GObject::Object.
$path; the path position that was deleted
tree-row-reference-inserted
Lets a set of row reference created by gtk_tree_row_reference_new_proxy() know that the model emitted the row-inserted signal.
method tree-row-reference-inserted ( N-Object() $proxy, N-Object $path )
$proxy; a Gnome::GObject::Object.
$path; the row position that was inserted
tree-row-reference-reordered
Lets a set of row reference created by gtk_tree_row_reference_new_proxy() know that the model emitted the rows-reordered signal.
method tree-row-reference-reordered ( N-Object() $proxy, N-Object $path, N-Object $iter, Array[Int] $new-order )
$proxy; a Gnome::GObject::Object.
$path; the parent path of the reordered signal
$iter; the iter pointing to the parent of the reordered
$new-order; the new order of rows.