Jeffrey Ray Hallock > Gapp-0.484 > Gapp::TreeViewColumn

Download:
Gapp-0.484.tar.gz

Dependencies

Annotate this POD

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

NAME ^

Gapp::TreeViewColumn - TreeViewColumn Widget

OBJECT HIERARCHY ^

Gapp::Object
+-- Gapp::TreeViewColumn

PROVIDED ATTRIBUTES ^

data_column
isa: Int
default: 0

The column in the model that to pull data from. This is what will be displayed within the renderer. You can use the data_func attribute to manipulate the data before it is rendered in the cell.

data_func
isa: Str|CodeRef|Undef

Use this to manipulate the data from data_column before rendering it in the cell. The return value is what will be passed to the renderer. The <$_> variable will be set to the data from data_column within the callback.

name
isa: Str
default: undef

By naming your column you can use $treeview-find_column( $name )> to retrieve them later.

renderer
isa: Gapp::CellRenderer
default: Gapp::CellRenderer->new( gclass => 'Gtk2::CellRendererText', property => 'markup' );

DELEGATED PROPERIES ^

alignment
clickable
expand
fixed_width
min_width
reorderable
resizable
sizing
sort_column_id
sort_indicator
sort_order
spacing
title
visible_width

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: