Module: Gtk::TreeSortable

Defined in:
lib/gtk4/tree-sortable.rb

Instance Method Summary collapse

Instance Method Details

#set_sort_func(sort_column_id) ⇒ Object



20
21
22
23
24
25
26
# File 'lib/gtk4/tree-sortable.rb', line 20

def set_sort_func(sort_column_id)
  set_sort_func_raw(sort_column_id) do |model, iter1, iter2|
    iter1.model = model
    iter2.model = model
    yield(model, iter1, iter2)
  end
end

#set_sort_func_rawObject



19
# File 'lib/gtk4/tree-sortable.rb', line 19

alias_method :set_sort_func_raw, :set_sort_func