Re: Child Packing

From: Date: Sat, 08 Jan 2005 13:39:16 +0000
Subject: Re: Child Packing
References: 1 2 3 4 5  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-5415@lists.php.net to get a copy of this message
You could aways just use GtkFixed or similar & then set_usize on the contents , its a bit like CSS with absolute positioning. Regards, Simon. ----- Original Message ----- From: "Ciprian Popovici" <ciprian@zuavra.net> To: <php-gtk-general@lists.php.net> Sent: Saturday, January 08, 2005 9:25 PM Subject: Re: [PHP-GTK] Child Packing > On Thu, 6 Jan 2005 13:30:41 -0800 (PST) "Richard Lynch" <ceo@l-i-e.com> > wrote: > > I guess I'm hoping somebody can point me to a function/object/method that > > means: > > "Keep this button 10, -50 from the bottom left corner of the window, no > > matter what size the window is, and no matter what else is added to it." > > It doesn't quite work that way. I'm not sure if I can express it right, but > I'll try. You work with rectangles, and you can tell a rectangle to be as > big as possible, as small as possible (depending on the widget inside) or > to take up a certain percentage of the available space. In other words, you > shrink or enlarge rectangles within the container. Besides this, you also > have a vertical and a horizontal order that the widgets will follow, > depending on how you set them up. You also have empty borders you can set > around the widgets, and then you have certain types of containers which > will help you lay things out. > > If you know any HTML, this resembles HTML tables. You can't just > place things wherever you want like in a DTP application, you have these > rectangles or cells which depend on each other and you must juggle with > them respecting the rules. > > -- > Ciprian Popovici > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.gtk.general (#5415) next »