ToggleButton¶
Declaration¶
- class enamlnative.widgets.toggle_button.ToggleButton(parent=None, **kwargs)[source]¶
Bases:
enamlnative.widgets.compound_button.CompoundButton
A simple control for displaying a ToggleButton.
- text_off¶
Sets the text for when the button is not in the checked state.
- text_on¶
Sets the text for when the button is in the checked state.
- proxy¶
A reference to the ProxyToggleButton object.
Android Implementation¶
- class enamlnative.android.android_toggle_button.AndroidToggleButton[source]¶
Bases:
enamlnative.android.android_compound_button.AndroidCompoundButton
,enamlnative.widgets.toggle_button.ProxyToggleButton
An Android implementation of an Enaml ProxyToggleButton.
- widget¶
A reference to the widget created by the proxy.
No iOS implementation found.