Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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/p/y/pymeg-HEAD/gui/wx/PYMEG.py   pymeg(Download)
        self.framewithnotebook_menubar = wx.MenuBar()
        wxglade_tmp_menu = wx.Menu()
        wxglade_tmp_menu.Append(1, "New Session", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(2, "Load MEG", "Load 4D MEG File", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(3, "Load MRI", "load mri file", wx.ITEM_NORMAL)

src/c/e/CellProfiler-Analyst-HEAD/cpa/helpmenu.py   CellProfiler-Analyst(Download)
def make_help_menu(frame):
    helpMenu = wx.Menu()
    frame.Bind(wx.EVT_MENU, _on_manual, 
               helpMenu.Append(-1, text='Online manual'))
    frame.Bind(wx.EVT_MENU, _on_about, 
               helpMenu.Append(-1, text='About', help='About CellProfiler Analyst'))

src/l/t/LTLMoP-HEAD/src/specEditor.py   LTLMoP(Download)
        global MENU_MOPSY; MENU_MOPSY = wx.NewId()
        wxglade_tmp_menu = wx.Menu()
        wxglade_tmp_menu.Append(wx.ID_NEW, "&New\tCtrl-N", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(wx.ID_OPEN, "&Open...\tCtrl-O", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(MENU_IMPORT_REGION, "Import &Region File...\tCtrl-R", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(wx.ID_CLOSE, "&Close\tCtrl-W", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(wx.ID_SAVE, "&Save\tCtrl-S", "", wx.ITEM_NORMAL)

src/h/5/h5pyViewer-0.0.0.33/h5pyViewer/hdfImage.py   h5pyViewer(Download)
    #-------- Edit Menu --------
    mn = wx.Menu()
    mnItem=mn.Append(wx.ID_ANY, 'Setup Colormap', 'Setup the color mapping ');self.Bind(wx.EVT_MENU, self.OnColmapSetup, mnItem)
    mnItem=mn.Append(wx.ID_ANY, 'Invert X-Axis', kind=wx.ITEM_CHECK);self.Bind(wx.EVT_MENU, self.OnInvertAxis, mnItem)
    self.mnIDxAxis=mnItem.GetId()
    mnItem=mn.Append(wx.ID_ANY, 'Invert Y-Axis', kind=wx.ITEM_CHECK);self.Bind(wx.EVT_MENU, self.OnInvertAxis, mnItem)
    mnItem=mn.Append(wx.ID_ANY, 'Show Moments', 'Show image moments ', kind=wx.ITEM_CHECK);self.Bind(wx.EVT_MENU, self.OnShowMoments, mnItem)
    self.mnItemShowMoment=mnItem
    mnItem=mn.Append(wx.ID_ANY, 'Tomo Normalize', 'Multiplies each pixel with a normalization factor. Assumes there exist an array exchange/data_white', kind=wx.ITEM_CHECK);self.Bind(wx.EVT_MENU, self.OnTomoNormalize, mnItem)

src/h/5/h5pyViewer-HEAD/h5pyViewer/hdfImage.py   h5pyViewer(Download)
    #-------- Edit Menu --------
    mn = wx.Menu()
    mnItem=mn.Append(wx.ID_ANY, 'Setup Colormap', 'Setup the color mapping ');self.Bind(wx.EVT_MENU, self.OnColmapSetup, mnItem)
    mnItem=mn.Append(wx.ID_ANY, 'Invert X-Axis', kind=wx.ITEM_CHECK);self.Bind(wx.EVT_MENU, self.OnInvertAxis, mnItem)
    self.mnIDxAxis=mnItem.GetId()
    mnItem=mn.Append(wx.ID_ANY, 'Invert Y-Axis', kind=wx.ITEM_CHECK);self.Bind(wx.EVT_MENU, self.OnInvertAxis, mnItem)
    mnItem=mn.Append(wx.ID_ANY, 'Show Moments', 'Show image moments ', kind=wx.ITEM_CHECK);self.Bind(wx.EVT_MENU, self.OnShowMoments, mnItem)
    self.mnItemShowMoment=mnItem
    mnItem=mn.Append(wx.ID_ANY, 'Tomo Normalize', 'Multiplies each pixel with a normalization factor. Assumes there exist an array exchange/data_white', kind=wx.ITEM_CHECK);self.Bind(wx.EVT_MENU, self.OnTomoNormalize, mnItem)

src/e/d/Editra-0.7.20/src/ed_statbar.py   Editra(Download)
        self.SetFieldsCount(6) # Info, vi stuff, line/progress
        self.SetStatusWidths([-1, 90, 40, 40, 40, 155])
        self._eolmenu.Append(ed_glob.ID_EOL_MAC, u"CR",
                             _("Change line endings to %s") % u"CR",
                             kind=wx.ITEM_CHECK)
        self._eolmenu.Append(ed_glob.ID_EOL_WIN, u"CRLF",
                             _("Change line endings to %s") % u"CRLF",
                             kind=wx.ITEM_CHECK)
        self._eolmenu.Append(ed_glob.ID_EOL_UNIX, u"LF",

src/e/v/eve-mlp-HEAD/eve_mlp/gui/mainframe.py   eve-mlp(Download)
        ################################################################
        menu = wx.Menu()
        m_exit = menu.Append(wx.ID_EXIT, "E&xit\tAlt-X", "Close window and exit program.")
        self.Bind(wx.EVT_MENU, self.OnClose, m_exit)
        menu_bar.Append(menu, "&File")
 
        ################################################################
        menu = wx.Menu()
 
        m_rempasswd = menu.Append(2020, "Remember Passwords", "", kind=wx.ITEM_CHECK)
        self.Bind(wx.EVT_MENU, self.OnToggleRememberPasswords, m_rempasswd)
 
        m_start_tray = menu.Append(2021, "Start in Systray", "", kind=wx.ITEM_CHECK)
        self.m_start_tray = m_start_tray  # event handler needs this object, not just ID?
        if self.config.settings["start-tray"]:
        ################################################################
        menu = wx.Menu()
        m_exit = menu.Append(wx.ID_EXIT, "Launch Patcher", "")
        m_exit = menu.Append(wx.ID_EXIT, "Launch Repair", "")
        #self.Bind(wx.EVT_MENU, self.OnClose, m_exit)

src/e/i/einstein-HEAD/Python25Einstein/Lib/site-packages/wx-2.8-msw-unicode/wx/tools/XRCed/XMLTreeMenu.py   einstein(Download)
                                    'Create object as the last child')
            if comp is not Manager.rootComponent:
                self.Append(ID.SUBCLASS, 'Sublass...', 'Define subclass')
            self.AppendSeparator()
 
                self.AppendSeparator()
 
            self.Append(wx.ID_CUT, 'Cut', 'Cut to the clipboard')
            self.Append(wx.ID_COPY, 'Copy', 'Copy to the clipboard')
            if createSibling and item != tree.root:
                self.Append(ID.PASTE_SIBLING, 'Paste Sibling',
                            'Paste from the clipboard as a sibling')
            else:
                self.Append(ID.PASTE, 'Paste', 'Paste from the clipboard')

src/e/i/einstein-HEAD/Python25Einstein/Lib/site-packages/wx-2.8-msw-unicode/wx/lib/pydocview.py   einstein(Download)
 
        fileMenu = wx.Menu()
        fileMenu.Append(wx.ID_NEW, _("&New...\tCtrl+N"), _("Creates a new document"))
        fileMenu.Append(wx.ID_OPEN, _("&Open...\tCtrl+O"), _("Opens an existing document"))
        fileMenu.Append(wx.ID_CLOSE, _("&Close"), _("Closes the active document"))
        if not sdi:
            fileMenu.Append(wx.ID_CLOSE_ALL, _("Close A&ll"), _("Closes all open documents"))
        fileMenu.AppendSeparator()
        fileMenu.Append(wx.ID_SAVE, _("&Save\tCtrl+S"), _("Saves the active document"))

src/p/y/Pyfa-HEAD/gui/shipBrowser.py   Pyfa(Download)
 
        self.fitMenu = wx.Menu()
        self.toggleItem = self.fitMenu.Append(-1, "Booster Fit", kind=wx.ITEM_CHECK)
        self.fitMenu.Check(self.toggleItem.GetId(), self.fitBooster)
        self.Bind(wx.EVT_MENU, self.OnPopupItemSelected, self.toggleItem)

Previous  6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14  Next