Example #1
0
    def __init__(self, parent):
        wx.PyValidator.__init__(self)

        self.parent = parent
        self.frame = parent.frame
        self.keychain = MyKeyChain()

        self.Bind(wx.EVT_BUTTON, self.OnButton)
Example #2
0
    def __init__(self, parent):
        wx.PyValidator.__init__(self)

        self.parent = parent
        self.frame = self.parent.GetTopLevelParent()
        self.keychain = MyKeyChain()
        self.type = self.getType()

        self.Bind(wx.EVT_TEXT, self.OnText)
Example #3
0
File: welcome.py Project: olpa/tex
    def __init__(self, parent):
        wx.PyValidator.__init__(self)

        self.parent = parent
        self.frame = self.parent.GetTopLevelParent()
        self.keychain = MyKeyChain()

        self.Bind(wx.EVT_RADIOBUTTON, self.OnRadio)
        self.Bind(wx.EVT_BUTTON, self.OnButton)
        self.Bind(wx.EVT_TEXT, self.OnText)