Tree
Builder
Class
constructor
parent_
class
name
added
build_
children
build_
node
cell_
data_
func
drag_
data_
get
drag_
data_
received
drag_
node_
delete
drag_
node_
received
node_
activated
node_
collapsed
node_
draggable
node_
droppable
node_
expanded
node_
popup
node_
selected
node_
unselected
removed
GJS API Reference
Dazzle-1.0
Dazzle
TreeBuilderClass
Class TreeBuilderClass
Hierarchy
TreeBuilderClass
Index
Constructors
constructor
Properties
parent_
class
name
Methods
added
build_
children
build_
node
cell_
data_
func
drag_
data_
get
drag_
data_
received
drag_
node_
delete
drag_
node_
received
node_
activated
node_
collapsed
node_
draggable
node_
droppable
node_
expanded
node_
popup
node_
selected
node_
unselected
removed
Constructors
constructor
new
Tree
Builder
Class
(
)
:
Dazzle
.
TreeBuilderClass
Returns
Dazzle
.
TreeBuilderClass
Properties
parent_
class
parent_
class
:
InitiallyUnownedClass
Static
name
name
:
string
Methods
added
added
(
builder
:
Dazzle
.
TreeBuilder
, tree
:
Gtk
.
Widget
)
:
void
Parameters
builder:
Dazzle
.
TreeBuilder
tree:
Gtk
.
Widget
Returns
void
build_
children
build_
children
(
builder
:
Dazzle
.
TreeBuilder
, parent
:
Dazzle
.
TreeNode
)
:
void
Parameters
builder:
Dazzle
.
TreeBuilder
parent:
Dazzle
.
TreeNode
Returns
void
build_
node
build_
node
(
builder
:
Dazzle
.
TreeBuilder
, node
:
Dazzle
.
TreeNode
)
:
void
Parameters
builder:
Dazzle
.
TreeBuilder
node:
Dazzle
.
TreeNode
Returns
void
cell_
data_
func
cell_
data_
func
(
tree
:
Dazzle
.
TreeBuilder
, node
:
Dazzle
.
TreeNode
, cell
:
Gtk
.
CellRenderer
)
:
void
Parameters
tree:
Dazzle
.
TreeBuilder
node:
Dazzle
.
TreeNode
cell:
Gtk
.
CellRenderer
Returns
void
drag_
data_
get
drag_
data_
get
(
builder
:
Dazzle
.
TreeBuilder
, node
:
Dazzle
.
TreeNode
, data
:
Gtk
.
SelectionData
)
:
boolean
Parameters
builder:
Dazzle
.
TreeBuilder
node:
Dazzle
.
TreeNode
data:
Gtk
.
SelectionData
Returns
boolean
drag_
data_
received
drag_
data_
received
(
builder
:
Dazzle
.
TreeBuilder
, drop_node
:
Dazzle
.
TreeNode
, position
:
TreeDropPosition
, action
:
Gdk
.
DragAction
, data
:
Gtk
.
SelectionData
)
:
boolean
Parameters
builder:
Dazzle
.
TreeBuilder
drop_node:
Dazzle
.
TreeNode
position:
TreeDropPosition
action:
Gdk
.
DragAction
data:
Gtk
.
SelectionData
Returns
boolean
drag_
node_
delete
drag_
node_
delete
(
builder
:
Dazzle
.
TreeBuilder
, node
:
Dazzle
.
TreeNode
)
:
boolean
Parameters
builder:
Dazzle
.
TreeBuilder
node:
Dazzle
.
TreeNode
Returns
boolean
drag_
node_
received
drag_
node_
received
(
builder
:
Dazzle
.
TreeBuilder
, drag_node
:
Dazzle
.
TreeNode
, drop_node
:
Dazzle
.
TreeNode
, position
:
TreeDropPosition
, action
:
Gdk
.
DragAction
, data
:
Gtk
.
SelectionData
)
:
boolean
Parameters
builder:
Dazzle
.
TreeBuilder
drag_node:
Dazzle
.
TreeNode
drop_node:
Dazzle
.
TreeNode
position:
TreeDropPosition
action:
Gdk
.
DragAction
data:
Gtk
.
SelectionData
Returns
boolean
node_
activated
node_
activated
(
builder
:
Dazzle
.
TreeBuilder
, node
:
Dazzle
.
TreeNode
)
:
boolean
Parameters
builder:
Dazzle
.
TreeBuilder
node:
Dazzle
.
TreeNode
Returns
boolean
node_
collapsed
node_
collapsed
(
builder
:
Dazzle
.
TreeBuilder
, node
:
Dazzle
.
TreeNode
)
:
void
Parameters
builder:
Dazzle
.
TreeBuilder
node:
Dazzle
.
TreeNode
Returns
void
node_
draggable
node_
draggable
(
builder
:
Dazzle
.
TreeBuilder
, node
:
Dazzle
.
TreeNode
)
:
boolean
Parameters
builder:
Dazzle
.
TreeBuilder
node:
Dazzle
.
TreeNode
Returns
boolean
node_
droppable
node_
droppable
(
builder
:
Dazzle
.
TreeBuilder
, node
:
Dazzle
.
TreeNode
, data
:
Gtk
.
SelectionData
)
:
boolean
Parameters
builder:
Dazzle
.
TreeBuilder
node:
Dazzle
.
TreeNode
data:
Gtk
.
SelectionData
Returns
boolean
node_
expanded
node_
expanded
(
builder
:
Dazzle
.
TreeBuilder
, node
:
Dazzle
.
TreeNode
)
:
void
Parameters
builder:
Dazzle
.
TreeBuilder
node:
Dazzle
.
TreeNode
Returns
void
node_
popup
node_
popup
(
builder
:
Dazzle
.
TreeBuilder
, node
:
Dazzle
.
TreeNode
, menu
:
Gio
.
Menu
)
:
void
Parameters
builder:
Dazzle
.
TreeBuilder
node:
Dazzle
.
TreeNode
menu:
Gio
.
Menu
Returns
void
node_
selected
node_
selected
(
builder
:
Dazzle
.
TreeBuilder
, node
:
Dazzle
.
TreeNode
)
:
void
Parameters
builder:
Dazzle
.
TreeBuilder
node:
Dazzle
.
TreeNode
Returns
void
node_
unselected
node_
unselected
(
builder
:
Dazzle
.
TreeBuilder
, node
:
Dazzle
.
TreeNode
)
:
void
Parameters
builder:
Dazzle
.
TreeBuilder
node:
Dazzle
.
TreeNode
Returns
void
removed
removed
(
builder
:
Dazzle
.
TreeBuilder
, tree
:
Gtk
.
Widget
)
:
void
Parameters
builder:
Dazzle
.
TreeBuilder
tree:
Gtk
.
Widget
Returns
void
Tree
Builder
Class
constructor
parent_
class
name
added
build_
children
build_
node
cell_
data_
func
drag_
data_
get
drag_
data_
received
drag_
node_
delete
drag_
node_
received
node_
activated
node_
collapsed
node_
draggable
node_
droppable
node_
expanded
node_
popup
node_
selected
node_
unselected
removed
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJEYXp6bGVfMV8wLkRhenpsZS5UcmVlQnVpbGRlckNsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6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