1 #ifndef _EFL_UI_RADIO_EO_LEGACY_H_
2 #define _EFL_UI_RADIO_EO_LEGACY_H_
3 
4 #ifndef _EFL_UI_RADIO_EO_CLASS_TYPE
5 #define _EFL_UI_RADIO_EO_CLASS_TYPE
6 
7 typedef Eo Efl_Ui_Radio;
8 
9 #endif
10 
11 #ifndef _EFL_UI_RADIO_EO_TYPES
12 #define _EFL_UI_RADIO_EO_TYPES
13 
14 
15 #endif
16 
17 /**
18  * @brief Set the integer value that this radio object represents.
19  *
20  * This sets the value of the radio.
21  *
22  * @param[in] obj The object.
23  * @param[in] value The value to use if this radio object is selected.
24  *
25  * @ingroup Elm_Radio_Group
26  */
27 EAPI void elm_radio_state_value_set(Efl_Ui_Radio *obj, int value);
28 
29 /**
30  * @brief Get the integer value that this radio object represents.
31  *
32  * This gets the value of the radio.
33  *
34  * @param[in] obj The object.
35  *
36  * @return The value to use if this radio object is selected.
37  *
38  * @ingroup Elm_Radio_Group
39  */
40 EAPI int elm_radio_state_value_get(const Efl_Ui_Radio *obj);
41 
42 /**
43  * @brief Set a convenience pointer to an integer, which changes when radio
44  * group value changes.
45  *
46  * This sets a pointer to an integer that in addition to the radio object state
47  * will also be modified directly. To stop setting the object pointed to,
48  * simply use NULL as the valuep argument. If valuep is not NULL then when
49  * called, the radio object state will also be modified to reflect the value of
50  * the integer valuep points to, just like calling elm_radio_value_set().
51  *
52  * @param[in] obj The object.
53  * @param[in] valuep Pointer to the integer to modify
54  *
55  * @ingroup Elm_Radio_Group
56  */
57 EAPI void elm_radio_value_pointer_set(Efl_Ui_Radio *obj, int *valuep);
58 
59 /**
60  * @brief Get the selected radio object.
61  *
62  * @param[in] obj The object.
63  *
64  * @return The selected radio object
65  *
66  * @ingroup Elm_Radio_Group
67  */
68 EAPI Efl_Canvas_Object *elm_radio_selected_object_get(const Efl_Ui_Radio *obj);
69 
70 /**
71  * @brief Add this radio to a group of other radio objects
72  *
73  * Radio objects work in groups. Each member should have a different integer
74  * value assigned. In order to have them work as a group, they need to know
75  * about each other. This adds the given radio object to the group of which the
76  * group object indicated is a member.
77  *
78  * @param[in] obj The object.
79  * @param[in] group Any radio object whose group the obj is to join.
80  *
81  * @ingroup Elm_Radio_Group
82  */
83 EAPI void elm_radio_group_add(Efl_Ui_Radio *obj, Efl_Ui_Radio *group);
84 
85 #endif
86