Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

Struct Gtk.TreePath

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-3.0.gir
C documentation: GtkTreePath
Struct : TreePath
Properties
None
Methods / Constructors
Method / Constructor Defined By
 
new Gtk.TreePath.c_new () : Gtk.TreePath
Create a new Gtk.TreePath
Create a new Gtk.TreePath
Returns:
Gtk.TreePath A newly created GtkTreePath.
 
 
new Gtk.TreePath.first () : Gtk.TreePath
Create a new Gtk.TreePath
Create a new Gtk.TreePath
Returns:
Gtk.TreePath A new GtkTreePath
 
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gtk
Method
Gtk.tree_row_reference_deleted (Object proxy, TreePath path) : none
Lets a set of row reference created by
gtk_tree_row_reference_new_proxy() know that the
model emitted the GtkTreeModel::row-deleted signal.
Gtk
Method
Gtk.tree_row_reference_inserted (Object proxy, TreePath path) : none
Lets a set of row reference created by
gtk_tree_row_reference_new_proxy() know that the
model emitted the GtkTreeModel::row-inserted signal.
Gtk
Method
Gtk.tree_set_row_drag_data (SelectionData selection_data, TreeModel tree_model, TreePath path) : gboolean
Sets selection data of target type GTK_TREE_MODEL_ROW.
Gtk.CellView
Method
get_displayed_row () : Gtk.TreePath
Returns a GtkTreePath referring to the currently
displayed row.
Gtk.CellView
Method
get_size_of_row (TreePath path, Object out_values) : gboolean
Sets requisition to the size needed by cell_view to display
the model row pointed to by path.
Gtk.CellView
Method
set_displayed_row (TreePath path) : none
Sets the row of the model that is currently displayed
by the GtkCellView.
Gtk.IconView
Signal
item_activated (IconView self, TreePath path) : none
The ::item-activated signal is emitted when the method
gtk_icon_view_item_activated() is called or the user double
clicks an item.
Gtk.IconView
Method
create_drag_icon (TreePath path) : cairo.Surface
Creates a cairo_surface_t representation of the item at path.
Gtk.IconView
Method
get_drag_dest_item () : Object
Gets information about the item that is highlighted for feedback.
Gtk.IconView
Method
get_item_column (TreePath path) : gint32
Gets the column in which the item path is currently
displayed.
Gtk.IconView
Method
get_item_row (TreePath path) : gint32
Gets the row in which the item path is currently
displayed.
Gtk.IconView
Method
get_path_at_pos (gint32 x, gint32 y) : Gtk.TreePath
Finds the path at the point (x, y), relative to bin_window coordinates.
Gtk.IconView
Method
item_activated (TreePath path) : none
Activates the item determined by path.
Gtk.IconView
Method
path_is_selected (TreePath path) : gboolean
Returns TRUE if the icon pointed to by path is currently
selected.
Gtk.IconView
Method
scroll_to_path (TreePath path, gboolean use_align, gfloat row_align, gfloat col_align) : none
Moves the alignments of icon_view to the position specified by path.
Gtk.IconView
Method
select_path (TreePath path) : none
Selects the row at path.
Gtk.IconView
Method
set_cursor (TreePath path, CellRenderer cell, gboolean start_editing) : none
Sets the current keyboard focus to be at path, and selects it.
Gtk.IconView
Method
set_drag_dest_item (TreePath path, IconViewDropPosition pos) : none
Sets the item that is highlighted for feedback.
Gtk.IconView
Method
set_tooltip_cell (Tooltip tooltip, TreePath path, CellRenderer cell) : none
Sets the tip area of tooltip to the area which cell occupies in
the item pointed to by path.
Gtk.IconView
Method
set_tooltip_item (Tooltip tooltip, TreePath path) : none
Sets the tip area of tooltip to be the area covered by the item at path.
Gtk.IconView
Method
unselect_path (TreePath path) : none
Unselects the row at path.
Gtk.TreeDragDest
Method
drag_data_received (TreePath dest, SelectionData selection_data) : gboolean
Asks the GtkTreeDragDest to insert a row before the path dest,
deriving the contents of the row from selection_data.
Gtk.TreeDragDest
Method
row_drop_possible (TreePath dest_path, SelectionData selection_data) : gboolean
Determines whether a drop is possible before the given dest_path,
at the same depth as dest_path.
Gtk.TreeDragSource
Method
drag_data_delete (TreePath path) : gboolean
Asks the GtkTreeDragSource to delete the row at path, because
it was moved somewhere else via drag-and-drop.
Gtk.TreeDragSource
Method
drag_data_get (TreePath path, Object out_values) : gboolean
Asks the GtkTreeDragSource to fill in selection_data with a
representation of the row at path.
Gtk.TreeDragSource
Method
row_draggable (TreePath path) : gboolean
Asks the GtkTreeDragSource whether a particular row can be used as
the source of a DND operation.
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_deleted (TreeModel self, TreePath path) : none
This signal is emitted when a row has been deleted.
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
filter_new (TreePath root) : Gtk.TreeModel
Creates a new GtkTreeModel, with child_model as the child_model
and root as the virtual root.
Gtk.TreeModel
Method
get_iter (Object out_values, TreePath path) : gboolean
Sets iter to a valid iterator pointing to path.
Gtk.TreeModel
Method
get_path (TreeIter iter) : Gtk.TreePath
Returns a newly-created GtkTreePath referenced by iter.
Gtk.TreeModel
Method
row_changed (TreePath path, TreeIter iter) : none
Emits the GtkTreeModel::row-changed signal on tree_model.
Gtk.TreeModel
Method
row_deleted (TreePath path) : none
Emits the GtkTreeModel::row-deleted 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.TreeModelFilter
Property
virtual_root : Gtk.TreePath
Gtk.TreeModelFilter
Method
convert_child_path_to_path (TreePath child_path) : Gtk.TreePath
Converts child_path to a path relative to filter.
Gtk.TreeModelFilter
Method
convert_path_to_child_path (TreePath filter_path) : Gtk.TreePath
Converts filter_path to a path on the child model of filter.
Gtk.TreeModelSort
Method
convert_child_path_to_path (TreePath child_path) : Gtk.TreePath
Converts child_path to a path relative to tree_model_sort.
Gtk.TreeModelSort
Method
convert_path_to_child_path (TreePath sorted_path) : Gtk.TreePath
Converts sorted_path to a path on the child model of tree_model_sort.
Gtk.TreeRowReference
Method
new Gtk.TreeRowReference.c_new (TreeModel model, TreePath path) : Gtk.TreeRowReference
Create a new Gtk.TreeRowReference
Gtk.TreeRowReference
Method
new Gtk.TreeRowReference.proxy (Object proxy, TreeModel model, TreePath path) : Gtk.TreeRowReference
Create a new Gtk.TreeRowReference
Gtk.TreeRowReference
Method
get_path () : Gtk.TreePath
Returns a path that the row reference currently points to,
or NULL if the path pointed to is no longer valid.
Gtk.TreeSelection
Method
path_is_selected (TreePath path) : gboolean
Returns TRUE if the row pointed to by path is currently selected.
Gtk.TreeSelection
Method
select_path (TreePath path) : none
Select the row at path.
Gtk.TreeSelection
Method
select_range (TreePath start_path, TreePath end_path) : none
Selects a range of nodes, determined by start_path and end_path inclusive.
Gtk.TreeSelection
Method
unselect_path (TreePath path) : none
Unselects the row at path.
Gtk.TreeSelection
Method
unselect_range (TreePath start_path, TreePath end_path) : none
Unselects a range of nodes, determined by start_path and end_path
inclusive.
Gtk.TreeView
Signal
row_activated (TreeView self, TreePath path, TreeViewColumn column) : none
The "row-activated" signal is emitted when the method
gtk_tree_view_row_activated() is called or the user double clicks
a treeview row.
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.TreeView
Method
collapse_row (TreePath path) : gboolean
Collapses a row (hides its child rows, if they exist).
Gtk.TreeView
Method
create_row_drag_icon (TreePath path) : cairo.Surface
Creates a cairo_surface_t representation of the row at path.
Gtk.TreeView
Method
expand_row (TreePath path, gboolean open_all) : gboolean
Opens the row so its children are visible.
Gtk.TreeView
Method
expand_to_path (TreePath path) : none
Expands the row at path.
Gtk.TreeView
Method
get_background_area (TreePath path, TreeViewColumn column) : cairo.RectangleInt
Fills the bounding rectangle in bin_window coordinates for the cell at the
row specified by path and the column specified by column.
Gtk.TreeView
Method
get_cell_area (TreePath path, TreeViewColumn column) : cairo.RectangleInt
Fills the bounding rectangle in bin_window coordinates for the cell at the
row specified by path and the column specified by column.
Gtk.TreeView
Method
get_cursor () : Object
Fills in path and focus_column with the current path and focus column.
Gtk.TreeView
Method
get_drag_dest_row () : Object
Gets information about the row that is highlighted for feedback.
Gtk.TreeView
Method
row_activated (TreePath path, TreeViewColumn column) : none
Activates the cell determined by path and column.
Gtk.TreeView
Method
row_expanded (TreePath path) : gboolean
Returns TRUE if the node pointed to by path is expanded in tree_view.
Gtk.TreeView
Method
scroll_to_cell (TreePath path, TreeViewColumn column, gboolean use_align, gfloat row_align, gfloat col_align) : none
Moves the alignments of tree_view to the position specified by column and
if path is NULL no vertical scrolling occurs.
Gtk.TreeView
Method
set_cursor (TreePath path, TreeViewColumn focus_column, gboolean start_editing) : none
Sets the current keyboard focus to be at path, and selects it.
Gtk.TreeView
Method
set_cursor_on_cell (TreePath path, TreeViewColumn focus_column, CellRenderer focus_cell, gboolean start_editing) : none
Sets the current keyboard focus to be at path, and selects it.
Gtk.TreeView
Method
set_drag_dest_row (TreePath path, TreeViewDropPosition pos) : none
Sets the row that is highlighted for feedback.
Gtk.TreeView
Method
set_tooltip_cell (Tooltip tooltip, TreePath path, TreeViewColumn column, CellRenderer cell) : none
Sets the tip area of tooltip to the area path, column and cell have
in common.
Gtk.TreeView
Method
set_tooltip_row (Tooltip tooltip, TreePath path) : none
Sets the tip area of tooltip to be the area covered by the row at path.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:15:35 GMT+0800 (HKT)