Class
GtkSelectionFilterModel
Description [src]
final class Gtk.SelectionFilterModel : GObject.Object {
/* No available fields */
}
GtkSelectionFilterModel is a list model that presents the selection from
a GtkSelectionModel.
Constructors
gtk_selection_filter_model_new
Creates a new GtkSelectionFilterModel that will include the
selected items from the underlying selection model.
Instance methods
gtk_selection_filter_model_get_model
Gets the model currently filtered or NULL if none.
gtk_selection_filter_model_set_model
Sets the model to be filtered.
Methods inherited from GListModel (5)
g_list_model_get_item
Get the item at position. If position is greater than the number of
items in list, NULL is returned.
Available since: 2.44
g_list_model_get_item_type
Gets the type of the items in list. All items returned from
g_list_model_get_type() are of that type or a subtype, or are an
implementation of that interface.
Available since: 2.44
g_list_model_get_n_items
Gets the number of items in list.
Available since: 2.44
g_list_model_get_object
Get the item at position. If position is greater than the number of
items in list, NULL is returned.
Available since: 2.44
g_list_model_items_changed
Emits the GListModel::items-changed signal on list.
Available since: 2.44
Properties
Gtk.SelectionFilterModel:model
The model being filtered.
Signals
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Signals inherited from GListModel (1)
Gio.ListModel::items-changed
This signal is emitted whenever items were added to or removed
from list. At position, removed items were removed and added
items were added in their place.
Available since: 2.44