Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gtk2::treepath(3pm) [debian man page]

Gtk2::TreePath(3pm)					User Contributed Perl Documentation				       Gtk2::TreePath(3pm)

NAME
Gtk2::TreePath - wrapper for GtkTreePath HIERARCHY
Glib::Boxed +----Gtk2::TreePath METHODS
treepath or undef = Gtk2::TreePath->new ($path=undef) o $path (string) Create a new path. For convenience, if you pass a value for $path, this is just an alias for "new_from_string". treepath = Gtk2::TreePath->new_first treepath or undef = Gtk2::TreePath->new_from_indices ($first_index, ...) o $first_index (integer) a non-negative index value o ... (list) of zero or more index values The C API reference docs for this function say to mark the end of the list with a -1, but Perl doesn't need list terminators, so don't do that. This is specially implemented to be available for all gtk+ versions. treepath or undef = Gtk2::TreePath->new_from_string ($path=undef) o $path (string) $path->append_index ($index_) o $index_ (integer) integer = $a->compare ($b) o $b (Gtk2::TreePath) Compares two paths. If $a appears before $b in the three, returns -1. If $b appears before $a, returns 1. If the nodes are equal, returns 0. integer = $path->get_depth $path->down Moves $path to point to the first child of the current path. list = $path->get_indices Returns a list of integers describing the current indices of $path. boolean = $path->is_ancestor ($descendant) o $descendant (Gtk2::TreePath) boolean = $path->is_descendant ($ancestor) o $ancestor (Gtk2::TreePath) $path->next Moves $path to point to the next node at the current depth. $path->prepend_index ($index_) o $index_ (integer) boolean = $path->prev Moves $path to point to the previous node at the current depth, if it exists. Returns true if there is a previous node and $path was modified. string = $path->to_string boolean = $path->up Moves $path to point to its parent node; returns false if there is no parent. SEE ALSO
Gtk2, Glib::Boxed COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.14.2 2012-05-27 Gtk2::TreePath(3pm)

Check Out this Related Man Page

Gtk2::CellView(3pm)					User Contributed Perl Documentation				       Gtk2::CellView(3pm)

NAME
Gtk2::CellView - wrapper for GtkCellView HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::CellView INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable Gtk2::CellLayout METHODS
widget = Gtk2::CellView->new widget = Gtk2::CellView->new_with_markup ($markup) o $markup (string) widget = Gtk2::CellView->new_with_pixbuf ($pixbuf) o $pixbuf (Gtk2::Gdk::Pixbuf) widget = Gtk2::CellView->new_with_text ($text) o $text (string) $cell_view->set_background_color ($color) o $color (Gtk2::Gdk::Color) list = $cellview->get_cell_renderers treepath = $cell_view->get_displayed_row $cell_view->set_displayed_row ($path) o $path (Gtk2::TreePath) treemodel or undef = $cellview->get_model Since: gtk+ 2.16 $cell_view->set_model ($model) o $model (Gtk2::TreeModel or undef) requisition = $cell_view->get_size_of_row ($path) o $path (Gtk2::TreePath) PROPERTIES
'background' (string : default undef : writable / private) Background color as a string 'background-gdk' (Gtk2::Gdk::Color : default undef : readable / writable / private) Background color as a GdkColor 'background-set' (boolean : default false : readable / writable / private) Whether this tag affects the background color 'model' (Gtk2::TreeModel : default undef : readable / writable / private) The model for cell view SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.14.2 2012-05-27 Gtk2::CellView(3pm)
Man Page