I have a set of radiobuttons
(say, with choices 1 and 2) and need to show some widget based off of the user's choice. For example, if they chose 1, I would show them a labelframe
with several radiobuttons
; whereas, if they chose 2, I would show them a labelframe
with some buttons
. In either case, the resulting content would be shown in the same area on the window.
What is a good way to switch between multiple widget displays like this?
This answer has me thinking that I should use a panedwindow
and frames
, but I don't quite see how I would switch between different content.