Beispiel #1
0
def kivy_exception_manager():
    from kivy.context import Context
    from kivy.base import ExceptionManagerBase, ExceptionManager

    context = Context(init=False)
    context['ExceptionManager'] = ExceptionManagerBase()
    context.push()

    try:
        yield ExceptionManager
    finally:
        context.pop()
Beispiel #2
0
 def __init__(self, sandbox):
     ExceptionManagerBase.__init__(self)
     self.sandbox = sandbox
Beispiel #3
0
 def __init__(self, sandbox):
     ExceptionManagerBase.__init__(self)
     self.sandbox = sandbox