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

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/e/n/envisage-4.4.0/envisage/ui/single_project/project_runnable.py   envisage(Download)
# Enthought library imports.
from envisage import Runnable
from envisage.workbench.services import IWORKBENCH
from pyface.api import information
 
        window = None
        try:
            workbench = application.get_service(IWORKBENCH)
            window = workbench.active_window.control
        except:

src/e/n/envisage-HEAD/envisage/ui/single_project/project_runnable.py   envisage(Download)
# Enthought library imports.
from envisage import Runnable
from envisage.workbench.services import IWORKBENCH
from pyface.api import information
 
        window = None
        try:
            workbench = application.get_service(IWORKBENCH)
            window = workbench.active_window.control
        except: