tasn pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=385ecb2ef8d076db02c830f5c139dd5df8f81b2d
commit 385ecb2ef8d076db02c830f5c139dd5df8f81b2d Author: Tom Hacohen <t...@stosb.com> Date: Thu Aug 6 15:05:42 2015 +0100 Elm segment control item: migrate docs. --- src/lib/elm_segment_control_item.eo | 49 ++++++++++++------------------------- 1 file changed, 15 insertions(+), 34 deletions(-) diff --git a/src/lib/elm_segment_control_item.eo b/src/lib/elm_segment_control_item.eo index 392a0ed..16c5ac6 100644 --- a/src/lib/elm_segment_control_item.eo +++ b/src/lib/elm_segment_control_item.eo @@ -3,52 +3,33 @@ class Elm.Segment_Control_Item(Elm.Widget_Item) eo_prefix: elm_obj_segment_control_item; methods { index_get @const { - /*@ - Get the index of an item. + [[Get the index of an item. - Index is the position of an item in segment control widget. Its - range is from @c 0 to <tt> count - 1 </tt>. - Count is the number of items, that can be get with - elm_segment_control_item_count_get(). + Index is the position of an item in segment control widget. Its + range is from 0 to (count - 1). + Count is the number of items, that can be get with elm_segment_control_item_count_get()]] - @return The position of item in segment control widget. - - @ingroup SegmentControl - */ - return: int(-1); + return: int(-1); [[The position of item in segment control widget.]] } object_get @const { - /*@ - Get the real Evas(Edje) object created to implement the view of a given - segment_control @p item. - - Base object is the @c Evas_Object that represents that item. + [[Get the real Evas(Edje) object created to implement the view of a given segment_control item. - @return The base Edje object associated with @p it. - - @ingroup SegmentControl - */ - return: Evas.Object*; + Base object is the @Evas.Object that represents that item.]] + return: Evas.Object*; [[The base Edje object associated with $it]] } selected_set { - /*@ - Set the selected state of an item. - - This sets the selected state of the given item @p it. - @c EINA_TRUE for selected, @c EINA_FALSE for not selected. + [[Set the selected state of an item. - If a new item is selected the previously selected will be unselected. - Selected item can be got with function - elm_segment_control_item_selected_get(). + This sets the selected state of the given item $it. + $true for selected, $false for not selected. - The selected item always will be highlighted on segment control. + If a new item is selected the previously selected will be unselected. + Selected item can be got with function elm_segment_control_item_selected_get(). - @see elm_segment_control_item_selected_get() + The selected item always will be highlighted on segment control.]] - @ingroup SegmentControl - */ params { - selected: bool; /*@ The selected state. */ + selected: bool; [[The selected state.]] } } } --