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) #

[View source]
def self.new_from_indices(indices : Enumerable(Int32)) : self #

[View source]

Class Method Detail

def self.g_type : UInt64 #

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


[View source]
def self.new_from_indices(*indices : Int32) #

[View source]
def self.new_from_string(path : String) : self | Nil #

[View source]

Instance Method Detail

def append_index(index_ : Int32) : Nil #

[View source]
def compare(b : Gtk::TreePath) : Int32 #

[View source]
def copy : Gtk::TreePath #

[View source]
def depth : Int32 #

[View source]
def down : Nil #

[View source]
def finalize #

[View source]
def free : Nil #

[View source]
def indices : Enumerable(Int32) | Nil #

[View source]
def is_ancestor(descendant : Gtk::TreePath) : Bool #

[View source]
def is_descendant(ancestor : Gtk::TreePath) : Bool #

[View source]
def next : Nil #

[View source]
def prepend_index(index_ : Int32) : Nil #

[View source]
def prev : Bool #

[View source]
def to_string : String | Nil #

[View source]
def to_unsafe : Pointer(Void) #

[View source]
def up : Bool #

[View source]