Re: Menus, and Button Widths
| From: | Steph | Date: | Sun, 16 Sep 2001 20:54:51 +0000 |
| Subject: | Re: Menus, and Button Widths | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-105@lists.php.net to get a copy of this message | ||
Yeah, you use the packing methods inherited from GtkBox.
----- Original Message -----
From: "Matt Felsen" <matt@iwdt.net>
To: <php-gtk-general@lists.php.net>
Sent: Sunday, September 16, 2001 9:16 PM
Subject: [PHP-GTK] Menus, and Button Widths
Anyone know how to create menus?
Also...something about button widths...
If you create a window, add a vertical box to that, and then start packing in buttons, the buttons
will span the whole width of the window. However, if you create a window, add a vertical box, then
pack a horizontal box into the vertical box, and a button into the horizontal box, the button will
only take up as much space as the length of the text.
Anyone know of a way to actually specify the dimensions of the buttons, so that you can get nice
uniform looking ones?
Much appreciation,
Matt
_____________________________________________________________
--
PHP-GTK General Mailing List (http://gtk.php.net/)
To unsubscribe, e-mail: php-gtk-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-gtk-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net