• 26 May 2013 - Since the new version attracted too many spammy registrations (around 250 fake accounts/day), user registrations are now protected by Mollom's spam protection service. Contact us if this causes some trouble.
  • 01 May 2013 - After the site upgrade, all passwords were reset and you will need to ask the site for a login reset on your first connection.

GtkWidget

GtkEntryCompletion

The GtkEntry widget is more pleasant to use when it is fitted with auto-completion help using the GtkEntryCompletion widget. This example show how to use it. GtkEntry auto-completion example

Managing Multiple Windows

Intro

This code snippet shows one of the many ways to handle multiple windows in PHP-GTK 2. In the following example will build 3 classes (Application, GtkWindow_One and GtkWindow_Two).

Editable cells within GtkTreeView

Intro

this script is based on example in the PHP-GTK 2 manual, which was left unfinished. So here is a working example with editable columns.

TreeViewPhpModel class - an easy way to build visual tree with GtkTreeView widget

What ?

Building a list for php-gtk2 using the complete framework is really complex task. When you only need to display a data tree and collect user selection, please, use this class. It very easy to use, no need to take care of complex GtkTreeView classes.

PhpGtkDirectoryTree: displaying a directory tree

Displaying a directory tree with php-gtk is not really simple. But with a little help, you will be able to create a new Widget Tree based on GtkTreeView. You can create new widgets with php-gtk in a few lines of code. This task is far more involved with pure C/Gtk code.

GtkNotebook

GtkNotebook example Here is a quick example for GtkNotebook. Actually, it seems that only switch-page signal can be sent.

Syndiquer le contenu