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, d is returned if given, otherwise KeyError is raised
-
kivy.context.
register_context
(name, cls, *args, **kwargs)[source]
Register a new context.
-
kivy.context.
get_current_context
()[source]
Return the current context.