Gui.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:Crypter 作者: sithis993 项目源码 文件源码
def set_events(self):
        '''
        @summary: Create button and timer events for GUI
        '''

        # Create and bind timer event
        self.key_destruction_timer = wx.Timer()
        self.key_destruction_timer.SetOwner( self, wx.ID_ANY )
        self.key_destruction_timer.Start( 500 )
        self.Bind(wx.EVT_TIMER, self.blink, self.key_destruction_timer)

        # Create button events
        self.Bind(wx.EVT_BUTTON, self.show_encrypted_files, self.ViewEncryptedFilesButton)
        self.Bind(wx.EVT_BUTTON, self.show_decryption_dialog, self.EnterDecryptionKeyButton)
        self.Bind(wx.EVT_BUTTON, self.open_url, self.BitcoinButton)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号