PHP-GTK2 Newsletter
|
Sample Code 248: How to use GtkSheet - Part 3 - set values? |
| Written by kksou | ||||||
| Monday, 04 June 2007 | ||||||
|
Problem You have displayed a 2D array in a GtkTable in How to display a 2D array in table - Part 1?. You have also displayed a 2D array in a GtkTreeView in How to display a 2D array in GtkTreeView - Part 1?. Now you would like to display the 2D array in a GtkSheet as shown below:
Solution
Important Note: This only works for PHP-GTK2 compliled with the additional library GtkExtra. For linux, you can download the files from http://gtkextra.sourceforge.net/ and do a recompile. For windows, you may use the builds by Elizabeth Smith or the official php-gtk2 beta release available at http://gtk.php.net/download.php. Both contain all the required gtkextra libraries and dll's. In the Sample Code
Explanation
Related Links
|
||||||
| < Prev | Next > |
|---|




