Tree
View
Class
constructor
parent_
class
name
columns_
changed
cursor_
changed
expand_
collapse_
cursor_
row
move_
cursor
row_
activated
row_
collapsed
row_
expanded
select_
all
select_
cursor_
parent
select_
cursor_
row
start_
interactive_
search
test_
collapse_
row
test_
expand_
row
toggle_
cursor_
row
unselect_
all
GJS API Reference
Gtk-3.0
Gtk
TreeViewClass
Class TreeViewClass
Hierarchy
TreeViewClass
Index
Constructors
constructor
Properties
parent_
class
name
Methods
columns_
changed
cursor_
changed
expand_
collapse_
cursor_
row
move_
cursor
row_
activated
row_
collapsed
row_
expanded
select_
all
select_
cursor_
parent
select_
cursor_
row
start_
interactive_
search
test_
collapse_
row
test_
expand_
row
toggle_
cursor_
row
unselect_
all
Constructors
constructor
new
Tree
View
Class
(
)
:
Gtk
.
TreeViewClass
Returns
Gtk
.
TreeViewClass
Properties
parent_
class
parent_
class
:
Gtk
.
ContainerClass
Static
name
name
:
string
Methods
columns_
changed
columns_
changed
(
tree_view
:
Gtk
.
TreeView
)
:
void
Parameters
tree_view:
Gtk
.
TreeView
Returns
void
cursor_
changed
cursor_
changed
(
tree_view
:
Gtk
.
TreeView
)
:
void
Parameters
tree_view:
Gtk
.
TreeView
Returns
void
expand_
collapse_
cursor_
row
expand_
collapse_
cursor_
row
(
tree_view
:
Gtk
.
TreeView
, logical
:
boolean
, expand
:
boolean
, open_all
:
boolean
)
:
boolean
Parameters
tree_view:
Gtk
.
TreeView
logical:
boolean
expand:
boolean
open_all:
boolean
Returns
boolean
move_
cursor
move_
cursor
(
tree_view
:
Gtk
.
TreeView
, step
:
Gtk
.
MovementStep
, count
:
number
)
:
boolean
Parameters
tree_view:
Gtk
.
TreeView
step:
Gtk
.
MovementStep
count:
number
Returns
boolean
row_
activated
row_
activated
(
tree_view
:
Gtk
.
TreeView
, path
:
Gtk
.
TreePath
, column
:
Gtk
.
TreeViewColumn
)
:
void
Parameters
tree_view:
Gtk
.
TreeView
path:
Gtk
.
TreePath
column:
Gtk
.
TreeViewColumn
Returns
void
row_
collapsed
row_
collapsed
(
tree_view
:
Gtk
.
TreeView
, iter
:
Gtk
.
TreeIter
, path
:
Gtk
.
TreePath
)
:
void
Parameters
tree_view:
Gtk
.
TreeView
iter:
Gtk
.
TreeIter
path:
Gtk
.
TreePath
Returns
void
row_
expanded
row_
expanded
(
tree_view
:
Gtk
.
TreeView
, iter
:
Gtk
.
TreeIter
, path
:
Gtk
.
TreePath
)
:
void
Parameters
tree_view:
Gtk
.
TreeView
iter:
Gtk
.
TreeIter
path:
Gtk
.
TreePath
Returns
void
select_
all
select_
all
(
tree_view
:
Gtk
.
TreeView
)
:
boolean
Parameters
tree_view:
Gtk
.
TreeView
Returns
boolean
select_
cursor_
parent
select_
cursor_
parent
(
tree_view
:
Gtk
.
TreeView
)
:
boolean
Parameters
tree_view:
Gtk
.
TreeView
Returns
boolean
select_
cursor_
row
select_
cursor_
row
(
tree_view
:
Gtk
.
TreeView
, start_editing
:
boolean
)
:
boolean
Parameters
tree_view:
Gtk
.
TreeView
start_editing:
boolean
Returns
boolean
start_
interactive_
search
start_
interactive_
search
(
tree_view
:
Gtk
.
TreeView
)
:
boolean
Parameters
tree_view:
Gtk
.
TreeView
Returns
boolean
test_
collapse_
row
test_
collapse_
row
(
tree_view
:
Gtk
.
TreeView
, iter
:
Gtk
.
TreeIter
, path
:
Gtk
.
TreePath
)
:
boolean
Parameters
tree_view:
Gtk
.
TreeView
iter:
Gtk
.
TreeIter
path:
Gtk
.
TreePath
Returns
boolean
test_
expand_
row
test_
expand_
row
(
tree_view
:
Gtk
.
TreeView
, iter
:
Gtk
.
TreeIter
, path
:
Gtk
.
TreePath
)
:
boolean
Parameters
tree_view:
Gtk
.
TreeView
iter:
Gtk
.
TreeIter
path:
Gtk
.
TreePath
Returns
boolean
toggle_
cursor_
row
toggle_
cursor_
row
(
tree_view
:
Gtk
.
TreeView
)
:
boolean
Parameters
tree_view:
Gtk
.
TreeView
Returns
boolean
unselect_
all
unselect_
all
(
tree_view
:
Gtk
.
TreeView
)
:
boolean
Parameters
tree_view:
Gtk
.
TreeView
Returns
boolean
Tree
View
Class
constructor
parent_
class
name
columns_
changed
cursor_
changed
expand_
collapse_
cursor_
row
move_
cursor
row_
activated
row_
collapsed
row_
expanded
select_
all
select_
cursor_
parent
select_
cursor_
row
start_
interactive_
search
test_
collapse_
row
test_
expand_
row
toggle_
cursor_
row
unselect_
all
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdGtfM18wLkd0ay5UcmVlVmlld0NsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdGtfM18wLkd0ay5UcmVlVmlld0NsYXNzLmh0bWwjcGFyZW50X2NsYXNzIiwibmFtZSI6InBhcmVudF9jbGFzcyIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIHRzZC1pcy1zdGF0aWMiLCJocmVmIjoiR3RrXzNfMC5HdGsuVHJlZVZpZXdDbGFzcy5odG1sI25hbWUiLCJuYW1lIjoibmFtZSIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtbWV0aG9kIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdGtfM18wLkd0ay5UcmVlVmlld0NsYXNzLmh0bWwjY29sdW1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