v_sim.UiPairTree¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.TreeView (98), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Scrollable (9)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Gtk.TreeView (18), Gtk.Container (3), Gtk.Widget (39), Gtk.Scrollable (4)
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/co |
renderer object to draw links |
||
r |
currently selected link (first one in a list) |
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Gtk.TreeView (15), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name |
Short Description |
|---|---|
Gets emitted when the selection change. |
Fields¶
- Inherited:
Gtk.TreeView (15), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
||
priv |
r |
Class Details¶
- class v_sim.UiPairTree(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
An opaque structure.
New in version 3.8.
- classmethod new(pairs)¶
- Parameters:
pairs (
v_sim.GlExtPairs) – av_sim.GlExtPairsobject.- Returns:
a pointer to the newly created widget.
- Return type:
Creates a new
v_sim.UiPairTreeto allow to setup link rendering characteristics.New in version 3.8.
- bind(model)¶
- Parameters:
model (
v_sim.PairSet) – av_sim.PairSetobject.
Binds model to self, so every
v_sim.PairLinkof model are always listed into self.New in version 3.8.
- getFilter()¶
- Returns:
a
v_sim.UiElementComboboxobject.- Return type:
Creates a
v_sim.Elementcombo widget to be used to filter the list of pairs.New in version 3.8.
- getToolbar()¶
- Returns:
a
Gtk.Toolbarobject.- Return type:
Creates a
Gtk.Toolbarwith the action button used to add or removev_sim.PairLinkin a self.New in version 3.8.
Signal Details¶
- v_sim.UiPairTree.signals.selection_changed(ui_pair_tree, links)¶
- Signal Name:
selection-changed- Flags:
- Parameters:
ui_pair_tree (
v_sim.UiPairTree) – The object which received the signallinks (
v_sim.PairLink) – a list ofv_sim.PairLinkobjects.
Gets emitted when the selection change.
New in version 3.8.
Property Details¶
- v_sim.UiPairTree.props.renderer¶
- Name:
renderer- Type:
- Default Value:
- Flags:
renderer object to draw links
- v_sim.UiPairTree.props.selected_link¶
- Name:
selected-link- Type:
- Default Value:
- Flags:
currently selected link (first one in a list)