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

All Samples(14)  |  Call(8)  |  Derive(0)  |  Import(6)
The *definition* of a menu in a menu bar or menu. 

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
 
    tool_bars = [
        ToolBar(name='Fred', groups=['AToolBarGroup']),
        ToolBar(name='Wilma'),
        ToolBar(name='Barney')

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
 
    tool_bars = [
        ToolBar(name='Fred', groups=['AToolBarGroup']),
        ToolBar(name='Wilma'),
        ToolBar(name='Barney')

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
 
    tool_bars = [
        ToolBar(
            name='Project',
            groups=['PerspectiveGroup', 'ProjectGroup']
        ),

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
 
    tool_bars = [
        ToolBar(
            name='Project',
            groups=['PerspectiveGroup', 'ProjectGroup']
        ),

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

src/c/o/connectomeviewer-HEAD/cviewer/plugins/codeoracle/oracle_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