module Gtk::TreeSortable

Overview

The interface for sortable models used by Gtk::TreeView

Gtk::TreeSortable is an interface to be implemented by tree models which support sorting. The Gtk::TreeView uses the methods provided by this interface to sort the model.

Direct including types

Defined in:

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

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.cast(obj : GObject::Object) : self #

Cast a GObject::Object to self, throws a TypeCastError if the cast can't be made.


[View source]

Class Method Detail

def self.cast?(obj : GObject::Object) : self | Nil #

[View source]
def self.g_type : UInt64 #

[View source]

Instance Method Detail

def default_sort_func=(sort_func : Gtk::TreeIterCompareFunc) : Nil #

[View source]
def has_default_sort_func : Bool #

[View source]
def set_sort_column_id(sort_column_id : Int32, order : Gtk::SortType) : Nil #

[View source]
def set_sort_func(sort_column_id : Int32, sort_func : Gtk::TreeIterCompareFunc) : Nil #

[View source]
def sort_column_changed : Nil #

[View source]
def sort_column_changed_signal #

[View source]
def sort_column_id(sort_column_id : Int32, order : Gtk::SortType) : Bool #

[View source]
abstract def to_unsafe #

[View source]