CheckBox¶
Screenshot¶
Example¶
from enamlnative.core.api import *
from enamlnative.widgets.api import *
enamldef ContentView(Flexbox):
flex_direction = "column"
CheckBox: cb:
text = "CheckBox"
checked = True
CheckBox:
text = "Bound checkbox"
checked := cb.checked
Declaration¶
- class enamlnative.widgets.checkbox.CheckBox(parent=None, **kwargs)[source]¶
Bases:
enamlnative.widgets.compound_button.CompoundButton
A simple control for displaying a CheckBox.
- proxy¶
A reference to the ProxyCheckBox object.
Android Implementation¶
- class enamlnative.android.android_checkbox.AndroidCheckBox[source]¶
Bases:
enamlnative.android.android_compound_button.AndroidCompoundButton
,enamlnative.widgets.checkbox.ProxyCheckBox
An Android implementation of an Enaml ProxyCheckBox.
- widget¶
A reference to the widget created by the proxy.
No iOS implementation found.