[Glade-users] Glade questions.
Damon Chaplin
damon@ximian.com
Thu, 08 Feb 2001 20:34:14 +0000
Matthew Tuck wrote:
>
> Hi, I've been looking at Glade 0.5.11 and have the following questions:
>
> 1. Is there some way I can create a "compound widget", ie a panel of
> widgets that is shared between windows?
No. It has been discussed several times before, though, and may be added
one day.
> 2. Is there some way I can declare a "disable condition", and disable
> lots of things at once in code? One way might be if GLADE
> automatically generated a function that I can call into.
I don't understand this. What gets disabled?
> 3. Is there any way to insert columns into a CList widget once created?
You do that in your own code somewhere. Maybe after the call to create the
window (create_window1() etc.)
> 4. When is there likely to be an undo/redo facility?
Someone volunteered to do this, but I haven't seen any code.
> 5. What's the best way to handle dynamic menus, both in the situation
> where the whole menu is dynamic, and only part of the menu is dynamic?
> In particular I can't find any way to create an empty submenu.
Create the stable part in Glade, then manipulate the widgets in your
code to add/remove menus. I don't think that would be too difficult.
> Furthermore, I'd like to suggest that you can bring up the menu editor
> by double clicking a menu bar in the "window" window.
Yes, that may be useful.
Damon