Dazzle.TreeBuilder¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
Virtual Methods¶
- Inherited:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
The |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Dazzle.TreeBuilder(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Return type:
- get_tree()¶
- Returns:
A
Dazzle.Tree
orNone
.- Return type:
Dazzle.Tree
orNone
Gets the tree that owns the builder.
- do_added(tree) virtual¶
- Parameters:
tree (
Gtk.Widget
) –
- do_build_children(parent) virtual¶
- Parameters:
parent (
Dazzle.TreeNode
) –
- do_build_node(node) virtual¶
- Parameters:
node (
Dazzle.TreeNode
) –
- do_cell_data_func(node, cell) virtual¶
- Parameters:
node (
Dazzle.TreeNode
) –cell (
Gtk.CellRenderer
) –
- do_drag_data_get(node, data) virtual¶
- Parameters:
node (
Dazzle.TreeNode
) –data (
Gtk.SelectionData
) –
- Return type:
- do_drag_data_received(drop_node, position, action, data) virtual¶
- Parameters:
drop_node (
Dazzle.TreeNode
) –position (
Dazzle.TreeDropPosition
) –action (
Gdk.DragAction
) –data (
Gtk.SelectionData
) –
- Return type:
- do_drag_node_delete(node) virtual¶
- Parameters:
node (
Dazzle.TreeNode
) –- Return type:
- do_drag_node_received(drag_node, drop_node, position, action, data) virtual¶
- Parameters:
drag_node (
Dazzle.TreeNode
) –drop_node (
Dazzle.TreeNode
) –position (
Dazzle.TreeDropPosition
) –action (
Gdk.DragAction
) –data (
Gtk.SelectionData
) –
- Return type:
- do_node_activated(node) virtual¶
- Parameters:
node (
Dazzle.TreeNode
) –- Return type:
- do_node_collapsed(node) virtual¶
- Parameters:
node (
Dazzle.TreeNode
) –
- do_node_draggable(node) virtual¶
- Parameters:
node (
Dazzle.TreeNode
) –- Return type:
- do_node_droppable(node, data) virtual¶
- Parameters:
node (
Dazzle.TreeNode
) –data (
Gtk.SelectionData
) –
- Return type:
- do_node_expanded(node) virtual¶
- Parameters:
node (
Dazzle.TreeNode
) –
- do_node_popup(node, menu) virtual¶
- Parameters:
node (
Dazzle.TreeNode
) –menu (
Gio.Menu
) –
- do_node_selected(node) virtual¶
- Parameters:
node (
Dazzle.TreeNode
) –
- do_node_unselected(node) virtual¶
- Parameters:
node (
Dazzle.TreeNode
) –
- do_removed(tree) virtual¶
- Parameters:
tree (
Gtk.Widget
) –
Signal Details¶
- Dazzle.TreeBuilder.signals.added(tree_builder, object)¶
- Signal Name:
added
- Flags:
- Parameters:
tree_builder (
Dazzle.TreeBuilder
) – The object which received the signalobject (
Dazzle.Tree
) –
- Dazzle.TreeBuilder.signals.build_children(tree_builder, object)¶
- Signal Name:
build-children
- Flags:
- Parameters:
tree_builder (
Dazzle.TreeBuilder
) – The object which received the signalobject (
Dazzle.TreeNode
) –
- Dazzle.TreeBuilder.signals.build_node(tree_builder, object)¶
- Signal Name:
build-node
- Flags:
- Parameters:
tree_builder (
Dazzle.TreeBuilder
) – The object which received the signalobject (
Dazzle.TreeNode
) –
- Dazzle.TreeBuilder.signals.drag_data_get(tree_builder, object, p0)¶
- Signal Name:
drag-data-get
- Flags:
- Parameters:
tree_builder (
Dazzle.TreeBuilder
) – The object which received the signalobject (
Dazzle.TreeNode
) –p0 (
Gtk.SelectionData
) –
- Return type:
- Dazzle.TreeBuilder.signals.drag_data_received(tree_builder, object, p0, p1, p2)¶
- Signal Name:
drag-data-received
- Flags:
- Parameters:
tree_builder (
Dazzle.TreeBuilder
) – The object which received the signalobject (
Dazzle.TreeNode
) –p0 (
Dazzle.TreeDropPosition
) –p1 (
Gdk.DragAction
) –p2 (
Gtk.SelectionData
) –
- Return type:
- Dazzle.TreeBuilder.signals.drag_node_delete(tree_builder, object)¶
- Signal Name:
drag-node-delete
- Flags:
- Parameters:
tree_builder (
Dazzle.TreeBuilder
) – The object which received the signalobject (
Dazzle.TreeNode
) –
- Return type:
- Dazzle.TreeBuilder.signals.drag_node_received(tree_builder, object, p0, p1, p2, p3)¶
- Signal Name:
drag-node-received
- Flags:
- Parameters:
tree_builder (
Dazzle.TreeBuilder
) – The object which received the signalobject (
Dazzle.TreeNode
) –p0 (
Dazzle.TreeNode
) –p1 (
Dazzle.TreeDropPosition
) –p2 (
Gdk.DragAction
) –p3 (
Gtk.SelectionData
) –
- Return type:
- Dazzle.TreeBuilder.signals.node_activated(tree_builder, object)¶
- Signal Name:
node-activated
- Flags:
- Parameters:
tree_builder (
Dazzle.TreeBuilder
) – The object which received the signalobject (
Dazzle.TreeNode
) –
- Return type:
- Dazzle.TreeBuilder.signals.node_collapsed(tree_builder, object)¶
- Signal Name:
node-collapsed
- Flags:
- Parameters:
tree_builder (
Dazzle.TreeBuilder
) – The object which received the signalobject (
Dazzle.TreeNode
) –
- Dazzle.TreeBuilder.signals.node_draggable(tree_builder, object)¶
- Signal Name:
node-draggable
- Flags:
- Parameters:
tree_builder (
Dazzle.TreeBuilder
) – The object which received the signalobject (
Dazzle.TreeNode
) –
- Return type:
- Dazzle.TreeBuilder.signals.node_droppable(tree_builder, object, p0)¶
- Signal Name:
node-droppable
- Flags:
- Parameters:
tree_builder (
Dazzle.TreeBuilder
) – The object which received the signalobject (
Dazzle.TreeNode
) –p0 (
Gtk.SelectionData
) –
- Return type:
- Dazzle.TreeBuilder.signals.node_expanded(tree_builder, object)¶
- Signal Name:
node-expanded
- Flags:
- Parameters:
tree_builder (
Dazzle.TreeBuilder
) – The object which received the signalobject (
Dazzle.TreeNode
) –
- Dazzle.TreeBuilder.signals.node_popup(tree_builder, object, p0)¶
- Signal Name:
node-popup
- Flags:
- Parameters:
tree_builder (
Dazzle.TreeBuilder
) – The object which received the signalobject (
Dazzle.TreeNode
) –p0 (
Gio.Menu
) –
- Dazzle.TreeBuilder.signals.node_selected(tree_builder, object)¶
- Signal Name:
node-selected
- Flags:
- Parameters:
tree_builder (
Dazzle.TreeBuilder
) – The object which received the signalobject (
Dazzle.TreeNode
) –
- Dazzle.TreeBuilder.signals.node_unselected(tree_builder, object)¶
- Signal Name:
node-unselected
- Flags:
- Parameters:
tree_builder (
Dazzle.TreeBuilder
) – The object which received the signalobject (
Dazzle.TreeNode
) –
- Dazzle.TreeBuilder.signals.removed(tree_builder, object)¶
- Signal Name:
removed
- Flags:
- Parameters:
tree_builder (
Dazzle.TreeBuilder
) – The object which received the signalobject (
Dazzle.Tree
) –
Property Details¶
- Dazzle.TreeBuilder.props.tree¶
- Name:
tree
- Type:
- Default Value:
- Flags:
The
Dazzle.Tree
the builder belongs to.