v_sim.UiPlaneList¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.ListStore (18), GObject.Object (37), Gtk.Buildable (10), Gtk.TreeDragDest (2), Gtk.TreeDragSource (3), Gtk.TreeModel (28), Gtk.TreeSortable (6)
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w |
current selection |
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
This signal is emitted each time the user request to align with a plane. |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
||
priv |
r |
Class Details¶
- class v_sim.UiPlaneList(*column_types)¶
- Bases:
- Abstract:
No
- Structure:
Common name to refer to a #_VisuUiPlaneList.
- classmethod new()¶
- Returns:
a newly created object.
- Return type:
Create a new
Gtk.ListStoreto store planes.New in version 3.8.
- getAt(i)¶
- Parameters:
i (
int) – an integer.- Returns:
a
v_sim.Planeobject orNone.- Return type:
Retrieve the
v_sim.Planeobject, stored at the place i in self.New in version 3.8.
- getControls()¶
- Returns:
widgets are created if needed.
- Return type:
Retrieve the
Gtk.Boxobject with theGtk.Widgetto control the selected plane in the treeview of self.New in version 3.8.
- getModel()¶
- Returns:
a
v_sim.PlaneSetobject.- Return type:
Retrieve the
v_sim.PlaneSetobject that self is built upon.New in version 3.8.
- getSelection()¶
- Returns:
a
v_sim.Planeobject orNone.- Return type:
Retrieve the selected
v_sim.Plane, orNoneif no selection.New in version 3.8.
- getView()¶
- Returns:
widgets are created if needed.
- Return type:
Retrieve a treeview and a side toolbar that displays the list of planes of the model.
New in version 3.8.
- setModel(set)¶
- Parameters:
set (
v_sim.PlaneSetorNone) – av_sim.PlaneSetobject.- Returns:
Trueif set is changed- Return type:
Bind the set object to self.
Signal Details¶
- v_sim.UiPlaneList.signals.align(ui_plane_list, plane)¶
- Signal Name:
align- Flags:
- Parameters:
ui_plane_list (
v_sim.UiPlaneList) – The object which received the signalplane (
v_sim.Plane) – the requestedv_sim.Planeobject for alignment.
This signal is emitted each time the user request to align with a plane.
New in version 3.8.
Property Details¶
- v_sim.UiPlaneList.props.selection¶
- Name:
selection- Type:
- Default Value:
- Flags:
current selection