Sample code for GtkCellRendererSpin

Tried last night to decipher probably the only information (at least currently) available for GtkCellRendererSpin - one of the new widgets in gtk+2.10:

http://developer.gnome.org/doc/API/2.0/gtk/GtkCellRendererSpin.html

After some trials and errors, finally figured out what it is trying to say.

So here’s a sample code to illustrate how to use this new widget:

How to input or edit numbers in GtkTreeView with GtkCellRendererSpin?

/kksou

http://www.kksou.com/php-gtk2
The place for php-gtk2 sample codes

Leave a Reply