summaryrefslogtreecommitdiff
path: root/src/lib/elm_segment_control.h
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2012-01-02 06:01:24 +0000
committerChunEon Park <hermet@hermet.pe.kr>2012-01-02 06:01:24 +0000
commit383965d5c91b098f25c52c71ace9e3ea7e0175d3 (patch)
treeab890e45b3b619557ac9a3b0a109a1a689f367b6 /src/lib/elm_segment_control.h
parente9bf69a8adf1da8f1b9ccf6443bd742d4ea89ea1 (diff)
elementary/segment_control - Elm_Segment_Item -> Elm_Object_Item
SVN revision: 66730
Diffstat (limited to '')
-rw-r--r--src/lib/elm_segment_control.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/lib/elm_segment_control.h b/src/lib/elm_segment_control.h
index 8c09bf2a0..6e5b8efad 100644
--- a/src/lib/elm_segment_control.h
+++ b/src/lib/elm_segment_control.h
@@ -35,8 +35,6 @@
35 * @{ 35 * @{
36 */ 36 */
37 37
38typedef struct _Elm_Segment_Item Elm_Segment_Item; /**< Item handle for a segment control widget. */
39
40/** 38/**
41 * Add a new segment control widget to the given parent Elementary 39 * Add a new segment control widget to the given parent Elementary
42 * (container) object. 40 * (container) object.
@@ -91,7 +89,7 @@ EAPI Evas_Object *elm_segment_control_add(Evas_Object *parent);
91 * 89 *
92 * @ingroup SegmentControl 90 * @ingroup SegmentControl
93 */ 91 */
94EAPI Elm_Segment_Item *elm_segment_control_item_add(Evas_Object *obj, Evas_Object *icon, const char *label); 92EAPI Elm_Object_Item *elm_segment_control_item_add(Evas_Object *obj, Evas_Object *icon, const char *label);
95 93
96/** 94/**
97 * Insert a new item to the segment control object at specified position. 95 * Insert a new item to the segment control object at specified position.
@@ -124,7 +122,7 @@ EAPI Elm_Segment_Item *elm_segment_control_item_add(Evas_Object *obj, Evas_Objec
124 * 122 *
125 * @ingroup SegmentControl 123 * @ingroup SegmentControl
126 */ 124 */
127EAPI Elm_Segment_Item *elm_segment_control_item_insert_at(Evas_Object *obj, Evas_Object *icon, const char *label, int index); 125EAPI Elm_Object_Item *elm_segment_control_item_insert_at(Evas_Object *obj, Evas_Object *icon, const char *label, int index);
128 126
129/** 127/**
130 * Remove a segment control item from its parent, deleting it. 128 * Remove a segment control item from its parent, deleting it.
@@ -136,7 +134,7 @@ EAPI Elm_Segment_Item *elm_segment_control_item_insert_at(Evas_Object *obj, Evas
136 * 134 *
137 * @ingroup SegmentControl 135 * @ingroup SegmentControl
138 */ 136 */
139EAPI void elm_segment_control_item_del(Elm_Segment_Item *it); 137EAPI void elm_segment_control_item_del(Elm_Object_Item *it);
140 138
141/** 139/**
142 * Remove a segment control item at given index from its parent, 140 * Remove a segment control item at given index from its parent,
@@ -178,7 +176,7 @@ EAPI int elm_segment_control_item_count_get(const Evas_Object *obj
178 * 176 *
179 * @ingroup SegmentControl 177 * @ingroup SegmentControl
180 */ 178 */
181EAPI Elm_Segment_Item *elm_segment_control_item_get(const Evas_Object *obj, int index); 179EAPI Elm_Object_Item *elm_segment_control_item_get(const Evas_Object *obj, int index);
182 180
183/** 181/**
184 * Get the label of item. 182 * Get the label of item.
@@ -217,7 +215,7 @@ EAPI const char *elm_segment_control_item_label_get(const Evas_Object *obj
217 * 215 *
218 * @ingroup SegmentControl 216 * @ingroup SegmentControl
219 */ 217 */
220EAPI void elm_segment_control_item_label_set(Elm_Segment_Item *it, const char *label); 218EAPI void elm_segment_control_item_label_set(Elm_Object_Item *it, const char *label);
221 219
222/** 220/**
223 * Get the icon associated to the item. 221 * Get the icon associated to the item.
@@ -261,7 +259,7 @@ EAPI Evas_Object *elm_segment_control_item_icon_get(const Evas_Object *obj,
261 * 259 *
262 * @ingroup SegmentControl 260 * @ingroup SegmentControl
263 */ 261 */
264EAPI void elm_segment_control_item_icon_set(Elm_Segment_Item *it, Evas_Object *icon); 262EAPI void elm_segment_control_item_icon_set(Elm_Object_Item *it, Evas_Object *icon);
265 263
266/** 264/**
267 * Get the index of an item. 265 * Get the index of an item.
@@ -276,7 +274,7 @@ EAPI void elm_segment_control_item_icon_set(Elm_Segment_Item *it, E
276 * 274 *
277 * @ingroup SegmentControl 275 * @ingroup SegmentControl
278 */ 276 */
279EAPI int elm_segment_control_item_index_get(const Elm_Segment_Item *it); 277EAPI int elm_segment_control_item_index_get(const Elm_Object_Item *it);
280 278
281/** 279/**
282 * Get the base object of the item. 280 * Get the base object of the item.
@@ -288,7 +286,7 @@ EAPI int elm_segment_control_item_index_get(const Elm_Segment_Item
288 * 286 *
289 * @ingroup SegmentControl 287 * @ingroup SegmentControl
290 */ 288 */
291EAPI Evas_Object *elm_segment_control_item_object_get(const Elm_Segment_Item *it); 289EAPI Evas_Object *elm_segment_control_item_object_get(const Elm_Object_Item *it);
292 290
293/** 291/**
294 * Get the selected item. 292 * Get the selected item.
@@ -304,7 +302,7 @@ EAPI Evas_Object *elm_segment_control_item_object_get(const Elm_Segment_Ite
304 * 302 *
305 * @ingroup SegmentControl 303 * @ingroup SegmentControl
306 */ 304 */
307EAPI Elm_Segment_Item *elm_segment_control_item_selected_get(const Evas_Object *obj); 305EAPI Elm_Object_Item *elm_segment_control_item_selected_get(const Evas_Object *obj);
308 306
309/** 307/**
310 * Set the selected state of an item. 308 * Set the selected state of an item.
@@ -325,7 +323,7 @@ EAPI Elm_Segment_Item *elm_segment_control_item_selected_get(const Evas_Object *
325 * 323 *
326 * @ingroup SegmentControl 324 * @ingroup SegmentControl
327 */ 325 */
328EAPI void elm_segment_control_item_selected_set(Elm_Segment_Item *it, Eina_Bool select); 326EAPI void elm_segment_control_item_selected_set(Elm_Object_Item *it, Eina_Bool select);
329 327
330/** 328/**
331 * @} 329 * @}