PHP-GTK
Sunday, November 23, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkTreeViewColumn
GtkTreeViewColumn::cell_get_positionnext

Last updated: Sun, 12 May 2013
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 143. 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, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:51:01 2013 CEST