?? mainframe.py
字號:
#coding=<#encoding#>
import wx
import resource
from EasyGuider import EasyActions
from EasyGuider import EasyMenu
class MainFrame(wx.Frame):
def __init__(self, title=''):
wx.Frame.__init__(self, None, -1, title)
alist = EasyActions.makeactions(resource.actions)
EasyMenu.makemenubar(self, alist, resource.menubar)
EasyMenu.maketoolbar(self, alist, resource.toolbar)
self.init()
self.Bind(wx.EVT_CLOSE, self.OnClose)
def init(self):
"""add your initialization code"""
pass
def OnClose(self, event):
event.Skip()
def OnExit(self, event):
self.Close()
#add other event handler function
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -