Example #1
0
 def set_visible(self, flag):
     """ Set container visible/invisible. Set all components in container visible/invisible.
     
     :param flag: True - visible, False - invisible
     """
     Component.set_visible(self, flag)
     for comp in self.components:
         if comp: comp.set_visible(flag)
Example #2
0
 def set_visible(self, flag):
     """ Set container visible/invisible. Set all components in container visible/invisible.
     
     :param flag: True - visible, False - invisible
     """
     Component.set_visible(self, flag)
     for comp in self.components:
         if comp: comp.set_visible(flag)
Example #3
0
    def set_visible(self, flag):
        """ Set container visible/invisible. Set all components in container visible/invisible.
        
        :param flag: True - visible, False - invisible
        """
        Component.set_visible(self, flag)
        for comp in self.components:
            if not comp: continue

            if getattr(comp, "popup", None) == True:
                if not comp.visible:
                    continue
            else:
                comp.set_visible(flag)