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/c/e/CellProfiler-Analyst-HEAD/cpa/protocolnavigator.py   CellProfiler-Analyst(Download)
        fileMenu = wx.Menu()
 
        saveSettingsMenuItem = fileMenu.Append(-1, 'Save Protocol\tCtrl+S', help='')
        loadSettingsMenuItem = fileMenu.Append(-1, 'Load Protocol\tCtrl+O', help='')
        printExperimentMenuItem = fileMenu.Append(-1, 'Print Protocol\tCtrl+P', help='')

src/c/e/CellProfiler-Analyst-HEAD/cpa/lineageprofiler.py   CellProfiler-Analyst(Download)
        fileMenu = wx.Menu()
 
        saveSettingsMenuItem = fileMenu.Append(-1, 'Save Protocol\tCtrl+S', help='')
        loadSettingsMenuItem = fileMenu.Append(-1, 'Load Protocol\tCtrl+O', help='')
        printExperimentMenuItem = fileMenu.Append(-1, 'Print Protocol\tCtrl+P', help='')

src/a/p/AppSalesGraph-HEAD/mainframe.py   AppSalesGraph(Download)
    def ConfigureMenus(self):
        menu = wx.Menu()
 
        ID_IMPORT = wx.NewId()
        menu.Append(ID_IMPORT, "&Import sales files...", "Open")
        menu.AppendSeparator()
 
        ID_PRINT = wx.NewId()
        menu.Append(ID_PRINT, "&Print Graph...", "Print")
        menu.Append(ID_PRINT, "&Print Graph...", "Print")
        menu.AppendSeparator()
        menu.Append(wx.ID_EXIT, "E&xit", "Terminate the program")
        menu.Enable(ID_PRINT, False)
        # menu.Enable(ID_OPEN, False)
        ID_SETTINGS = wx.NewId()
 
        menu.Append(ID_PROFIT, "&Revenue", "Show revenue on graphs", wx.ITEM_RADIO) 
        menu.Append(ID_AMOUNT, "Downloads", "Show downloads on graphs", wx.ITEM_RADIO)
 

src/h/o/Hooke-1.0.0.alpha (Ninken)/hooke/ui/gui/panel/playlist.py   Hooke(Download)
    def __init__(self, on_delete, *args, **kwargs):
        super(Menu, self).__init__(*args, **kwargs)
        self._c = {
            'delete': self.Append(id=wx.ID_ANY, text='Delete'),
            }

src/e/e/eelbrain-0.1.11/eelbrain/wxterm/shell.py   eelbrain(Download)
                    label = name + ' (%i lines)' % n_lines
                    id_ = wx.NewId()
                    m.Append(id_, label, "Open history from %s." % label)
                    self.Bind(wx.EVT_MENU, self.OnOpenHistory, id=id_)
                    self._history_items[id_] = (name, txt)
    # Exec Menu
        m = self.execMenu = wx.Menu()
        m.Append(ID.EXEC_SELECTION, "Selection or Line  \tCtrl+Enter",
                 "Execute the currently selected code or the current line.")
        m.Append(ID.EXEC_DOCUMENT, "Document", "Execute the front most Python "
                 "document.")
        m.Append(ID.EXEC_DOCUMENT_FROM_DISK, "Document from Disk  \tCtrl+E",
                self.mne_cmds[Id] = cmd
                name = cmd.capitalize()
                m.Append(Id, name, "Open the mne %s GUI" % name)
                self.Bind(wx.EVT_MENU, self.OnOpenMneGui, id=Id)
 

src/e/e/Eelbrain-HEAD/eelbrain/wxterm/shell.py   Eelbrain(Download)
                    label = name + ' (%i lines)' % n_lines
                    id_ = wx.NewId()
                    m.Append(id_, label, "Open history from %s." % label)
                    self.Bind(wx.EVT_MENU, self.OnOpenHistory, id=id_)
                    self._history_items[id_] = (name, txt)
    # Exec Menu
        m = self.execMenu = wx.Menu()
        m.Append(ID.EXEC_SELECTION, "Selection or Line  \tCtrl+Enter",
                 "Execute the currently selected code or the current line.")
        m.Append(ID.EXEC_DOCUMENT, "Document", "Execute the front most Python "
                 "document.")
        m.Append(ID.EXEC_DOCUMENT_FROM_DISK, "Document from Disk  \tCtrl+E",
                self.mne_cmds[Id] = cmd
                name = cmd.capitalize()
                m.Append(Id, name, "Open the mne %s GUI" % name)
                self.Bind(wx.EVT_MENU, self.OnOpenMneGui, id=Id)
 

src/c/e/CellProfiler-Analyst-HEAD/cpa/metadatainput.py   CellProfiler-Analyst(Download)
    frame.SetMenuBar(wx.MenuBar())
    fileMenu = wx.Menu()
    saveSettingsMenuItem = fileMenu.Append(-1, 'Save settings\tCtrl+S', help='')
    loadSettingsMenuItem = fileMenu.Append(-1, 'Load settings\tCtrl+O', help='')
    #frame.Bind(wx.EVT_MENU, on_save_settings, saveSettingsMenuItem)

src/m/o/motmot.fview-0.6.8/motmot/fview/fview.py   motmot.fview(Download)
            ID_open_cam_config = wx.NewId()
            filemenu.Append(
                ID_open_cam_config, "Open Camera Configuration...\tCtrl-O")
            wx.EVT_MENU(self, ID_open_cam_config, self.OnOpenCamConfig)
 
            ID_save_cam_config = wx.NewId()
            filemenu.Append(
                ID_save_cam_config, "Save Camera Configuration...\tCtrl-S")
 
        ID_set_record_dir = wx.NewId()
        filemenu.Append(ID_set_record_dir, "set record Directory...\tCtrl-D")
        wx.EVT_MENU(self, ID_set_record_dir, self.OnSetRecordDirectory)
        self.record_dir = os.environ.get('FVIEW_SAVE_PATH','')
 
        ID_quit = wx.NewId()
        filemenu.Append(ID_quit, "Quit\tCtrl-Q", "Quit application")
        wx.EVT_MENU(self, ID_quit, self.OnQuit)
        #wx.EVT_CLOSE(self, ID_quit, self.OnQuit)
 
        ID_init_camera = wx.NewId()
        cameramenu.Append(ID_init_camera, "initialize camera...")
        wx.EVT_MENU(self, ID_init_camera, self.OnInitCamera)
 

src/p/y/pymeg-HEAD/gui/wx/wxmsw.py   pymeg(Download)
        self.frame_main_menubar = wx.MenuBar()
        wxglade_tmp_menu = wx.Menu()
        wxglade_tmp_menu.Append(12, "dbswitcher", "", wx.ITEM_NORMAL)
        self.frame_main_menubar.Append(wxglade_tmp_menu, "DBTools")
        wxglade_tmp_menu = wx.Menu()
        wxglade_tmp_menu.Append(1, "Psel", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(2, "SquidUtl", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(3, "Acquisition Menu", "", wx.ITEM_NORMAL)
        self.frame_main_menubar.Append(wxglade_tmp_menu, "Start")
        wxglade_tmp_menu = wx.Menu()
        wxglade_tmp_menu.Append(31, "Coil LogPower 165hz Topo", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(32, "Channel Log Power", "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(33, "bad channel", "", wx.ITEM_NORMAL)

src/j/u/jubatu-0.1.0/jubatu/mainframe.py   jubatu(Download)
        wxglade_tmp_menu = wx.Menu()
        wxglade_tmp_menu_sub = wx.Menu()
        wxglade_tmp_menu_sub.Append(self.SET_PRESENCE_AVAILABLE_ID, _("Available"), "", wx.ITEM_NORMAL)
        wxglade_tmp_menu_sub.Append(self.SET_PRESENCE_AWAY_ID, _("Away"), "", wx.ITEM_NORMAL)
        wxglade_tmp_menu_sub.Append(self.SET_PRESENCE_DND_ID, _("Do not disturb"), "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.AppendMenu(self.SET_PRESENCE_ID, _("Set presence"), wxglade_tmp_menu_sub, "")
        wxglade_tmp_menu.Append(self.START_SESSION_ID, _("Start session"), "", wx.ITEM_NORMAL)
        wxglade_tmp_menu.Append(self.CLOSE_SESSION_ID, _("Close session"), "", wx.ITEM_NORMAL)

Previous  8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16  Next