BeremizIDE.py
changeset 2735 732d112dd902
parent 2731 c6a55270d468
child 2737 38afed869ff6
equal deleted inserted replaced
2734:3768af52835a 2735:732d112dd902
   334 
   334 
   335         for method, shortcut in [("Stop",     wx.WXK_F4),
   335         for method, shortcut in [("Stop",     wx.WXK_F4),
   336                                  ("Run",      wx.WXK_F5),
   336                                  ("Run",      wx.WXK_F5),
   337                                  ("Transfer", wx.WXK_F6),
   337                                  ("Transfer", wx.WXK_F6),
   338                                  ("Connect",  wx.WXK_F7),
   338                                  ("Connect",  wx.WXK_F7),
       
   339                                  ("Clean",    wx.WXK_F9),
   339                                  ("Build",    wx.WXK_F11)]:
   340                                  ("Build",    wx.WXK_F11)]:
   340             def OnMethodGen(obj, meth):
   341             def OnMethodGen(obj, meth):
   341                 def OnMethod(evt):
   342                 def OnMethod(evt):
   342                     if obj.CTR is not None:
   343                     if obj.CTR is not None:
   343                         obj.CTR.CallMethod('_'+meth)
   344                         obj.CTR.CallMethod('_'+meth)