PHP-GTK
Saturday, November 01, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousPacking Widgets
Boxes - GtkHBox and GtkVBoxnext

Last updated: Sun, 12 May 2013
view this page in English

There are different types of widgets in Gtk, depending on how many children they can contain:

The base widget you will begin your programs with (in most cases) is the GtkWindow, a bin. That means it can have only one child. So what now - one widget is a bit sparse for an application. The solution are the containers, of which you choose one and add that to the window. To that container, you can either add some widgets or even more containers. That gives you the ability to nest containers and get exactly that layout you have in your mind.

The different containers like GtkHBox, GtkVBox, GtkTable and GtkFixed behave different in the way they layout and arrange widgets. Each one suits a certain purpose and need to be combined to achieve advanced layouts.


User Contributed Notes
tutorials.packing.basics.php
add a note about notes
There are no user contributed notes for this page.


previousPacking Widgets
Boxes - GtkHBox and GtkVBoxnext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:51:01 2013 CEST