Hello !
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 ?
I thought about drawing a box, and when a button is clicked, I destroy every
widget in this box and I put some new... I
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 ever
Thank you for this answer ! Yes, I'll try to implement it as you suggest
. I hope there's no problem in having two widgets in the same table
cell, one being "hidden" and the second "shown"...
But I still have a question : suppose I have a notebook with a label (i.e :
"page 1"), containing a
Sam B wrote:
> Thank you for this answer ! Yes, I'll try to implement it as you suggest
> . I hope there's no problem in having two widgets in the same table
> cell, one being "hidden" and the second "shown"...
Yes. It's a problem. One cell one widget.
> But I still have a question : suppose
I'm using pygtk. My top-level menubar has a menuitem named "Scripts".
Each time user clicks on "Scripts", I want a chance to update the
Scripts menuitem's submenu content before it's shown to the user. That
way the submenu's content will alway be up-to-date when it's presented
to the user.
I'm h
On Fri, 2006-09-08 at 23:10 -0400, Christian Convey wrote:
> I'm using pygtk. My top-level menubar has a menuitem named "Scripts".
> Each time user clicks on "Scripts", I want a chance to update the
> Scripts menuitem's submenu content before it's shown to the user. That
> way the submenu's conte
Thanks Paul! That did the trick.
Note: the code functions as I want regardless of whether my handler
for the "map" signal returns True, False, or nothing at all. Does
that surprise you?
- Christian
On 9/9/06, Paul Davis <[EMAIL PROTECTED]> wrote:
> On Fri, 2006-09-08 at 23:10 -0400, Christian