class Gtk::TreeIter

Overview

The GtkTreeIter is the primary structure for accessing a GtkTreeModel. Models are expected to put a unique integer in the @stamp member, and put model-specific data in the three @user_data members.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/tree_iter.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

def self.new(stamp : Int32? = nil, user_data : Pointer(Void)? = nil, user_data2 : Pointer(Void)? = nil, user_data3 : Pointer(Void)? = nil) #

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def ==(other : self) : Bool #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def copy : Gtk::TreeIter #

def free : Nil #

def stamp : Int32 #

def stamp=(value : Int32) #

def to_unsafe #

def user_data : Pointer(Void)? #

def user_data! #

def user_data2 : Pointer(Void)? #

def user_data2! #

def user_data2=(value : Pointer(Void)?) #

def user_data3 : Pointer(Void)? #

def user_data3! #

def user_data3=(value : Pointer(Void)?) #

def user_data=(value : Pointer(Void)?) #