def __init__(self, title, action=None, menu=None, right_action=None, visible=False, enabled=True, has_sip=True, has_ok=True): CeFrame.__init__(self, None, title, action=action, menu=menu, right_action=right_action, visible=visible, enabled=enabled, has_sip=has_sip) self.bind(close=self._onclose) #self.has_ok = has_ok self.poppingup = False if has_ok: SHDoneButton(self._w32_hWnd, 1)
def __init__(self, title, action=None, menu=None, visible=False, enabled=True, has_sip=True, has_ok=True): self.has_ok = has_ok CeFrame.__init__(self, None, title, action=action, menu=menu, visible=visible, enabled=enabled, has_sip=has_sip) self.bind(close=self._onclose) #self.has_ok = has_ok self.poppingup = False