man Gtk2::TreeViewColumn () - Gtk2::TreeViewColumn
NAME
Gtk2::TreeViewColumn
HIERARCHY
Glib::Object +----Glib::Object::_Unregistered::GInitiallyUnowned +----Gtk2::Object +----Gtk2::TreeViewColumn
INTERFACES
Gtk2::CellLayout
METHODS
treeviewcolumn = Gtk2::TreeViewColumn->new
- * ... (list) pairs of attributes and columns
$tree_column->set_alignment ($xalign)
- * ... (list) pairs of attributes and columns
-
Install $func as the callback to be used whenever $column needs to set up
$cell to render a cell. $func should look like this:
sub cell_data_func { my ($column, $cell, $model, $iter, $func_data) = @_; }
and should set whatever properties of $cell are required for it to draw the data properly. No return value is expected. Returns a list of Gtk2::CellRenderer's.
$tree_column->clear
$tree_column->clear_attributes ($cell_renderer)
$tree_column->set_clickable ($clickable)
$tree_column->clicked
$tree_column->set_expand ($expand)
$tree_column->set_fixed_width ($fixed_width)
$tree_column->focus_cell ($cell)
$tree_column->set_max_width ($max_width)
$tree_column->set_min_width ($min_width)
$tree_column->queue_resize
$tree_column->set_reorderable ($reorderable)
$tree_column->set_resizable ($resizable)
$tree_column->set_sizing ($type)
$tree_column->set_sort_column_id ($sort_column_id)
$tree_column->set_sort_indicator ($setting)
$tree_column->set_sort_order ($order)
$tree_column->set_spacing ($spacing)
$tree_column->set_title ($title)
$tree_column->set_visible ($visible)
$tree_column->set_widget ($widget)
PROPERTIES
- 'alignment' (Glib::Float : readable / writable / private)
- X Alignment of the column header text or widget
- 'clickable' (boolean : readable / writable / private)
- Whether the header can be clicked
- 'expand' (boolean : readable / writable / private)
- Column gets share of extra width allocated to the widget
- 'fixed-width' (integer : readable / writable / private)
- Current fixed width of the column
- 'max-width' (integer : readable / writable / private)
- Maximum allowed width of the column
- 'min-width' (integer : readable / writable / private)
- Minimum allowed width of the column
- 'reorderable' (boolean : readable / writable / private)
- Whether the column can be reordered around the headers
- 'resizable' (boolean : readable / writable / private)
- Column is user-resizable
- 'sizing' (Gtk2::TreeViewColumnSizing : readable / writable / private)
- Resize mode of the column
- 'sort-indicator' (boolean : readable / writable / private)
- Whether to show a sort indicator
- 'sort-order' (Gtk2::SortType : readable / writable / private)
- Sort direction the sort indicator should indicate
- 'spacing' (integer : readable / writable / private)
- Space which is inserted between cells
- 'title' (string : readable / writable / private)
- Title to appear in column header
- 'visible' (boolean : readable / writable / private)
- Whether to display the column
- 'widget' (Gtk2::Widget : readable / writable / private)
- Widget to put in column header button instead of column title
- 'width' (integer : readable / private)
- Current width of the column
SIGNALS
- clicked (Gtk2::TreeViewColumn)
ENUMS AND FLAGS
enum Gtk2::SortType
- * 'ascending' / 'GTK_SORT_ASCENDING'
- * 'descending' / 'GTK_SORT_DESCENDING'
enum Gtk2::TreeViewColumnSizing
- * 'grow-only' / 'GTK_TREE_VIEW_COLUMN_GROW_ONLY'
- * 'autosize' / 'GTK_TREE_VIEW_COLUMN_AUTOSIZE'
- * 'fixed' / 'GTK_TREE_VIEW_COLUMN_FIXED'
SEE ALSO
Gtk2, Glib::Object, Glib::Object::_Unregistered::GInitiallyUnowned, Gtk2::Object
COPYRIGHT
Copyright (C) 2003-2005 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.