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.
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).
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.
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.
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.
Here is a quick example for GtkNotebook. Actually, it seems that only switch-page signal can be sent.
Commentaires récents
il y a 47 semaines 2 jours
il y a 48 semaines 2 jours
il y a 48 semaines 5 jours
il y a 51 semaines 2 jours
il y a 1 an 19 semaines
il y a 1 an 23 semaines
il y a 1 an 27 semaines
il y a 1 an 27 semaines
il y a 1 an 27 semaines
il y a 1 an 44 semaines