Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def recreate_all_variable_widgets(self):
- for tab_index in range(self.tab_widget.count()):
- function_tab = self.tab_widget.widget(tab_index)
- function_tab.destroy_variables_widgets()
- print('Destroyed all widgets from tab {}'.format(tab_index))
- function_tab.create_variables_widgets(window=self)
- print('Recreated all widgets from tab {}'.format(tab_index))
- function_tab.update()
- print('Update tab {}'.format(tab_index))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement