l.a.w.i.LaunchpadBooleanRadioWidget(LaunchpadRadioWidget) : class documentation

Part of lp.app.widgets.itemswidgets View In Hierarchy

Render a Bool field as radio widget.

The LaunchpadRadioWidget does the rendering. Only the True-False values are rendered; a missing value item is not rendered. The default labels are rendered as 'yes' and 'no', but can be changed by setting the widget's true_label and false_label attributes.

Method __init__ Initialize the widget.
Method _renderItem Render the item with the preferred true and false labels.

Inherited from LaunchpadRadioWidget:

Method _div Undocumented
def __init__(self, field, request):
Initialize the widget.
def _renderItem(self, index, text, value, name, cssClass, checked=False):
Render the item with the preferred true and false labels.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.