Quick search


New in version 1.8.0.


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 the key is not found, return the default if given; otherwise, raise a KeyError.


Return the current context.

kivy.context.register_context(name, cls, *args, **kwargs)[source]

Register a new context.