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

All Samples(86)  |  Call(71)  |  Derive(0)  |  Import(15)
The *definition* of a menu in a menu bar or menu. 

src/e/n/envisage-HEAD/examples/plugins/workbench/AcmeLab/acme/workbench/test_action_set.py   envisage(Download)
""" A test action set. """
 
 
# Enthought library imports.
from envisage.ui.action.api import Action, Group, Menu, ToolBar
    menus = [
        Menu(
            name='&Test', path='MenuBar', before='Help',
            groups=['XGroup', 'YGroup']
        ),
 
        Menu(
            name='Foo', path='MenuBar/Test',
 
        Menu(
            name='Bar', path='MenuBar/Test',
            groups=['XGroup', 'YGroup']
        ),

src/e/n/envisage-HEAD/examples/plugins/workbench/AcmeLabUsingEggs/src/acme.workbench/acme/workbench/test_action_set.py   envisage(Download)
""" A test action set. """
 
 
# Enthought library imports.
from envisage.ui.action.api import Action, Group, Menu, ToolBar
    menus = [
        Menu(
            name='&Test', path='MenuBar',
            groups=['XGroup', 'YGroup']
        ),
 
        Menu(
            name='Foo', path='MenuBar/Test',
 
        Menu(
            name='Bar', path='MenuBar/Test',
            groups=['XGroup', 'YGroup']
        ),

src/m/a/mayavi-4.3.1/tvtk/plugins/scene/ui/scene_ui_action_set.py   mayavi(Download)
 
# Enthought library imports.
from envisage.ui.action.api import Action, ActionSet, Group, Menu
 
 
 
new_menu = Menu(
    name='&New',
    path='MenuBar/File', group='TVTKSceneGroup'
)
 
save_scene_as_menu = Menu(
    id='SaveSceneAs', name="Sa&ve Scene As",

src/m/a/mayavi-HEAD/tvtk/plugins/scene/ui/scene_ui_action_set.py   mayavi(Download)
 
# Enthought library imports.
from envisage.ui.action.api import Action, ActionSet, Group, Menu
 
 
 
new_menu = Menu(
    name='&New',
    path='MenuBar/File', group='TVTKSceneGroup'
)
 
save_scene_as_menu = Menu(
    id='SaveSceneAs', name="Sa&ve Scene As",

src/e/t/etsdevtools-HEAD/etsdevtools/developer/action/actions.py   etsdevtools(Download)
from envisage.ui.workbench.api import \
    Workbench, WorkbenchActionSet
from envisage.ui.action.api \
    import Action, Group, Menu
 
 
    menus = [
        Menu( groups   = [ Group( id = 'enthought_developer_ToolsGroup') ],
              id       = 'enthought_developer_ToolsMenu',
              path = 'MenuBar',
              name     = 'Developer Tools',
              before = 'Help',
        ),
        Menu( groups   = [ Group( id = 'enthought_developer_DebugGroup' ) ],

src/e/n/envisage-HEAD/envisage/ui/single_project/project_action_set.py   envisage(Download)
""" Single project action set. """
# Enthought library imports.
from envisage.ui.action.api import Action, Group, Menu, ToolBar
from envisage.ui.workbench.api import WorkbenchActionSet
 
    menus = [
        Menu(
            id='ProjectMenu',
            name='&Project',
            path='MenuBar/File',

src/e/n/envisage-4.4.0/envisage/ui/single_project/project_action_set.py   envisage(Download)
""" Single project action set. """
# Enthought library imports.
from envisage.ui.action.api import Action, Group, Menu, ToolBar
from envisage.ui.workbench.api import WorkbenchActionSet
 
    menus = [
        Menu(
            id='ProjectMenu',
            name='&Project',
            path='MenuBar/File',

src/c/o/connectomeviewer-HEAD/cviewer/plugins/ui/cviewer_ui_action_set.py   connectomeviewer(Download)
 
# Enthought library imports.
from envisage.ui.action.api import Action, Group, Menu, ToolBar
from envisage.ui.workbench.api import WorkbenchActionSet
from mayavi.core.registry import registry
 
open_menu = Menu(
    id      = "LoadDataMenu",
    name    = "&Load data",
    path    = 'MenuBar/File',
    group   = 'ConnectomeFileGroup'
)
 
visualize_menu = Menu(
    id      = "VisualizeMenu",
 
modules_menu = Menu(
    id      = "ModulesMenu",
    name    = "&Modules",
    path    = "MenuBar/VisualizeMenu",
)
 
filters_menu = Menu(
    id      = "FiltersMenu",

src/m/a/mayavi-4.3.1/mayavi/plugins/mayavi_ui_action_set.py   mayavi(Download)
 
# Enthought library imports.
from envisage.ui.action.api import Action, ActionSet, Group, Menu
from mayavi.core.registry import registry
 
 
open_menu = Menu(
    id     = "LoadDataMenu",
    name   = "&Load data",
    path = 'MenuBar/File',
    group='MayaviFileGroup'
)
 
visualize_menu = Menu(
    id     = "VisualizeMenu",
 
modules_menu = Menu(
    id     = "ModulesMenu",
    name   = "&Modules",
    path="MenuBar/VisualizeMenu",
)
 
filters_menu = Menu(
    id     = "FiltersMenu",

src/m/a/mayavi-HEAD/mayavi/plugins/mayavi_ui_action_set.py   mayavi(Download)
 
# Enthought library imports.
from envisage.ui.action.api import Action, ActionSet, Group, Menu
from mayavi.core.registry import registry
 
 
open_menu = Menu(
    id     = "LoadDataMenu",
    name   = "&Load data",
    path = 'MenuBar/File',
    group='MayaviFileGroup'
)
 
visualize_menu = Menu(
    id     = "VisualizeMenu",
 
modules_menu = Menu(
    id     = "ModulesMenu",
    name   = "&Modules",
    path="MenuBar/VisualizeMenu",
)
 
filters_menu = Menu(
    id     = "FiltersMenu",

  1 | 2  Next