Gtk2::TreeSelection man page on aLinux

Man page or keyword search:  
man Server   7435 pages
apropos Keyword Search (all sections)
Output format
aLinux logo
[printable version]

Gtk2::TreeSelection(3)User Contributed Perl DocumentatioGtk2::TreeSelection(3)

NAME
       Gtk2::TreeSelection

HIERARCHY
	 Glib::Object
	 +----Gtk2::TreeSelection

METHODS
       integer = $selection->count_selected_rows

       boolean = $selection->iter_is_selected ($iter)

	   ·   $iter (Gtk2::TreeIter)

       selectionmode = $selection->get_mode

       $selection->set_mode ($type)

	   ·   $type (Gtk2::SelectionMode)

       boolean = $selection->path_is_selected ($path)

	   ·   $path (Gtk2::TreePath)

       $selection->select_all

       $selection->set_select_function ($func, $data=undef)

	   ·   $func (scalar)

	   ·   $data (scalar)

       $selection->select_iter ($iter)

	   ·   $iter (Gtk2::TreeIter)

       $selection->select_path ($path)

	   ·   $path (Gtk2::TreePath)

       $selection->select_range ($start_path, $end_path)

	   ·   $start_path (Gtk2::TreePath)

	   ·   $end_path (Gtk2::TreePath)

       $selection->selected_foreach ($func, $data=undef)

	   ·   $func (subroutine)

	   ·   $data (scalar)

	   Call $func on every selected row in $selection's view.

       iter = $tree_selection->get_selected

       (model, iter) = $tree_selection->get_selected

	   Since most of the time you are only interested in the iter,
	   "get_selected" returns only the iter in scalar context.

       @paths = $selection->get_selected_rows

	   Returns the Gtk2::TreePath of each selected row, or an empty list
	   if no rows are selected.  The model is not returned, as documented
	   in the C API reference.  To get the model, try
	   "$selection->get_tree_view->get_model".

       treeview = $selection->get_tree_view

       $selection->unselect_all

       $selection->unselect_iter ($iter)

	   ·   $iter (Gtk2::TreeIter)

       $selection->unselect_path ($path)

	   ·   $path (Gtk2::TreePath)

       $selection->unselect_range ($start_path, $end_path)

	   ·   $start_path (Gtk2::TreePath)

	   ·   $end_path (Gtk2::TreePath)

       scalar = $selection->get_user_data

SIGNALS
       changed (Gtk2::TreeSelection)

ENUMS AND FLAGS
       enum Gtk2::SelectionMode

       ·   'none' / 'GTK_SELECTION_NONE'

       ·   'single' / 'GTK_SELECTION_SINGLE'

       ·   'browse' / 'GTK_SELECTION_BROWSE'

       ·   'multiple' / 'GTK_SELECTION_MULTIPLE'

       ·   'extended' / 'GTK_SELECTION_EXTENDED'

SEE ALSO
       Gtk2, Glib::Object

COPYRIGHT
       Copyright (C) 2003-2006 by the gtk2-perl team.

       This software is licensed under the LGPL.  See Gtk2 for a full notice.

perl v5.10.0			  2008-08-29		Gtk2::TreeSelection(3)
[top]

List of man pages available for aLinux

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net