I have a set of radiobuttons (say with options 1 and 2) and you need to show some widget based on 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 any case, the received content will be displayed in the same area in the window.
How can I switch between multiple widgets?
This answer made me think that I should use panedwindow and frames , but I do not quite understand how to switch between different content.
source share