Beispiel #1
0
    def __init__(self, ltype=None):
        self.__actions = {}

        if ltype:
            self._widget = loader.load_widget(self.uifile)
        else:
            self._widget = loader.load_ui(self.uifile)
        self._find_children()
        self._connect_signals()
        self._widget.connect("destroy", self._byebye)
        for child in self._widgets.values():
            hi(child)
Beispiel #2
0
    def __init__(self, ltype=None):
        self.__actions = {}

        if ltype:
            self._widget = loader.load_widget(self.uifile)
        else:
            self._widget = loader.load_ui(self.uifile)
        self._find_children()
        self._connect_signals()
        self._widget.connect('destroy', self._byebye)
        for child in self._widgets.values():
            hi(child)
Beispiel #3
0
 def load(self):
     path = self.app().path()
     self._widget = loader.load_ui(path + self.uifile)
Beispiel #4
0
 def load(self):
     path = self.app().path()
     self._widget = loader.load_ui(path+self.uifile)