Re: Aligning a fixed size panel

From: Date: Mon, 25 Jun 2007 13:03:56 +0000
Subject: Re: Aligning a fixed size panel
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7944@lists.php.net to get a copy of this message
[forwarding it to the list this time. grr at incorrect reply-to headers.] you would probably want an hbox in a vbox in the window. off the top of my head i think that would produce the requested result. $widget->set_size_request(200,200); $hbox->pack_start($widget,true,false,0); $vbox->pack_start($hbox,true,false,0); $window->add($vbox); pack_start and pack_end work like so pack_start( the widget to pack, boolean of to take up all available area. "fill". boolean of if to stretch contents to fill it. "expand". number of pixels to padd between widgets. ); - bob. Adz07 wrote:
How do i create a frame 200x200 and make it stay centered in the app so even if the window is resized the frame stays 200x200 and stays in the center?? All the Vbox and Hbox stuff is confusing me


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