Collapse-able Console
| From: | Paul Zirkle | Date: | Sun, 07 Sep 2003 03:38:40 +0000 |
| Subject: | Collapse-able Console | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-3819@lists.php.net to get a copy of this message | ||
Hello all,
Im new to the mailing list. (and possibly to mailing lists in general, so
please excuse any NewB mistakes)
Here is my first question:
I am creating a PHP-Gtk GameEngine. I am setting up code that will be easy
to reuse for different games of the same type (RPG) simply by changing
external dialog/map/item/image data.
Anyhow, currently I am trying to set up the main window. I want a logging
console (im using GtkText) to appear on the right side when toggled on, and
to dissapear when not toggled. This is how I have my window set up right
now:
VBox ->
HBox-> (toolbar stuff)
GtkToggleButton (toggle console visibility)
HBox-> (all non-toolbar stuff)
HBox-> (main window area)
GtkLayout (game screen)
VBox-> (console_area)
GtkText (console output)
When you click the toggle button, the console_area (the VBox) toggles
between visible and not visible.
The problem is that its sharing space with the main_window area such that
both take up 50% of the width of the window whether the console_area is 'on'
or not. What I _want_ is for the main_window area to take up the full width
of the window when the console_area is hidden.
Any suggestions?
-Paul Zirkle AKA Keless