Hello Everyone:

Here is what I am trying to do:

I have a window which has a row of buttons on it.   Below the buttons is a 
label frame.  Depending upon which button they push, I want to change the 
widgets in the label frame.  I can add widgets now with no problem.   

Basically, I am trying to imitate a notebook like in Tkinter.ttk, without 
having to re-write a major chunk of the app to add such a widget.  I know Tix 
has a notebook widget, but that would require people (read end users) to 
download and compile the Tix components.  

My questions are:

1.  how do I remove all of the widgets from the label frame to add the new 
ones?  
2.  Am I better off just creating different label frames for each group of 
widgets and then just using grid_forget and grid_remember to hide or show them 
as I need them?
3.  How else would you approach this problem?

Yes - I guess I am looking for some design advice.  This is creeping a little 
since my customer (my wife who is a horse breeder) would like to have some 
things done a little differently in her app.

Thanks for your suggestions!

Chris

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to