Did I find the right examples for you? yes no

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

src/g/r/gramps-3.4.2/src/ManagedWindow.py   Gramps(Download)
        if uistate and uistate.gwm.get_item_from_id(window_key):
            uistate.gwm.get_item_from_id(window_key).present()
            raise Errors.WindowActiveError('This window is already active')
        else:
            self.window_id = window_key

src/g/r/gramps-3.4.2/src/gui/widgets/validatedmaskedentry.py   Gramps(Download)
#
#-------------------------------------------------------------------------
from Errors import MaskError, ValidationError, WindowActiveError
from gui.widgets.undoableentry import UndoableEntry
 

src/g/r/gramps-3.4.2/src/gui/editors/objectentries.py   Gramps(Download)
from gui.selectors import SelectorFactory
from DdTargets import DdTargets
from Errors import WindowActiveError
 
#-------------------------------------------------------------------------