GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Gtk2::TreeSelection(3) User Contributed Perl Documentation Gtk2::TreeSelection(3)

Gtk2::TreeSelection - wrapper for GtkTreeSelection

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

$iter (Gtk2::TreeIter)

$type (Gtk2::SelectionMode)

$path (Gtk2::TreePath)

  • $func (scalar)
  • $data (scalar)

$iter (Gtk2::TreeIter)

$path (Gtk2::TreePath)

  • $start_path (Gtk2::TreePath)
  • $end_path (Gtk2::TreePath)

  • $func (subroutine)
  • $data (scalar)

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

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

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".

$iter (Gtk2::TreeIter)

$path (Gtk2::TreePath)

  • $start_path (Gtk2::TreePath)
  • $end_path (Gtk2::TreePath)

Since: gtk+ 2.2

changed (Gtk2::TreeSelection)

  • 'none' / 'GTK_SELECTION_NONE'
  • 'single' / 'GTK_SELECTION_SINGLE'
  • 'browse' / 'GTK_SELECTION_BROWSE'
  • 'multiple' / 'GTK_SELECTION_MULTIPLE'
  • 'extended' / 'GTK_SELECTION_EXTENDED'

Gtk2, Glib::Object

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

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

2022-06-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.