PHP-GTK
Saturday, July 04, 2009 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkTreeViewColumn
GtkTreeViewColumn::cell_get_positionnext

Last updated: Sat, 04 Jul 2009
view this page in English | Bulgarian | Japanese | Brazilian | Simplified Chinese

GtkTreeViewColumn Constructor

GtkTreeViewColumn ([string title [, GtkCellRenderer cell_renderer [, string attribute [, int column]]]]);

Creates a new column object that can be added to a GtkTreeView with the add_column method.

The first parameter defines the title of the column which is shown on top of the widget. The second one, cell_renderer, is used to draw the actual values in the column of the row.

Parameter attribute selects the attribute of the cell renderer that shall be set.

The last parameter, column defines the number of the GtkTreeModel column that is displayed.

Example 140. Creating a GtkTreeViewColumn

$renderer = new GtkCellRendererText();
$column = new GtkTreeViewColumn('Title', $renderer, 'text', 0);

User Contributed Notes
gtk.gtktreeviewcolumn.constructor.php
add a note about notes
There are no user contributed notes for this page.


previousGtkTreeViewColumn
GtkTreeViewColumn::cell_get_positionnext

Last updated: Sat, 04 Jul 2009
view this page in English | Bulgarian | Japanese | Brazilian | Simplified Chinese


credits 

PHP  Copyright © 2001-2009 The PHP Group
 All rights reserved.
Last updated: Sat Jul 4 01:52:51 2009 UTC