Re: how to resize a window while resizing only one of it'schildwidgets?

From: Date: Thu, 21 Jul 2005 19:32:58 +0000
Subject: Re: how to resize a window while resizing only one of it'schildwidgets?
References: 1 2 3 4  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6090@lists.php.net to get a copy of this message
Thank you, it took me half an hour to work it out, however, because using numeric values 0,1,2 for GtkAttachOptions will not work. I need to use the symbolic name GTK_SHRINK for what I want to do: $table = &new gtktable(2,1); $label= &new gtklabel("label"); $text_field = new gtktext; $table->attach($label,0,1,0,1,0,GTK_SHRINK,0,0); $table->attach($text_field,0,1,1,2); Anthony Scott Mattocks wrote:
anthony wrote:
$box->pack_start($menubar,false,false); does what I want for a gtkvbox. Is there also a way to achieve this for a gtktable?
Yup. Take a look at the GtkTable manual page and pay attention to the optional parameters. http://gtk.php.net/manual/en/gtk.gtktable.method.attach.php Scott


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