Tree
Model
Iface
constructor
g_
iface
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
ref_
node
row_
changed
row_
deleted
row_
has_
child_
toggled
row_
inserted
rows_
reordered
unref_
node
GJS API Reference
Gtk-2.0
Gtk
TreeModelIface
Class TreeModelIface
Hierarchy
TreeModelIface
Index
Constructors
constructor
Properties
g_
iface
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
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
g_
iface
g_
iface
:
TypeInterface
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
]
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
g_
iface
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
ref_
node
row_
changed
row_
deleted
row_
has_
child_
toggled
row_
inserted
rows_
reordered
unref_
node
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW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