Context
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)[source]
Bases: builtins.dict
-
pop(k[, d]) → v, remove specified key and return the corresponding value.[source]
If key is not found, default is returned if given, otherwise KeyError is raised
-
kivy.context.get_current_context()[source]
Return the current context.
-
kivy.context.register_context(name, cls, *args, **kwargs)[source]
Register a new context.