Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

Struct Gtk.TreeIter

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-3.0.gir
C documentation: GtkTreeIter
Struct : TreeIter
The GtkTreeIter is the primary structure
for accessing a GtkTreeModel. Models are expected to put a unique
integer in the stamp member, and put
model-specific data in the three user_data
members.
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
 
new Gtk.TreeIter ()
Create a new Gtk.TreeIter
Create a new Gtk.TreeIter
 
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gtk.CellArea
Signal
apply_attributes (CellArea self, TreeModel model, TreeIter iter, gboolean is_expander, gboolean is_expanded) : none
This signal is emitted whenever applying attributes to area from model
Gtk.CellArea
Method
apply_attributes (TreeModel tree_model, TreeIter iter, gboolean is_expander, gboolean is_expanded) : none
Applies any connected attributes to the renderers in
Gtk.CellRendererCombo
Signal
changed (CellRendererCombo self, String path_string, TreeIter new_iter) : none
This signal is emitted each time after the user selected an item in
the combo box, either by using the mouse or the arrow keys.
Gtk.ComboBox
Method
set_active_iter (TreeIter iter) : none
Sets the current active item to be the one referenced by iter, or
unsets the active item if iter is NULL.
Gtk.EntryCompletion
Signal
cursor_on_match (EntryCompletion self, TreeModel model, TreeIter iter) : gboolean
Gets emitted when a match from the cursor is on a match
of the list.
Gtk.EntryCompletion
Signal
match_selected (EntryCompletion self, TreeModel model, TreeIter iter) : gboolean
Gets emitted when a match from the list is selected.
Gtk.ListStore
Method
append () : Gtk.TreeIter
Appends a new row to list_store.
Gtk.ListStore
Method
insert (TreeIter iter, gint32 position) : Gtk.TreeIter
Creates a new row at position.
Gtk.ListStore
Method
insert_after (TreeIter iter, TreeIter sibling) : Gtk.TreeIter
Inserts a new row after sibling.
Gtk.ListStore
Method
insert_before (TreeIter iter, TreeIter sibling) : Gtk.TreeIter
Inserts a new row before sibling.
Gtk.ListStore
Method
insert_with_valuesv (TreeIter iter, gint32 position, Array columns, Array values, gint32 n_values) : Gtk.TreeIter
A variant of gtk_list_store_insert_with_values() which
takes the columns and values as two arrays, instead of
varargs.
Gtk.ListStore
Method
iter_is_valid (TreeIter iter) : gboolean
This function is slow.
Gtk.ListStore
Method
move_after (TreeIter iter, TreeIter position) : none
Moves iter in store to the position after position.
Gtk.ListStore
Method
move_before (TreeIter iter, TreeIter position) : none
Moves iter in store to the position before position.
Gtk.ListStore
Method
prepend () : Gtk.TreeIter
Prepends a new row to list_store.
Gtk.ListStore
Method
remove (TreeIter iter) : gboolean
Removes the given row from the list store.
Gtk.ListStore
Method
set_value (TreeIter iter, gint32 column, Value value) : none
Sets the data in the cell specified by iter and column.
Gtk.ListStore
Method
set (TreeIter iter, Array columns, Array values, gint32 n_values) : none
Sets the value of one or more cells in the row referenced by iter.
Gtk.ListStore
Method
swap (TreeIter a, TreeIter b) : none
Swaps a and b in store.
Gtk.TreeModel
Signal
row_changed (TreeModel self, TreePath path, TreeIter iter) : none
This signal is emitted when a row in the model has changed.
Gtk.TreeModel
Signal
row_has_child_toggled (TreeModel self, TreePath path, TreeIter iter) : none
This signal is emitted when a row has gotten the first child
row or lost its last child row.
Gtk.TreeModel
Signal
row_inserted (TreeModel self, TreePath path, TreeIter iter) : none
This signal is emitted when a new row has been inserted in
the model.
Gtk.TreeModel
Method
get_path (TreeIter iter) : Gtk.TreePath
Returns a newly-created GtkTreePath referenced by iter.
Gtk.TreeModel
Method
get_string_from_iter (TreeIter iter) : String
Generates a string representation of the iter.
Gtk.TreeModel
Method
get_value (TreeIter iter, gint32 column) : GObject.Value
Initializes and sets value to that at column.
Gtk.TreeModel
Method
iter_children (Object out_values, TreeIter parent) : gboolean
Sets iter to point to the first child of parent.
Gtk.TreeModel
Method
iter_has_child (TreeIter iter) : gboolean
Returns TRUE if iter has children, FALSE otherwise.
Gtk.TreeModel
Method
iter_n_children (TreeIter iter) : gint32
Returns the number of children that iter has.
Gtk.TreeModel
Method
iter_next (TreeIter iter) : gboolean
Sets iter to point to the node following it at the current level.
Gtk.TreeModel
Method
iter_nth_child (Object out_values, TreeIter parent, gint32 n) : gboolean
Sets iter to be the child of parent, using the given index.
Gtk.TreeModel
Method
iter_parent (Object out_values, TreeIter child) : gboolean
Sets iter to be the parent of child.
Gtk.TreeModel
Method
iter_previous (TreeIter iter) : gboolean
Sets iter to point to the previous node at the current level.
Gtk.TreeModel
Method
ref_node (TreeIter iter) : none
Lets the tree ref the node.
Gtk.TreeModel
Method
row_changed (TreePath path, TreeIter iter) : none
Emits the GtkTreeModel::row-changed signal on tree_model.
Gtk.TreeModel
Method
row_has_child_toggled (TreePath path, TreeIter iter) : none
Emits the GtkTreeModel::row-has-child-toggled signal on
state of a node changes.
Gtk.TreeModel
Method
row_inserted (TreePath path, TreeIter iter) : none
Emits the GtkTreeModel::row-inserted signal on tree_model.
Gtk.TreeModel
Method
unref_node (TreeIter iter) : none
Lets the tree unref the node.
Gtk.TreeModelFilter
Method
convert_child_iter_to_iter (Object out_values, TreeIter child_iter) : gboolean
Sets filter_iter to point to the row in filter that corresponds to the
row pointed at by child_iter.
Gtk.TreeModelFilter
Method
convert_iter_to_child_iter (TreeIter child_iter, TreeIter filter_iter) : Gtk.TreeIter
Sets child_iter to point to the row pointed to by filter_iter.
Gtk.TreeModelSort
Method
convert_child_iter_to_iter (Object out_values, TreeIter child_iter) : gboolean
Sets sort_iter to point to the row in tree_model_sort that corresponds to
the row pointed at by child_iter.
Gtk.TreeModelSort
Method
convert_iter_to_child_iter (TreeIter child_iter, TreeIter sorted_iter) : Gtk.TreeIter
Sets child_iter to point to the row pointed to by sorted_iter.
Gtk.TreeModelSort
Method
iter_is_valid (TreeIter iter) : gboolean

This function is slow.
Gtk.TreeSelection
Method
iter_is_selected (TreeIter iter) : gboolean
Returns TRUE if the row at iter is currently selected.
Gtk.TreeSelection
Method
select_iter (TreeIter iter) : none
Selects the specified iterator.
Gtk.TreeSelection
Method
unselect_iter (TreeIter iter) : none
Unselects the specified iterator.
Gtk.TreeStore
Method
append (TreeIter iter, TreeIter parent) : Gtk.TreeIter
Appends a new row to tree_store.
Gtk.TreeStore
Method
insert (TreeIter iter, TreeIter parent, gint32 position) : Gtk.TreeIter
Creates a new row at position.
Gtk.TreeStore
Method
insert_after (TreeIter iter, TreeIter parent, TreeIter sibling) : Gtk.TreeIter
Inserts a new row after sibling.
Gtk.TreeStore
Method
insert_before (TreeIter iter, TreeIter parent, TreeIter sibling) : Gtk.TreeIter
Inserts a new row before sibling.
Gtk.TreeStore
Method
insert_with_values (TreeIter iter, TreeIter parent, gint32 position, Array columns, Array values, gint32 n_values) : Gtk.TreeIter
Creates a new row at position.
Gtk.TreeStore
Method
is_ancestor (TreeIter iter, TreeIter descendant) : gboolean
Returns TRUE if iter is an ancestor of descendant.
Gtk.TreeStore
Method
iter_depth (TreeIter iter) : gint32
Returns the depth of iter.
Gtk.TreeStore
Method
iter_is_valid (TreeIter iter) : gboolean
purposes.
Gtk.TreeStore
Method
move_after (TreeIter iter, TreeIter position) : none
Moves iter in tree_store to the position after position.
Gtk.TreeStore
Method
move_before (TreeIter iter, TreeIter position) : none
Moves iter in tree_store to the position before position.
Gtk.TreeStore
Method
prepend (TreeIter iter, TreeIter parent) : Gtk.TreeIter
Prepends a new row to tree_store.
Gtk.TreeStore
Method
remove (TreeIter iter) : gboolean
Removes iter from tree_store.
Gtk.TreeStore
Method
set_value (TreeIter iter, gint32 column, Value value) : none
Sets the data in the cell specified by iter and column.
Gtk.TreeStore
Method
set (TreeIter iter, Array columns, Array values, gint32 n_values) : none
Sets the value of one or more cells in the row referenced by iter.
Gtk.TreeStore
Method
swap (TreeIter a, TreeIter b) : none
Swaps a and b in the same level of tree_store.
Gtk.TreeView
Signal
row_collapsed (TreeView self, TreeIter iter, TreePath path) : none
The given row has been collapsed (child nodes are hidden).
Gtk.TreeView
Signal
row_expanded (TreeView self, TreeIter iter, TreePath path) : none
The given row has been expanded (child nodes are shown).
Gtk.TreeView
Signal
test_collapse_row (TreeView self, TreeIter iter, TreePath path) : gboolean
The given row is about to be collapsed (hide its children nodes).
Gtk.TreeView
Signal
test_expand_row (TreeView self, TreeIter iter, TreePath path) : gboolean
The given row is about to be expanded (show its children nodes).
Gtk.TreeViewColumn
Method
cell_set_cell_data (TreeModel tree_model, TreeIter iter, gboolean is_expander, gboolean is_expanded) : none
Sets the cell renderer based on the tree_model and iter.
Gucharmap.ChaptersModel
Method
character_to_iter (gunichar wc, TreeIter iter) : gboolean
Gucharmap.ChaptersModel
Method
get_codepoint_list (TreeIter iter) : Gucharmap.CodepointList
Gucharmap.ChaptersModel
Method
id_to_iter (String id, TreeIter iter) : gboolean
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:15:34 GMT+0800 (HKT)