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)
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)
def load(self): path = self.app().path() self._widget = loader.load_ui(path + self.uifile)
def load(self): path = self.app().path() self._widget = loader.load_ui(path+self.uifile)