PHP-GTK
Sunday, November 08, 2009 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkTreeViewColumn
GtkTreeViewColumn::cell_get_positionnext

Last updated: Sun, 08 Nov 2009
view this page in English

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 142. 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: Sun, 08 Nov 2009
view this page in English


credits 

PHP  Copyright © 2001-2009 The PHP Group
 All rights reserved.
Last updated: Sun Nov 8 02:43:56 2009 UTC