Have you been wanting to use Glade with PHP-GTK2, but you're stumped about the many "strange behaviors" in Glade? Then read on, because I'm about to show you how to...
Develop PHP-GTK Apps
Dear PHP-GTK Friend,
The Invaluable Widget Tree
Besides the ability to create and layout widgets visually, one of the best features I really like is the widget tree as shown on the right. When you start to build complicated user interfaces with lots of embedding hbox's and vbox's, this tree that shows the entire widgets hierarchy is invaluable.
Does This Ring Any Bells?
However, unless you have used Glade or similar tools before, there are many "strange behaviors" that confuse a lot of people new to Glade (especially so for people who have been using Visual Basic/C++).
For example, try adding a label + a button into a window. Unless you already know the concepts of bins and containers, you will most likely think that it's a bug with the application.
And try setting the size of a button without using any hbox or vbox. It's an impossible thing to achieve for someone new to Glade or PHP-GTK!
"Introduction to Glade for PHP-GTK2"
I'm going to show you in this book all the important key concepts you need to know to use this power tool.
You won't find any of these tips and techniques documented in the offical Glade site. There are also very little documentation or tutorials on the use of Glade on the Internet (especially one that is dedicated to PHP-GTK). Strange, isn't it? It's like they are expecting all people using Glade to be experts in GTK+!
I will show you the easiest way of learning and using Glade, even if you know nothing about GTK.
The one other stumbling block for people new to PHP-GTK is: after you have created the user interface in Glade, how do you integrate the .glade files with PHP-GTK? You can use Glade to design the most beautiful layout in the world. But it's your core PHP-GTK script that gives life to your application — the business logic, the event handlers, etc.
I will show you in the book exactly how the .glade files and your PHP-GTK2 scripts are integrated together.
This ebook is delivered in a PDF format. You will need the FREE Adobe Acrobat reader in order to display and/or print this report on your Linux, PC or Macintosh.