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

def self.new(model : Gtk::TreeModel, path : Gtk::TreePath) : self? #

def self.new_proxy(proxy : GObject::Object, model : Gtk::TreeModel, path : Gtk::TreePath) : self? #

Class Method Detail

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

def self.g_type : UInt64 #

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


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

Instance Method Detail


def finalize #

def free : Nil #

def model : Gtk::TreeModel #

def path : Gtk::TreePath? #

def to_unsafe : Pointer(Void) #

def valid : Bool #