Factory: all widgets are registered through this factory

Factory: all widgets are registered through this factory

It is needed for external instance, like XMLWidget.

class pymt.ui.factory.MTWidgetFactory

Bases: object

Widget factory. Designed to register all the PyMT widget, and get them from a limited context (like eval)

static get(widgetname)

Get a widget from database

static register(widgetname, widgetclass)

Add a widget into our database

Previous topic

Colors: css & themes

This Page