class Gtk::TreeRowReference

Overview

A Gtk::TreeRowReference tracks model changes so that it always refers to the same row (a Gtk::TreePath refers to a position, not a fixed row). Create a new Gtk::TreeRowReference with gtk_tree_row_reference_new().

Defined in:

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

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(model : Gtk::TreeModel, path : Gtk::TreePath) : self | Nil #

[View source]

Class Method Detail

def self.deleted(proxy : GObject::Object, path : Gtk::TreePath) : Nil #

[View source]
def self.g_type : UInt64 #

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


[View source]
def self.inserted(proxy : GObject::Object, path : Gtk::TreePath) : Nil #

[View source]
def self.new_proxy(proxy : GObject::Object, model : Gtk::TreeModel, path : Gtk::TreePath) : self | Nil #

[View source]

Instance Method Detail


[View source]
def finalize #

[View source]
def free : Nil #

[View source]
def model : Gtk::TreeModel #

[View source]
def path : Gtk::TreePath | Nil #

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

[View source]
def valid : Bool #

[View source]