Re: Dynamic menus



Sam B wrote:
> I would like to make a dynamic menu : I have two radio buttons, and the
> windows content is depending on which button is clicked. What is the better
> way of doing this ?
IMVVVHO a notebook w/ hidden tabs.
> I thought about drawing a box, and when a button is clicked, I destroy every
> widget in this box and I put some new... Is that a good idea ?
Nope. Really slow!
If you don't want to use a notebook, you could use a [vh]box and
hide/show each "cell", but then it's harder to maintain it (at least if
you're using glade, which IMVHO is a good idea).

BYtE,
 Diego.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]