示例#1
0
文件: dialog.py 项目: BitBldr/loxodo
 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)
示例#2
0
 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
示例#3
0
 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)
示例#4
0
文件: dialog.py 项目: BitBldr/loxodo
 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