Table Of Contents
Context¶
New in version 1.8.0.
Warning
This is experimental and subject to change as long as this warning notice is present.
Kivy has a few “global” instances that are used directly by many pieces of the framework: Cache, Builder, Clock.
TODO: document this module.
- class kivy.context.Context(init=False)¶
Bases:
builtins.dict- pop(k[, d]) v, remove specified key and return the corresponding value.¶
If the key is not found, return the default if given; otherwise, raise a KeyError.
- kivy.context.get_current_context()¶
Return the current context.
- kivy.context.register_context(name, cls, *args, **kwargs)¶
Register a new context.