Class p.u.r.h.WidgetCostumizer:

Part of pida.utils.rat.hig View In Hierarchy

Known subclasses: pida.utils.rat.hig.RunDialog, pida.utils.rat.hig.SetupAlert, pida.utils.rat.hig.SetupDialog, pida.utils.rat.hig.SetupLabel, pida.utils.rat.hig.SetupScrolledWindow

The WidgetCostumizer is a class template for defining chaining of asseblies of interfaces. For example you can create a dialog with this simple lines of code:

creator.bind(SetupDialog()).bind(SetupAlert(primary_text, secondary_text, **kwargs))
dlg = creator()

The costumization of a widget is like a pipeline of filters that act on a certain widget and on a toplevel container.

Line # Kind Name Docs
62 Method __init__ Undocumented
68 Method _get_next Undocumented
71 Method update Undocumented
74 Method _run Undocumented
77 Method bind Undocumented
86 Method _call Undocumented
100 Method __call__ This method is only called once
def __init__(self, *args, **kwargs):
Undocumented
def _get_next(self):
Undocumented
def update(self, **kwargs):
Undocumented
def _run(self, *args, **kwargs):
Undocumented
def bind(self, *others):
Undocumented
def _call(self, widget, container):
Undocumented
def __call__(self, widget=None, container=None):
This method is only called once
API Documentation for PIDA, generated by pydoctor.