Efl.Ui.Radio_Group (interface)


Interface for manually handling a group of Efl.Ui.Radio buttons.

See the documentation of Efl.Ui.Radio for an explanation of radio button grouping.

Since 1.23




Register a new Efl.Ui.Radio button to this group. Keep in mind that registering to a group will only handle button grouping, you still need to add the button to a layout for it to be rendered.
void efl_ui_radio_group_register(Eo *obj, Efl_Ui_Radio *radio);

selected_value (get, set)

The value associated with the currently selected button in the group. Give each radio button in the group a different value using Efl.Ui.Radio.state_value.
int efl_ui_radio_group_selected_value_get(const Eo *obj);
void efl_ui_radio_group_selected_value_set(Eo *obj, int selected_value);


Unregister an Efl.Ui.Radio button from this group. This will unlink the behavior of this button from the other buttons in the group, but if it still belongs to a layout, it will still be rendered.
void efl_ui_radio_group_unregister(Eo *obj, Efl_Ui_Radio *radio);


fallback_selection (get, set) A object that will be selected in case nothing is selected
last_selected (get)



Emitted each time the selected_value changes. The event information contains the Efl.Ui.Radio.state_value of the newly selected button or -1 if no button is now selected.


selection_changed Emitted when there is a change in the selection state. This event will collect all the item selection change events that are happening within one loop iteration. This means, you will only get this event once, even if a lot of items have changed. If you are interested in detailed changes, subscribe to the individual Efl.Ui.Selectable.selected,changed events of each item.