Quick search

Table Of Contents


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 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.


Return the current context.