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::TreeViewColumn(3) User Contributed Perl Documentation Gtk2::TreeViewColumn(3)

Gtk2::TreeViewColumn - wrapper for GtkTreeViewColumn

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::TreeViewColumn

  Gtk2::CellLayout
  Gtk2::Buildable

  • $title (string)
  • $cell (Gtk2::CellRenderer)
  • ... (list) pairs of attributes and columns
  • $col1 (integer) the first column
  • $attr1 (string) the first attribute

  • $cell_renderer (Gtk2::CellRenderer)
  • $attribute (string)
  • $column (integer)

$xalign (double)

  • $cell_renderer (Gtk2::CellRenderer)
  • ... (list) pairs of attributes and columns
  • $col1 (integer) the first column
  • $attr1 (string) the first attribute

  • $cell_renderer (Gtk2::CellRenderer)
  • $func (subroutine)
  • $data (scalar)

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.

$cell_renderer (Gtk2::CellRenderer)

Since: gtk+ 2.2

Returns a list of Gtk2::CellRenderer's.

  • $tree_model (Gtk2::TreeModel)
  • $iter (Gtk2::TreeIter)
  • $is_expander (boolean)
  • $is_expanded (boolean)

$cell_renderer (Gtk2::CellRenderer)

$clickable (boolean)

Since: gtk+ 2.4

$expand (boolean)

Since: gtk+ 2.4

$fixed_width (integer)

$cell (Gtk2::CellRenderer)

Since: gtk+ 2.2

$max_width (integer)

$min_width (integer)

  • $cell (Gtk2::CellRenderer)
  • $expand (boolean)

  • $cell (Gtk2::CellRenderer)
  • $expand (boolean)

Since: gtk+ 2.8

$reorderable (boolean)

$resizable (boolean)

$type (Gtk2::TreeViewColumnSizing)

$sort_column_id (integer)

$setting (boolean)

$order (Gtk2::SortType)

$spacing (integer)

$title (string)

Since: gtk+ 2.12

$visible (boolean)

$widget (Gtk2::Widget or undef)

'alignment' (float : default 0 : readable / writable / private / static-nick / static-blurb)
X Alignment of the column header text or widget
'clickable' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Whether the header can be clicked
'expand' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Column gets share of extra width allocated to the widget
'fixed-width' (integer : default 1 : readable / writable / private / static-nick / static-blurb)
Current fixed width of the column
'max-width' (integer : default -1 : readable / writable / private / static-nick / static-blurb)
Maximum allowed width of the column
'min-width' (integer : default -1 : readable / writable / private / static-nick / static-blurb)
Minimum allowed width of the column
'reorderable' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Whether the column can be reordered around the headers
'resizable' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Column is user-resizable
'sizing' (Gtk2::TreeViewColumnSizing : default "grow-only" : readable / writable / private / static-nick / static-blurb)
Resize mode of the column
'sort-column-id' (integer : default -1 : readable / writable / private / static-nick / static-blurb)
Logical sort column ID this column sorts on when selected for sorting
'sort-indicator' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Whether to show a sort indicator
'sort-order' (Gtk2::SortType : default "ascending" : readable / writable / private / static-nick / static-blurb)
Sort direction the sort indicator should indicate
'spacing' (integer : default 0 : readable / writable / private / static-nick / static-blurb)
Space which is inserted between cells
'title' (string : default "" : readable / writable / private / static-nick / static-blurb)
Title to appear in column header
'visible' (boolean : default true : readable / writable / private / static-nick / static-blurb)
Whether to display the column
'widget' (Gtk2::Widget : default undef : readable / writable / private / static-nick / static-blurb)
Widget to put in column header button instead of column title
'width' (integer : default 0 : readable / private / static-nick / static-blurb)
Current width of the column

clicked (Gtk2::TreeViewColumn)

  • 'ascending' / 'GTK_SORT_ASCENDING'
  • 'descending' / 'GTK_SORT_DESCENDING'

  • 'grow-only' / 'GTK_TREE_VIEW_COLUMN_GROW_ONLY'
  • 'autosize' / 'GTK_TREE_VIEW_COLUMN_AUTOSIZE'
  • 'fixed' / 'GTK_TREE_VIEW_COLUMN_FIXED'

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::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.