Tree
Model
Iface
constructor
name
get_
column_
type
get_
flags
get_
iter
get_
n_
columns
get_
path
get_
value
iter_
children
iter_
has_
child
iter_
n_
children
iter_
next
iter_
nth_
child
iter_
parent
iter_
previous
ref_
node
row_
changed
row_
deleted
row_
has_
child_
toggled
row_
inserted
rows_
reordered
unref_
node
GJS API Reference
Gtk-3.0
Gtk
TreeModelIface
Class TreeModelIface
Hierarchy
TreeModelIface
Index
Constructors
constructor
Properties
name
Methods
get_
column_
type
get_
flags
get_
iter
get_
n_
columns
get_
path
get_
value
iter_
children
iter_
has_
child
iter_
n_
children
iter_
next
iter_
nth_
child
iter_
parent
iter_
previous
ref_
node
row_
changed
row_
deleted
row_
has_
child_
toggled
row_
inserted
rows_
reordered
unref_
node
Constructors
constructor
new
Tree
Model
Iface
(
)
:
Gtk
.
TreeModelIface
Returns
Gtk
.
TreeModelIface
Properties
Static
name
name
:
string
Methods
get_
column_
type
get_
column_
type
(
tree_model
:
Gtk
.
TreeModel
, index_
:
number
)
:
GType
<
unknown
>
Parameters
tree_model:
Gtk
.
TreeModel
index_:
number
Returns
GType
<
unknown
>
get_
flags
get_
flags
(
tree_model
:
Gtk
.
TreeModel
)
:
Gtk
.
TreeModelFlags
Parameters
tree_model:
Gtk
.
TreeModel
Returns
Gtk
.
TreeModelFlags
get_
iter
get_
iter
(
tree_model
:
Gtk
.
TreeModel
, path
:
Gtk
.
TreePath
)
:
[
boolean
,
Gtk
.
TreeIter
]
Parameters
tree_model:
Gtk
.
TreeModel
path:
Gtk
.
TreePath
Returns
[
boolean
,
Gtk
.
TreeIter
]
get_
n_
columns
get_
n_
columns
(
tree_model
:
Gtk
.
TreeModel
)
:
number
Parameters
tree_model:
Gtk
.
TreeModel
Returns
number
get_
path
get_
path
(
tree_model
:
Gtk
.
TreeModel
, iter
:
Gtk
.
TreeIter
)
:
Gtk
.
TreePath
Parameters
tree_model:
Gtk
.
TreeModel
iter:
Gtk
.
TreeIter
Returns
Gtk
.
TreePath
get_
value
get_
value
(
tree_model
:
Gtk
.
TreeModel
, iter
:
Gtk
.
TreeIter
, column
:
number
)
:
any
Parameters
tree_model:
Gtk
.
TreeModel
iter:
Gtk
.
TreeIter
column:
number
Returns
any
iter_
children
iter_
children
(
tree_model
:
Gtk
.
TreeModel
, parent
:
Gtk
.
TreeIter
)
:
[
boolean
,
Gtk
.
TreeIter
]
Parameters
tree_model:
Gtk
.
TreeModel
parent:
Gtk
.
TreeIter
Returns
[
boolean
,
Gtk
.
TreeIter
]
iter_
has_
child
iter_
has_
child
(
tree_model
:
Gtk
.
TreeModel
, iter
:
Gtk
.
TreeIter
)
:
boolean
Parameters
tree_model:
Gtk
.
TreeModel
iter:
Gtk
.
TreeIter
Returns
boolean
iter_
n_
children
iter_
n_
children
(
tree_model
:
Gtk
.
TreeModel
, iter
:
Gtk
.
TreeIter
)
:
number
Parameters
tree_model:
Gtk
.
TreeModel
iter:
Gtk
.
TreeIter
Returns
number
iter_
next
iter_
next
(
tree_model
:
Gtk
.
TreeModel
, iter
:
Gtk
.
TreeIter
)
:
boolean
Parameters
tree_model:
Gtk
.
TreeModel
iter:
Gtk
.
TreeIter
Returns
boolean
iter_
nth_
child
iter_
nth_
child
(
tree_model
:
Gtk
.
TreeModel
, parent
:
Gtk
.
TreeIter
, n
:
number
)
:
[
boolean
,
Gtk
.
TreeIter
]
Parameters
tree_model:
Gtk
.
TreeModel
parent:
Gtk
.
TreeIter
n:
number
Returns
[
boolean
,
Gtk
.
TreeIter
]
iter_
parent
iter_
parent
(
tree_model
:
Gtk
.
TreeModel
, child
:
Gtk
.
TreeIter
)
:
[
boolean
,
Gtk
.
TreeIter
]
Parameters
tree_model:
Gtk
.
TreeModel
child:
Gtk
.
TreeIter
Returns
[
boolean
,
Gtk
.
TreeIter
]
iter_
previous
iter_
previous
(
tree_model
:
Gtk
.
TreeModel
, iter
:
Gtk
.
TreeIter
)
:
boolean
Parameters
tree_model:
Gtk
.
TreeModel
iter:
Gtk
.
TreeIter
Returns
boolean
ref_
node
ref_
node
(
tree_model
:
Gtk
.
TreeModel
, iter
:
Gtk
.
TreeIter
)
:
void
Parameters
tree_model:
Gtk
.
TreeModel
iter:
Gtk
.
TreeIter
Returns
void
row_
changed
row_
changed
(
tree_model
:
Gtk
.
TreeModel
, path
:
Gtk
.
TreePath
, iter
:
Gtk
.
TreeIter
)
:
void
Parameters
tree_model:
Gtk
.
TreeModel
path:
Gtk
.
TreePath
iter:
Gtk
.
TreeIter
Returns
void
row_
deleted
row_
deleted
(
tree_model
:
Gtk
.
TreeModel
, path
:
Gtk
.
TreePath
)
:
void
Parameters
tree_model:
Gtk
.
TreeModel
path:
Gtk
.
TreePath
Returns
void
row_
has_
child_
toggled
row_
has_
child_
toggled
(
tree_model
:
Gtk
.
TreeModel
, path
:
Gtk
.
TreePath
, iter
:
Gtk
.
TreeIter
)
:
void
Parameters
tree_model:
Gtk
.
TreeModel
path:
Gtk
.
TreePath
iter:
Gtk
.
TreeIter
Returns
void
row_
inserted
row_
inserted
(
tree_model
:
Gtk
.
TreeModel
, path
:
Gtk
.
TreePath
, iter
:
Gtk
.
TreeIter
)
:
void
Parameters
tree_model:
Gtk
.
TreeModel
path:
Gtk
.
TreePath
iter:
Gtk
.
TreeIter
Returns
void
rows_
reordered
rows_
reordered
(
tree_model
:
Gtk
.
TreeModel
, path
:
Gtk
.
TreePath
, iter
:
Gtk
.
TreeIter
, new_order
:
number
)
:
void
Parameters
tree_model:
Gtk
.
TreeModel
path:
Gtk
.
TreePath
iter:
Gtk
.
TreeIter
new_order:
number
Returns
void
unref_
node
unref_
node
(
tree_model
:
Gtk
.
TreeModel
, iter
:
Gtk
.
TreeIter
)
:
void
Parameters
tree_model:
Gtk
.
TreeModel
iter:
Gtk
.
TreeIter
Returns
void
Tree
Model
Iface
constructor
name
get_
column_
type
get_
flags
get_
iter
get_
n_
columns
get_
path
get_
value
iter_
children
iter_
has_
child
iter_
n_
children
iter_
next
iter_
nth_
child
iter_
parent
iter_
previous
ref_
node
row_
changed
row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