RadioGroup

Declaration

class enamlnative.widgets.radio_group.RadioGroup(parent=None, **kwargs)[source]

Bases: enamlnative.widgets.linear_layout.LinearLayout

A simple control for displaying a RadioGroup.

checked

Reference to the checked radio button or None

proxy

A reference to the ProxyLabel object.

Android Implementation

class enamlnative.android.android_radio_group.AndroidRadioGroup[source]

Bases: enamlnative.android.android_linear_layout.AndroidLinearLayout, enamlnative.widgets.radio_group.ProxyRadioGroup

An Android implementation of an Enaml ProxyLinearLayout.

widget

A reference to the widget created by the proxy.

create_widget()[source]

Create the underlying widget.

init_layout()[source]

Set the checked state after all children have been populated.

on_checked_changed(group, checked_id)[source]

Set the checked property based on the checked state of all the children

set_checked(checked)[source]

Properly check the correct radio button.

No iOS implementation found.