384 def _init_coll_FileMenu_Items(self, parent): |
384 def _init_coll_FileMenu_Items(self, parent): |
385 AppendMenu(parent, help='', id=wx.ID_NEW, |
385 AppendMenu(parent, help='', id=wx.ID_NEW, |
386 kind=wx.ITEM_NORMAL, text=_(u'New\tCTRL+N')) |
386 kind=wx.ITEM_NORMAL, text=_(u'New\tCTRL+N')) |
387 AppendMenu(parent, help='', id=wx.ID_OPEN, |
387 AppendMenu(parent, help='', id=wx.ID_OPEN, |
388 kind=wx.ITEM_NORMAL, text=_(u'Open\tCTRL+O')) |
388 kind=wx.ITEM_NORMAL, text=_(u'Open\tCTRL+O')) |
389 parent.AppendMenu(ID_FILEMENURECENTPROJECTS, _("Recent Projects"), self.RecentProjectsMenu) |
389 parent.AppendMenu(ID_FILEMENURECENTPROJECTS, _("&Recent Projects"), self.RecentProjectsMenu) |
390 parent.AppendSeparator() |
390 parent.AppendSeparator() |
391 AppendMenu(parent, help='', id=wx.ID_SAVE, |
391 AppendMenu(parent, help='', id=wx.ID_SAVE, |
392 kind=wx.ITEM_NORMAL, text=_(u'Save\tCTRL+S')) |
392 kind=wx.ITEM_NORMAL, text=_(u'Save\tCTRL+S')) |
393 AppendMenu(parent, help='', id=wx.ID_SAVEAS, |
393 AppendMenu(parent, help='', id=wx.ID_SAVEAS, |
394 kind=wx.ITEM_NORMAL, text=_(u'Save as\tCTRL+SHIFT+S')) |
394 kind=wx.ITEM_NORMAL, text=_(u'Save as\tCTRL+SHIFT+S')) |
395 AppendMenu(parent, help='', id=wx.ID_CLOSE, |
395 AppendMenu(parent, help='', id=wx.ID_CLOSE, |
396 kind=wx.ITEM_NORMAL, text=_(u'Close Tab\tCTRL+W')) |
396 kind=wx.ITEM_NORMAL, text=_(u'Close Tab\tCTRL+W')) |
397 AppendMenu(parent, help='', id=wx.ID_CLOSE_ALL, |
397 AppendMenu(parent, help='', id=wx.ID_CLOSE_ALL, |
398 kind=wx.ITEM_NORMAL, text=_(u'Close Project')) |
398 kind=wx.ITEM_NORMAL, text=_(u'Close Project\tCTRL+SHIFT+W')) |
399 parent.AppendSeparator() |
399 parent.AppendSeparator() |
400 AppendMenu(parent, help='', id=wx.ID_PAGE_SETUP, |
400 AppendMenu(parent, help='', id=wx.ID_PAGE_SETUP, |
401 kind=wx.ITEM_NORMAL, text=_(u'Page Setup')) |
401 kind=wx.ITEM_NORMAL, text=_(u'Page Setup\tCTRL+ALT+P')) |
402 AppendMenu(parent, help='', id=wx.ID_PREVIEW, |
402 AppendMenu(parent, help='', id=wx.ID_PREVIEW, |
403 kind=wx.ITEM_NORMAL, text=_(u'Preview')) |
403 kind=wx.ITEM_NORMAL, text=_(u'Preview\tCTRL+SHIFT+P')) |
404 AppendMenu(parent, help='', id=wx.ID_PRINT, |
404 AppendMenu(parent, help='', id=wx.ID_PRINT, |
405 kind=wx.ITEM_NORMAL, text=_(u'Print')) |
405 kind=wx.ITEM_NORMAL, text=_(u'Print\tCTRL+P')) |
406 parent.AppendSeparator() |
406 parent.AppendSeparator() |
407 AppendMenu(parent, help='', id=wx.ID_PROPERTIES, |
407 AppendMenu(parent, help='', id=wx.ID_PROPERTIES, |
408 kind=wx.ITEM_NORMAL, text=_(u'Properties')) |
408 kind=wx.ITEM_NORMAL, text=_(u'&Properties')) |
409 parent.AppendSeparator() |
409 parent.AppendSeparator() |
410 AppendMenu(parent, help='', id=wx.ID_EXIT, |
410 AppendMenu(parent, help='', id=wx.ID_EXIT, |
411 kind=wx.ITEM_NORMAL, text=_(u'Quit\tCTRL+Q')) |
411 kind=wx.ITEM_NORMAL, text=_(u'Quit\tCTRL+Q')) |
412 |
412 |
413 self.Bind(wx.EVT_MENU, self.OnNewProjectMenu, id=wx.ID_NEW) |
413 self.Bind(wx.EVT_MENU, self.OnNewProjectMenu, id=wx.ID_NEW) |