Hiding GUI elements dynamically using radio button in PySimpleGUIQt
问题 I used below approach from this post to hide GUI elements which works very well: import PySimpleGUIQt as sg layout = [ [sg.Checkbox('Module Selection', default = False, change_submits= True, key = '_checkbox1_', size=(15,1)), sg.Text('Module(.xlsx)', size = (15,0.5), auto_size_text = True, justification = 'right', key = '_moduletext_')] ] window = sg.Window('A2L', layout, icon = u"icon\\index.ico", auto_size_buttons = False).Finalize() window.Element('_moduletext_').Update(visible = False)