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/h/y/hydrus-HEAD/include/ClientGUICommon.py   hydrus(Download)
        menu = wx.Menu()
 
        for service_identifier in service_identifiers: menu.Append( CC.MENU_EVENT_ID_TO_ACTION_CACHE.GetId( 'change_file_repository', service_identifier ), service_identifier.GetName() )
 
        self.PopupMenu( menu )
        menu = wx.Menu()
 
        for service_identifier in service_identifiers: menu.Append( CC.MENU_EVENT_ID_TO_ACTION_CACHE.GetId( 'change_tag_repository', service_identifier ), service_identifier.GetName() )
 
        self.PopupMenu( menu )
    def EventButton( self, event ):
 
        menu = wx.Menu()
 
        menu.Append( -1, 'click on a phrase to copy to clipboard' )
 
        menu.AppendSeparator()
 
        menu.Append( self.ID_HASH, 'the file\'s hash - {hash}' )
        menu.Append( self.ID_TAGS, 'all the file\'s tags - {tags}' )

src/t/d/tdl-HEAD/modules/sxrd/pisurf.py   tdl(Download)
        # Setting up the ReadFilesmenu.
        filemenu= wx.Menu()
        menuReadData = filemenu.Append(wx.ID_ANY,"&Read Datafile"," Read in a Data file")
        menuReadBulk = filemenu.Append(wx.ID_ANY,"&Read Bulkfile"," Read in a Bulk file")
        menuReadSurface = filemenu.Append(wx.ID_ANY,"&Read Surfacefile"," Read in a Surface file")
        menuReadParameter = filemenu.Append(wx.ID_ANY,"&Read Parameterfile"," Read in a Parameter file")
        menuReadRigidbody = filemenu.Append(wx.ID_ANY,"&Read Rigidbodyfile"," Read in a Rigid Body file")

src/h/y/hydrus-HEAD/include/ClientGUIMedia.py   hydrus(Download)
            else: id = CC.MENU_EVENT_ID_TO_ACTION_CACHE.GetId( action, s_i )
 
            submenu.Append( id, s_i.GetName() )
 
 
            if self._refreshable:
 
                menu.Append( CC.MENU_EVENT_ID_TO_ACTION_CACHE.GetId( 'refresh' ), 'refresh' )
 
 
                if len( self._selected_media ) < len( self._sorted_media ):
 
                    select_menu.Append( CC.MENU_EVENT_ID_TO_ACTION_CACHE.GetId( 'select', 'all' ), 'all' )
 
 
                select_menu.Append( CC.MENU_EVENT_ID_TO_ACTION_CACHE.GetId( 'select', 'invert' ), 'invert' )
 
                if media_has_archive and media_has_inbox:
 
                    select_menu.Append( CC.MENU_EVENT_ID_TO_ACTION_CACHE.GetId( 'select', 'inbox' ), 'inbox' )

src/w/x/wxmplot-0.9.14/lib/imageframe.py   wxmplot(Download)
    def BuildMenu(self):
        mids = self.menuIDs
        m0 = wx.Menu()
        mids.EXPORT = wx.NewId()
        m0.Append(mids.SAVE,   '&Save Image\tCtrl+S',  'Save PNG Image of Plot')
        m0.Append(mids.CLIPB,  '&Copy Image\tCtrl+C',  'Copy Image to Clipboard')
        m0.Append(mids.EXPORT, 'Export Data to ASCII', 'Export to ASCII file')
        m0.AppendSeparator()
        m0.Append(mids.PSETUP,  'Page Setup...',    'Printer Setup')
        m0.Append(mids.PREVIEW, 'Print Preview...', 'Print Preview')

src/s/k/Skyperious-HEAD/src/wx_accel.py   Skyperious(Download)
            if (DEBUG): print("Binding %s to targets %s." %
                              (key, [type(t) for t in targets]))
            menu_item = dummy_menu.Append(id=event_id, text="&%s" % key)
            window.Bind(wx.EVT_MENU,
                        functools.partial(shortcut_handler, targets, key),

src/o/u/outwiker-HEAD/src/outwiker/gui/mainmenu.py   outwiker(Download)
    def __createEditMenu (self):
        editMenu = wx.Menu()
 
        editMenu.Append (MainId.ID_UNDO, 
                _("Undo") + "\tCtrl+Z", 
                "", 
                wx.ITEM_NORMAL)
 
        editMenu.Append (MainId.ID_REDO, 
        editMenu.AppendSeparator()
 
        editMenu.Append (MainId.ID_CUT, 
                _("Cut") + "\tCtrl+X", 
                "", 
                wx.ITEM_NORMAL)
 
        editMenu.Append (MainId.ID_COPY, 
                wx.ITEM_NORMAL)
 
        editMenu.Append (MainId.ID_PASTE, 
                _("Paste") + "\tCtrl+V", 
                "", 

src/g/w/gweb2py-HEAD/toplevel.py   gweb2py(Download)
 
        menu = wx.Menu()
        self.menu_item_w2p_open = menu.Append(wx.ID_ANY, "&Open",
                "Open a web2py folder and start webserver")
        self.menu_item_w2p_close = menu.Append(wx.ID_ANY, "&Close",
                "Close all files and stop webserver")
        menu.AppendSeparator()
        self.menu_item_w2p_reload = menu.Append(wx.ID_ANY, "&Reload",
                "Reload web server")
        menu.AppendSeparator()
        self.menu_item_w2p_quit = menu.Append(wx.ID_ANY, "&Quit",
                "Quit everything")
        menuBar.Append(menu, "&Web2py")
 
        menu = wx.Menu()
        self.menu_item_app_new = menu.Append(wx.ID_ANY, "&New",
                "Create a new application")
        menuBar.Append(menu, "&Application")

src/p/y/PyGGIS-HEAD/PyGGIS/src/mineGIS.py   PyGGIS(Download)
 
        load_id = wx.NewId()
        FileMenu.Append(load_id, MNU_CLOAD[0], MNU_CLOAD[1])
        self.Bind(wx.EVT_MENU, self.OnLoadDB, id=load_id)
 
        save_id = wx.NewId()
        FileMenu.Append(save_id, MNU_CSAVE[0], MNU_CSAVE[1])
        FileMenu.AppendSeparator()
        saveasbmp_id = wx.NewId()
        FileMenu.Append(saveasbmp_id, MNU_SAVEAS[0], MNU_SAVEAS[1])
        self.Bind(wx.EVT_MENU, self.SaveAsImage, id=saveasbmp_id)
        FileMenu.AppendSeparator()
 
        execpy_id = wx.NewId()
        FileMenu.Append(execpy_id, MNU_SCRIPT[0], MNU_SCRIPT[1])
 
        exit_id = wx.NewId()
        FileMenu.Append(exit_id, MNU_EXIT[0], MNU_EXIT[1])
        self.Bind(wx.EVT_MENU, self.OnExit, id=exit_id)
 

src/w/x/wxmplot-0.9.14/lib/baseframe.py   wxmplot(Download)
    def Build_DefaultUserMenus(self):
        mids = self.menuIDs
        m = wx.Menu()
        m.Append(mids.CONFIG, "Configure Plot\tCtrl+K",
                 "Configure Plot styles, colors, labels, etc")
        m.Append(mids.TOGGLE_LEGEND, "Toggle Legend\tCtrl+L",
                 "Toggle Legend Display")
        m.Append(mids.TOGGLE_GRID, "Toggle Grid\tCtrl+G",
                 "Toggle Grid Display")
        m.AppendSeparator()
        m.Append(mids.UNZOOM, "Zoom Out\tCtrl+Z",
                 "Zoom out to full data range")
        self.user_menus  = [('&Options',m)]
 
    def BuildMenu(self):
        mids = self.menuIDs
        m0 = wx.Menu()
        m0.Append(mids.SAVE, "&Save Image\tCtrl+S",

src/w/x/wx_py-0.9.8.11/wx_py/frame.py   wx_py(Download)
 
        self.historyMenu = wx.Menu()
        self.historyMenu.Append(ID_SAVEHISTORY, '&Autosave History',
                 'Automatically save history on close', wx.ITEM_CHECK)
        self.historyMenu.Append(ID_SAVEHISTORYNOW, '&Save History Now',
                 'Save history')
        self.historyMenu.Append(ID_CLEARHISTORY, '&Clear History ',
 
        self.startupMenu = wx.Menu()
        self.startupMenu.Append(ID_EXECSTARTUPSCRIPT,
                                'E&xecute Startup Script',
                                'Execute Startup Script', wx.ITEM_CHECK)
        self.startupMenu.Append(ID_EDITSTARTUPSCRIPT,

Previous  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18  Next