[Glade-users] Glade questions.

Matthew Tuck matty@chariot.net.au
Fri, 16 Feb 2001 13:05:16 +1030


Damon Chaplin wrote:

>> 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?

Any widgets, usually menu items and toolbuttons.

>> 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.)

No I meant within Glade, before your program runs.

>> 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.

Except, as I said, I can't figure out how to create an empty menu where
nothing is stable.

-- 
         Matthew Tuck: Software Developer & All-Round Nice Guy
     My experience is that in general, if there's jobs programming
                 in it, it's not worth programming in.
Ultra Programming Language Project: http://www.box.net.au/~matty/ultra/