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/p/y/pycorrfit-0.8.3/src/frontend.py   pycorrfit(Download)
        # wx.ID_ABOUT and wx.ID_EXIT are standard IDs provided by wxWidgets.
        # self.filemenu
        menuAddModel = self.filemenu.Append(wx.ID_ANY, 
                          "&Import model", "Add a user defined model.")
        menuLoadBatch = self.filemenu.Append(wx.ID_ANY, 
                         "&Load data", "Loads one or multiple data files")
        menuOpen = self.filemenu.Append(wx.ID_OPEN, "&Open session", 
                                           "Restore a previously saved session")
        self.filemenu.AppendSeparator()
        self.menuComm = self.filemenu.Append(wx.ID_ANY, "Co&mment session", 
                           "Add a comment to this session", kind=wx.ITEM_CHECK)
        self.filemenu.Check(self.menuComm.GetId(), False)
        menuClear = self.filemenu.Append(wx.ID_ANY, "&Clear session", 
                          "Remove all pages but keep imported model functions.")
        menuSave = self.filemenu.Append(wx.ID_SAVE, "&Save session", 

src/p/y/PyFMI-1.4/src/common/plotting/plot_gui.py   PyFMI(Download)
        #Create the menu options
        # Main
        self.menuOpen  = filemenu.Append(wx.ID_OPEN, "&Open\tCtrl+O","Open a result.")
        self.menuSaveFig = filemenu.Append(wx.ID_SAVE, "&Save\tCtrl+S", "Save the current figure.")
        filemenu.AppendSeparator() #Append a seperator between Open and Exit
        self.menuExit  = filemenu.Append(wx.ID_EXIT,"E&xit\tCtrl+X"," Terminate the program.")
 
        # Edit
        self.editAdd  = editmenu.Append(wx.ID_ADD,"A&dd Plot","Add a plot window.")
        self.editClear = editmenu.Append(wx.ID_CLEAR, "Clear Plot", "Clear the current plot window.")

src/e/i/einstein-HEAD/Python25Einstein/Lib/site-packages/wx-2.8-msw-unicode/wx/lib/plot.py   einstein(Download)
 
        menu = wx.Menu()
        menu.Append(200, 'Page Setup...', 'Setup the printer page')
        self.Bind(wx.EVT_MENU, self.OnFilePageSetup, id=200)
 
        menu.Append(201, 'Print Preview...', 'Show the current plot on page')
        self.Bind(wx.EVT_MENU, self.OnFilePrintPreview, id=201)
 
        menu.Append(202, 'Print...', 'Print the current plot')
        self.Bind(wx.EVT_MENU, self.OnFilePrint, id=202)
 
        menu.Append(203, 'Save Plot...', 'Save current plot')
        self.Bind(wx.EVT_MENU, self.OnSaveFile, id=203)
 
        menu.Append(205, 'E&xit', 'Enough of this already!')

src/t/e/terapy-2.00b6/terapy/scan/control.py   terapy(Download)
 
        if self.list_events.GetItemPyData(self.list_events.Selection)!=None or itm.IsOk():
            mitem = menu.Append(id=wx.NewId(),text="&Remove")
            self.Bind(wx.EVT_MENU, self.OnRemoveEvent, id=mitem.Id)
            mitem = menu.Append(id=wx.NewId(),text="&Rename")
            if not(ev.is_root):
                if self.list_events.GetItemPyData(itm).is_active:
                    mitem = menu.Append(id=wx.NewId(), text="&Disable")
                else:
                    mitem = menu.Append(id=wx.NewId(), text="&Enable")
                self.Bind(wx.EVT_MENU, lambda x: self.OnEnableEvent(itm), id=mitem.Id)
 
        menu.AppendSeparator()
        mitem = menu.Append(id=wx.NewId(),text="&Load sequence")

src/r/t/RTLSDR-Scanner-HEAD/src/main_window.py   RTLSDR-Scanner(Download)
    def __create_menu(self):
        menuFile = wx.Menu()
        self.menuNew = menuFile.Append(wx.ID_NEW, "&New",
                                        "New plot")
        self.menuOpen = menuFile.Append(wx.ID_OPEN, "&Open...",
        menuFile.AppendMenu(wx.ID_ANY, "&Recent Files", recent)
        menuFile.AppendSeparator()
        self.menuSave = menuFile.Append(wx.ID_SAVE, "&Save As...",
                                        "Save plot")
        self.menuExportScan = menuFile.Append(wx.ID_ANY, "Export scan...",
                                              "Export scan")
        self.menuExportImage = menuFile.Append(wx.ID_ANY, "Export image...",

src/c/e/CellProfiler-HEAD/cellprofiler/gui/cpframe.py   CellProfiler(Download)
        self.__menu_file = wx.Menu()
        self.__menu_file.Append(
            wx.ID_NEW,
            "New Project",
            help="Create an empty project")
        self.__menu_file.Append(
            wx.ID_OPEN,
            "Open Recent")
        self.__menu_file.Append(
            wx.ID_SAVE,
            "Save Project\tctrl+S",
            help='Save the project to the current project file')
        self.__menu_file.Append(
            wx.ID_SAVEAS,
            help='Save the project to a file of your choice')
        self.__menu_file.Append(
            ID_FILE_REVERT_TO_SAVED,
            "Revert to Saved",
            help="Reload the project file, discarding changes")

src/s/p/spikepy-HEAD/spikepy/gui/menu_bar.py   spikepy(Download)
        # --- FILE ---
        file_menu = wx.Menu()
        file_menu.Append(OPEN, text=pt.OPEN)
        file_menu.AppendSeparator()
        file_menu.Append(SAVE_SESSION,      text=pt.SAVE_SESSION)
        file_menu.AppendSeparator()
        file_menu.Append(EXPORT_MARKED,     text=pt.EXPORT_MARKED_TRIALS)
        file_menu.AppendSeparator()
        file_menu.Append(EXIT,              text=pt.EXIT)
        # --- VIEW ---
        view_menu = wx.Menu()
        view_menu.Append(SHOW_TOOLBARS, text=pt.SHOW_TOOLBARS_MENU, 
                         kind=wx.ITEM_CHECK)
 

src/c/e/CellProfiler-Analyst-HEAD/CellProfiler-Analyst.py   CellProfiler-Analyst(Download)
        self.SetMenuBar(wx.MenuBar())
        fileMenu = wx.Menu()
        savePropertiesMenuItem = fileMenu.Append(-1, 'Save properties\tCtrl+S', help='Save the properties.')
##        loadWorkspaceMenuItem = fileMenu.Append(-1, 'Load properties\tCtrl+O', help='Open another properties file.')
        fileMenu.AppendSeparator()
        saveWorkspaceMenuItem = fileMenu.Append(-1, 'Save workspace\tCtrl+Shift+S', help='Save the currently open plots and settings.')
        loadWorkspaceMenuItem = fileMenu.Append(-1, 'Load workspace\tCtrl+Shift+O', help='Open plots saved in a previous workspace.')
        fileMenu.AppendSeparator()
        saveLogMenuItem = fileMenu.Append(-1, 'Save log', help='Save the contents of the log window.')
        saveLogMenuItem = fileMenu.Append(-1, 'Save log', help='Save the contents of the log window.')
        fileMenu.AppendSeparator()
        self.exitMenuItem = fileMenu.Append(wx.ID_EXIT, 'Exit\tCtrl+Q', help='Exit classifier')
        self.GetMenuBar().Append(fileMenu, 'File')
 

src/l/t/LTLMoP-HEAD/src/regionEditor.py   LTLMoP(Download)
 
        self.fileMenu = wx.Menu()
        self.fileMenu.Append(wx.ID_NEW,    "&New\tCTRL-N")
        self.fileMenu.Append(wx.ID_OPEN,   "&Open...\tCTRL-O")
        self.fileMenu.Append(wx.ID_CLOSE,  "&Close\tCTRL-W")
        self.fileMenu.AppendSeparator()
        self.fileMenu.Append(menu_SETBG,   "&Import Background...\tCTRL-I")
        self.fileMenu.AppendSeparator()
        self.fileMenu.Append(wx.ID_SAVE,   "&Save\tCTRL-S")

src/y/a/yarest-0.5.0/yarest/gui/_main.py   yarest(Download)
 
        menu = wx.Menu()
        menu_quit = menu.Append(id=wx.ID_EXIT, text=menu_file_quit_label,
                                help=menu_file_quit_desc)
        self.Bind(wx.EVT_MENU, self._on_close, menu_quit)
            self._logger.info(profiles_edit_enabled)
            menu = wx.Menu()
            menu_edit = menu.Append(id=wx.ID_EDIT, text=menu_edit_profiles_label,
                                    help=menu_edit_profiles_desc)
            self.Bind(wx.EVT_MENU, self._on_edit_profiles, menu_edit)
            menubar.Append(menu, menu_edit_label)
 
        menu = wx.Menu()
        menu_about = menu.Append(id=wx.ID_ABOUT, text=menu_help_about_label,
    def _show_menu(self, event):
        menu = wx.Menu()
 
        if not self.parent.IsShown():
            show = menu.Append(wx.ID_ANY, label_show)
            self.Bind(wx.EVT_MENU, self._show_window, show)
        if self.parent.running:
            disconnect = menu.Append(wx.ID_ANY, label_disconnect)

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