code: def toggleWidgets(self,widgets):
          '''Hides/shows the given widgets.'''
          for wig in widgets:
              if wig.get_visible():
                  wig.set_visible(False)
              else:
                  wig.set_visible(Truef toggleWidgets(self,widgets):
          '''Hides/shows the given widgets.'''
          for wig in widgets:
              if wig.get_visible():
                  wig.set_visible(False)
              else:
                  wig.set_visible(True)
docs: Hides/shows the given widgets.