Did I find the right examples for you? yes no

All Samples(2540)  |  Call(2540)  |  Derive(0)  |  Import(0)
Append(self, int id, String text=EmptyString, String help=EmptyString, 
    int kind=ITEM_NORMAL) -> MenuItem

src/a/n/antisocial-HEAD/ve/share/doc/ipython/examples/lib/ipkernel_wxapp.py   antisocial(Download)
        # creates an accelerator, the third param is some help text
        # that will show up in the statusbar
        menu.Append(wx.ID_EXIT, "E&xit\tAlt-X", "Exit this simple sample")
 
        # bind the menu event to an event handler

src/a/n/antisocial-HEAD/ve/share/doc/ipython/examples/lib/gui-wx.py   antisocial(Download)
        # creates an accelerator, the third param is some help text
        # that will show up in the statusbar
        menu.Append(wx.ID_EXIT, "E&xit\tAlt-X", "Exit this simple sample")
 
        # bind the menu event to an event handler

src/t/w/Twisted-13.2.0/doc/core/examples/wxdemo.py   Twisted(Download)
    def __init__(self, parent, ID, title):
        Frame.__init__(self, parent, ID, title, DefaultPosition, Size(300, 200))
        menu = Menu()
        menu.Append(ID_EXIT, "E&xit", "Terminate the program")
        menuBar = MenuBar()

src/i/p/ipython-2.0.0/examples/IPython Kernel/gui/gui-wx.py   ipython(Download)
        # creates an accelerator, the third param is some help text
        # that will show up in the statusbar
        menu.Append(wx.ID_EXIT, "E&xit\tAlt-X", "Exit this simple sample")
 
        # bind the menu event to an event handler

src/i/p/ipython-HEAD/examples/IPython Kernel/gui/gui-wx.py   ipython(Download)
        # creates an accelerator, the third param is some help text
        # that will show up in the statusbar
        menu.Append(wx.ID_EXIT, "E&xit\tAlt-X", "Exit this simple sample")
 
        # bind the menu event to an event handler

src/i/p/ipython-2.0.0/examples/Embedding/ipkernel_wxapp.py   ipython(Download)
        # creates an accelerator, the third param is some help text
        # that will show up in the statusbar
        menu.Append(wx.ID_EXIT, "E&xit\tAlt-X", "Exit this simple sample")
 
        # bind the menu event to an event handler

src/i/p/ipython-HEAD/examples/Embedding/ipkernel_wxapp.py   ipython(Download)
        # creates an accelerator, the third param is some help text
        # that will show up in the statusbar
        menu.Append(wx.ID_EXIT, "E&xit\tAlt-X", "Exit this simple sample")
 
        # bind the menu event to an event handler

src/i/p/ipython-py3k-HEAD/docs/examples/lib/gui-wx.py   ipython-py3k(Download)
        # creates an accelerator, the third param is some help text
        # that will show up in the statusbar
        menu.Append(wx.ID_EXIT, "E&xit\tAlt-X", "Exit this simple sample")
 
        # bind the menu event to an event handler

src/c/e/CellProfiler-Analyst-HEAD/cpa/classifier.py   CellProfiler-Analyst(Download)
    def CreateMenus(self):
        ''' Create file menu and menu items '''
        self.fileMenu = wx.Menu()
        self.loadTSMenuItem = self.fileMenu.Append(-1, text='Load training set\tCtrl+O', help='Loads objects and classes specified in a training set file.')
        self.saveTSMenuItem = self.fileMenu.Append(-1, text='Save training set\tCtrl+S', help='Save your training set to file so you can reload these classified cells again.')
##        self.fileMenu.AppendSeparator()
        # JEN - End Add
        self.exitMenuItem = self.fileMenu.Append(id=wx.ID_EXIT, text='Exit\tCtrl+Q', help='Exit classifier')
        self.GetMenuBar().Append(self.fileMenu, 'File')
 
        # View Menu
        viewMenu = wx.Menu()
        imageControlsMenuItem = viewMenu.Append(-1, text='Image Controls\tCtrl+Shift+I', help='Launches a control panel for adjusting image brightness, size, etc.')
        # Rules menu
        rulesMenu = wx.Menu()
        rulesEditMenuItem = rulesMenu.Append(-1, text=u'Edit…', help='Lets you edit the rules')
        self.GetMenuBar().Append(rulesMenu, 'Rules')
 

src/p/y/pySAXS-2.100.July2013/guisaxs/wx/matplotlibwx.py   pySAXS(Download)
 
        id = wx.NewId()
        menu.Append(id, '&Save As...\tCtrl+S','Save a copy of the current plot')
        wx.EVT_MENU(self, id, self.OnMenuFileSave)
 
        menu.AppendSeparator()
 
        if wx.Platform != '__WXMAC__':
            id = wx.NewId()
            menu.Append(id, 'Page Set&up...',
 
            id = wx.NewId()
            menu.Append(id, 'Print Pre&view...',
                'Preview the print version of the current plot')
            wx.EVT_MENU(self, id, self.OnMenuFilePrintPreview)
 
        id = wx.NewId()
        menu.Append(id, '&Print...\tCtrl+P', 'Print the current plot')
 
        id = wx.NewId()
        menu.Append(id, '&Close Window\tCtrl+W',
            'Close the current plot window')
        wx.EVT_MENU(self, id, self.OnMenuFileClose)

Previous  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next