GtkSheet sample code

Just started to explore GtkSheet in detail.

Have added two sample codes on GtkSheet:

  • Part 1 shows you how to create a new GtkSheet. It also introduces GtkSheet::set_autoresize().
  • Part 2 shows you how to read cell contents form a GtkSheet.

There will be more parts to come, of course. There are a lot of methods and signals for this widget. So stay tuned if you’re interested in this widget.

A minor bug that I found: when a GtkSheet is first started, and you immediately start typing something, nothing will appear. Only when you move the cursor to another cell with the mouse or keyboard, then the spreadsheet will start working.

Did you encounter the same thing on your pc too?

/kksou

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

Leave a Reply