The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Gapp::TreeView - TreeView Widget

OBJECT HIERARCHY

Gapp::Object
+-- Gapp::Widget
....+-- Gapp::Container
........+-- Gapp::TreeView

PROVIDED ATTRIBUTES

columns
is rw
isa ArrayRef[Gapp::TreeViewColumn]
default []

The columns to add to the treeview.

data_column
is rw
isa Int
default 0

The default column in the model to retrieve data from. The contents of this column in the model will be returned when calling get_selected.

model
isa Gapp::Model|GtkModel|Undef

The model to use. May be a Gapp::Model or Gtk2:: object.

An array of Gapp::TreeViewColumn objects to be displayed in the view.

PROVIDED METHODS

find_column $name

Searches for and returns a column with the specified name.

returns Gapp::TreeViewColumn|Undef
get_selected

Returns a list of items selected in the view. For each of the rows selected, the contents from data_column in the model will be returned.

returns Array|Undef

AUTHORS

Jeffrey Ray Hallock <jeffrey.hallock at gmail dot com>

COPYRIGHT & LICENSE

    Copyright (c) 2011-2012 Jeffrey Ray Hallock.

    This program is free software; you can redistribute it and/or
    modify it under the same terms as Perl itself.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 166:

=back without =over