Class: Gtk::SortListModel
- Inherits:
-
Object
- Object
- Gtk::SortListModel
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#incremental ⇒ Boolean
Returns whether incremental sorting is enabled.
-
#incremental=(incremental) ⇒ Boolean
If the model should sort items incrementally.
-
#incremental? ⇒ Boolean
If the model should sort items incrementally.
-
#initialize(model, sorter) ⇒ Gtk::SortListModel
constructor
Creates a new sort list model that uses the sorter to sort model.
-
#item_type ⇒ GLib::Type
The type of items.
-
#item_type=(item_type) ⇒ GLib::Type
The type of items.
-
#model ⇒ Gio::ListModel
The model being sorted.
-
#model=(model) ⇒ Gio::ListModel
The model being sorted.
-
#n_items ⇒ Integer
The number of items.
-
#n_items=(n_items) ⇒ Integer
The number of items.
-
#pending ⇒ Integer
Estimate of unsorted items remaining.
-
#pending=(pending) ⇒ Integer
Estimate of unsorted items remaining.
-
#section_sorter ⇒ Gtk::Sorter
The section sorter for this model, if one is set.
-
#section_sorter=(section_sorter) ⇒ Gtk::Sorter
The section sorter for this model, if one is set.
-
#sorter ⇒ Gtk::Sorter
The sorter for this model.
-
#sorter=(sorter) ⇒ Gtk::Sorter
The sorter for this model.
Constructor Details
#initialize(model, sorter) ⇒ Gtk::SortListModel
Creates a new sort list model that uses the sorter to sort model.
Instance Method Details
#incremental ⇒ Boolean
Returns whether incremental sorting is enabled.
See [methodGtk.SortListModel.set_incremental].
#incremental=(incremental) ⇒ Boolean
If the model should sort items incrementally.
#incremental? ⇒ Boolean
If the model should sort items incrementally.
#item_type ⇒ GLib::Type
The type of items. See [methodGio.ListModel.get_item_type].
#item_type=(item_type) ⇒ GLib::Type
The type of items. See [methodGio.ListModel.get_item_type].
#model ⇒ Gio::ListModel
The model being sorted.
#model=(model) ⇒ Gio::ListModel
The model being sorted.
#n_items ⇒ Integer
The number of items. See [methodGio.ListModel.get_n_items].
#n_items=(n_items) ⇒ Integer
The number of items. See [methodGio.ListModel.get_n_items].
#pending ⇒ Integer
Estimate of unsorted items remaining.
#pending=(pending) ⇒ Integer
Estimate of unsorted items remaining.
#section_sorter ⇒ Gtk::Sorter
The section sorter for this model, if one is set.
#section_sorter=(section_sorter) ⇒ Gtk::Sorter
The section sorter for this model, if one is set.
#sorter ⇒ Gtk::Sorter
The sorter for this model.
#sorter=(sorter) ⇒ Gtk::Sorter
The sorter for this model.