Gtk.NoSelection¶
- Subclasses:
None
Methods¶
- Inherited:
GObject.Object (37), Gio.ListModel (4), Gtk.SectionModel (2), Gtk.SelectionModel (11)
- Structs:
class |
|
|
|
|
Virtual Methods¶
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r |
|||
r/w/en |
|||
r |
Signals¶
Fields¶
Class Details¶
- class Gtk.NoSelection(**kwargs)¶
- Bases:
GObject.Object,Gio.ListModel,Gtk.SectionModel,Gtk.SelectionModel- Abstract:
No
- Structure:
A selection model that does not allow selecting anything.
This model is meant to be used as a simple wrapper around a
GListModelwhen aGtkSelectionModelis required.GtkNoSelectionpasses through sections from the underlying model.- classmethod new(model)[source]¶
- Parameters:
model (
Gio.ListModelorNone) – theGListModelto manage- Returns:
a new
GtkNoSelection- Return type:
Creates a new selection to handle model.
- get_model()[source]¶
- Returns:
The model being wrapped
- Return type:
Gets the model that self is wrapping.
- set_model(model)[source]¶
- Parameters:
model (
Gio.ListModelorNone) – AGListModelto wrap
Sets the model that self should wrap.
If model is
None, this model will be empty.
Property Details¶
- Gtk.NoSelection.props.item_type¶
- Name:
item-type- Type:
- Default Value:
<GType GObject>- Flags:
The type of items. See [method`Gio`.ListModel.get_item_type].
New in version 4.8.
- Gtk.NoSelection.props.model¶
- Name:
model- Type:
- Default Value:
- Flags:
The model being managed.