def advanced(self, button=None): if self.optionsOpen[0] == 0: self.optionsOpen[0] = 1 self.options = pW.prefsWidget(self.values, self.optionsOpen) else: if self.options != None: self.options.window.close() self.optionsOpen[0] = 0
def advanced(self,button=None): if self.optionsOpen[0] ==0: self.optionsOpen[0]=1 self.options=pW.prefsWidget(self.values,self.optionsOpen) else: if self.options != None: self.options.window.close() self.optionsOpen[0]=0
def advanced(self, button=None): if self.optionsOpen[0] == 0: self.optionsOpen[0] = 1 self.options = pW.prefsWidget(self, self.values, self.optionsOpen) #self.parent.show() else: if self.options != None: self.options.window.destroy() self.optionsOpen[0] = 0
def advanced(self,button=None): if self.optionsOpen[0] ==0: self.optionsOpen[0]=1 self.options=pW.prefsWidget(self,self.values,self.optionsOpen) #self.parent.show() else: if self.options != None: self.options.window.destroy() self.optionsOpen[0]=0