module Gtk::TreeSortable

Overview

The interface for sortable models used by GtkTreeView

GtkTreeSortable is an interface to be implemented by tree models which support sorting. The GtkTreeView 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

Class Method Summary

Instance Method Summary

Class Method Detail

def self.g_type : UInt64 #

Instance Method Detail

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

def has_default_sort_func : Bool #

def set_sort_column_id(sort_column_id : Int32, order : Gtk::SortType) : Nil #

def set_sort_func(sort_column_id : Int32, sort_func : Gtk::TreeIterCompareFunc) : Nil #

def sort_column_changed : Nil #

def sort_column_changed_signal #

def sort_column_id(sort_column_id : Int32, order : Gtk::SortType) : Bool #

abstract def to_unsafe #