Gtk.MultiSelection¶
class — extends GObject.Object, Gio.ListModel, SectionModel, SelectionModel
A selection model that allows selecting multiple elements.
Constructors¶
new¶
Creates a new selection to handle model.
Parameters:
model— theGListModelto manage
Methods¶
get_model¶
Returns the underlying model of self.
set_model¶
Sets the model that self should wrap.
If model is None, self will be empty.
Parameters:
model— AGListModelto wrap
Properties¶
item_type¶
The type of items. See Gio.ListModel.get_item_type.
model¶
The list managed by this selection.
n_items¶
The number of items. See Gio.ListModel.get_n_items.