# Metaclasses

class urwid.WidgetMeta(name, bases, namespace, /, **kwargs)

  Bases: `MetaSuper`, `MetaSignals`

  Automatic caching of render and rows methods.

  Class variable no_cache is a list of names of methods to not cache automatically. Valid method names for no_cache are `'render'` and `'rows'`.

  Class variable ignore_focus if defined and set to `True` indicates that the canvas this widget renders is not affected by the focus parameter, so it may be ignored when caching.

class urwid.MetaSuper

  Deprecated metaclass.

  Present only for code compatibility, all logic has been removed. Please move to the last position in the class bases to allow future changes.

class urwid.MetaSignals(name, bases, namespace, /, **kwargs)

  register the list of signals in the class variable signals, including signals in superclasses.