class Gtk::TreePath

Overview

An opaque structure representing a path to a row in a model.

Defined in:

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

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

def self.new_from_indices(indices : Enumerable(Int32)) : self #

def self.new_from_string(path : String) : self? #

Class Method Detail

def self.g_type : UInt64 #

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


def self.new_from_indices(*indices : Int32) #

Instance Method Detail

def append_index(index_ : Int32) : Nil #

def compare(b : Gtk::TreePath) : Int32 #

def copy : Gtk::TreePath #

def depth : Int32 #

def down : Nil #

def finalize #

def free : Nil #

def indices : Enumerable(Int32)? #

def is_ancestor(descendant : Gtk::TreePath) : Bool #

def is_descendant(ancestor : Gtk::TreePath) : Bool #

def next : Nil #

def prepend_index(index_ : Int32) : Nil #

def prev : Bool #

def to_string : String? #

def to_unsafe : Pointer(Void) #

def up : Bool #