Example #1
0
def test(guilist=[]):

    for gui in guilist:
        status = dynamic_loader(gui)[1]
        if status == 'FAILED':
            return status

    return 'OK'
Example #2
0
def test(guilist=[]):

    for gui in guilist:
        status = dynamic_loader(gui)[1]
        if status == 'FAILED':
            return status

    return 'OK'
Example #3
0
    def OnInit(self):
        """ Load dynamically all GUIs that are needed.
        None of them is set to be the parent one, so that all of them can be independent from each other"""

        for gui in self.guilist:
            class_object = dynamic_loader(gui)[0]
            # First argument is the parent GUI, second argument is the ID, third argument is the GUI title
            gui_instance = class_object(None, wx.ID_ANY, gui.__name__)
            gui_instance.Show(True)

        return True
Example #4
0
    def OnInit(self):
        """ Load dynamically all GUIs that are needed.
        None of them is set to be the parent one, so that all of them can be independent from each other"""
        
        for gui in self.guilist:
            class_object = dynamic_loader(gui)[0]
            # First argument is the parent GUI, second argument is the ID, third argument is the GUI title
            gui_instance = class_object(None, wx.ID_ANY, gui.__name__)
            gui_instance.Show(True)

        return True