PHP-GTK News #16

June has started, and with that comes some finishing touches for the alpha release of PHP-GTK 2.

  • A few class implementations were completed
  • PHP-GTK 2 was made PHP 5.2 ready
  • A fix for the Win32 crash has been identified
  • More documentation updates
  • And more online resources for PHP-GTK users

Read on for more details about the PHP-GTK news from the first week of June 2006.

Development

Implementing last missing GtkNotebook method: query_tab_label_packing():
Christian has implemented the last missing GtkNotebook method, query_tab_label_packing(). The implementation of GtkNotebook should now be complete. GtkNotebook is a container that organizes its children in to pages, only one of which can be shown at a time. It provides an interface similar to the tabbed design common on many websites. GtkNotebook::query_tab_label_packing() returns an array of information about the way the labels in the tabs are treated when they are packed.

Adding last missing GtkBox method: query_child_packing():
Christian also added the final piece to GtkBox, query_child_packing(). GtkBox is an abstract base class for other box classes. GtkBox::query_child_packing() returns the default attributes used to pack children into the box.

Lots of reviews by Andrei:
Having returned from Russia, Andrei set to the task of reviewing the many patches that were submitted in the last few weeks. He made some suggestions, asked some questions and approved others. Once the remaining patches are updated, they should be all set to be committed.

PHP_5_2 Patch Committed:
This week Andrei reviewed and committed Steph’s PHP_5_2 patch. PHP-GTK 2 should now be able to make a smooth transition when PHP 5.2.x is released.

Win32 issues resolved:
After many weeks of hard work and determination, Steph was finally able to track down the Win32 crash with the help of some of the PHP Interanals folks. The issue hasn’t been fixed quite yet, but after a hopefully brief debate, a patch will be applied that will make it safe to use PHP-GTK 2 with version of PHP greater than 5.1.3.

Documentation

Documentation updates this week:

Documentation coverage analysis:
Christian has created a script that provides a report on the documentation coverage. It lists the total number of methods, signals, and properties for each class as well as the number of each that have been documented. At the moment, the coverage table says that the docs are 30% complete. The script has not yet been added to the PHP-GTK site, but it will be. For now it can be seen on php-gtk2.de.

General

Ron Tarrant’s Blog Is Back:
Ron Tarrant is back from his blogging leave of absence. He has posted several new articles on programming with PHP-GTK 2. His latest entries cover working with GtkTreeView.

PHP|A A/R/T:
A new article on PHP-GTK 2 has been posted in PHP|Architect’s A/R/T section. The latest article, “Hello PHP-GTK 2” is a detailed walk-through of the process to build a PHP-GTK 2 application. The application being built throughout the article is far from complex (a total of six lines), but it does cover all the key points for building a PHP-GTK 2 app.

Installing on OS/X:
Ben Smith has posted his experiences with trying to install PHP-GTK 1 on Mac OS/X. He offers a script to help automate the process for other users as well as a binary for others to download and use. Read more at: http://chico.benjamindsmith.com/phpgtk_osx

Leave a Reply

You must be logged in to post a comment.