PHP-GTK News #11

Development

Patches:
The following patches have been added to PHP-GTK 2

These patches mark the completion of step one in the alpha release plan. Next the Windows issues must tackled, along with the selection of one of the two Scintilla extensions and updates to the packaging script.

Reflection for set_visible():
Christian added reflection information for the GtkWidget::set_visible patch that was added last week. This provides information to be used by the Reflection extension. It also makes it possible to automatically generate documentation XML for this method.

Drag-n-drop Segfault:
A few issues were reported this week with drag-n-drop functionality. The drag-n-drop implementation can cause a few seg faults. These can happen when a signal handler is connected to “drag-data-get“, after closing a window when drag-n-drop was used or when dumping the selection “drag-data-get” callback.

Documentation

New Glade tutorial:
Christian added a new tutorial on using .glade files to build the UI of an application. This is not a tutorial on using Glade itself, but a tutorial on what to do next once you have created the .glade file.

General

Exteding widgets:
Dave wrote into the general mailing list this week asking how he can use a custom Gtk+1.2 widget in a PHP-GTK 1 application. His custom widget is written in C. Custom widgets for PHP-GTK 1 or 2 can be used by writing an extension for PHP-GTK.
On a somewhat related note, if you simply want to create your own widget in PHP-GTK 1 or 2 you can extend GtkWidget or any other class. This allows you to create things like a calendar button that sets a date, or a custom entry completion widget.

Gnope.org:
Christian is everywhere these days it seems. He has released a new package on Gnope.org that is a new spin on IDEs. Gnope/Dev_ClickPhp is a drag-n-drop developement environment. It is still in the very early stages but still worth taking a look at.

Leave a Reply

You must be logged in to post a comment.