Jeffrey Ray Hallock > Gapp-0.480 > Gapp::TreeView

Download:
Gapp-0.480.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.480   Source   Latest Release: Gapp-0.60

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.
syntax highlighting: