Hierarchy of gadgets.
Bases: justbytes_gui._gadgets.Entry
Entry for ChoiceSelector.
top-level widget
Bases: object
Top level class for gadgets.
Get the value.
Returns: | the current value for the widget, converted to the type |
---|---|
Return type: | object |
Raises ValueError: | |
Recursive dispatch for appropriate widget.
Parameters: | |
---|---|
Returns: | a gadget for the value |
Return type: | Entry |
A decorator indicating abstract properties.
Requires that the metaclass is ABCMeta or derived from it. A class that has a metaclass derived from ABCMeta cannot be instantiated unless all of its abstract properties are overridden. The abstract properties can be called using any of the normal ‘super’ call mechanisms.
Usage:
- class C:
__metaclass__ = ABCMeta @abstractproperty def my_abstract_property(self):
...
This defines a read-only property; you can also define a read-write abstract property using the ‘long’ form of property declaration:
- class C:
- __metaclass__ = ABCMeta def getx(self): ... def setx(self, value): ... x = abstractproperty(getx, setx)
Bases: justbytes_gui._gadgets.Entry
Entry for JustSelector.
top-level widget
Bases: justbytes_gui._gadgets.Entry
Entry for maybe situation.
top-level widget