stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=23c9d74a8ce83a243d06d993100a02205288f7da

commit 23c9d74a8ce83a243d06d993100a02205288f7da
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Wed Nov 23 11:43:39 2016 +0100

    docs: elm_toolbar: fill gaps in elm_toolbar eo file documentation
---
 src/lib/elementary/elm_toolbar.eo      |  6 +++---
 src/lib/elementary/elm_toolbar_item.eo | 11 ++++++-----
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/lib/elementary/elm_toolbar.eo 
b/src/lib/elementary/elm_toolbar.eo
index 783899b..bcaa0c2 100644
--- a/src/lib/elementary/elm_toolbar.eo
+++ b/src/lib/elementary/elm_toolbar.eo
@@ -28,6 +28,7 @@ class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, 
Efl.Orientation,
                    Elm.Interface.Atspi_Widget_Action, 
Elm.Interface.Atspi.Selection,
                    Efl.Ui.Clickable, Efl.Ui.Selectable)
 {
+   [[Elementary toolbar class]]
    legacy_prefix: elm_toolbar;
    eo_prefix: elm_obj_toolbar;
    event_prefix: elm_toolbar;
@@ -374,8 +375,7 @@ class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, 
Efl.Orientation,
       Elm.Interface.Atspi.Selection.clear;
    }
    events {
-      item,focused;
-      item,unfocused;
+      item,focused; [[Called when toolbar item got focus]]
+      item,unfocused; [[Called when toolbar item lost focus]]
    }
-
 }
diff --git a/src/lib/elementary/elm_toolbar_item.eo 
b/src/lib/elementary/elm_toolbar_item.eo
index 071d397..a98e1ee 100644
--- a/src/lib/elementary/elm_toolbar_item.eo
+++ b/src/lib/elementary/elm_toolbar_item.eo
@@ -25,6 +25,7 @@ struct Elm.Toolbar.Item.State
 
 class Elm.Toolbar.Item(Elm.Widget.Item)
 {
+      [[Elementary toolbar item class]]
       legacy_prefix: elm_toolbar_item;
       eo_prefix: elm_obj_toolbar_item;
       methods {
@@ -150,7 +151,7 @@ class Elm.Toolbar.Item(Elm.Widget.Item)
                      ]]
                 }
                 values {
-                     separator: bool;
+                     separator: bool; [[$true if the item is a separator, 
$false otherwise]]
                 }
            }
            @property menu {
@@ -176,10 +177,10 @@ class Elm.Toolbar.Item(Elm.Widget.Item)
                        default item's icon and label will be used. It's the
                        behavior as \@ref elm_toolbar_item_state_unset.
                      ]]
-                     return: bool;
+                     return: bool; [[$true on success, $false otherwise]]
                 }
                 values {
-                     state: ptr(Elm.Toolbar.Item.State) @nullable;
+                     state: ptr(Elm.Toolbar.Item.State) @nullable; [[Item 
state]]
                 }
            }
            /*      init { FIXME
@@ -200,7 +201,7 @@ class Elm.Toolbar.Item(Elm.Widget.Item)
                      @in format: string; [[Optional format of $img to pass to 
the image loader.]]
                      @in key: string; [[Optional key of $img to pass to the 
image loader (eg. if $img is an edje file).]]
                 }
-                return: bool;
+                return: bool; [[$true on success, $false otherwise]]
            }
            icon_file_set {
                 [[Set the icon associated with $item to an image in a binary 
buffer.
@@ -212,7 +213,7 @@ class Elm.Toolbar.Item(Elm.Widget.Item)
                      @in file: string; [[The file that contains the image.]]
                      @in key: string; [[Optional key of $img to pass to the 
image loader (eg. if $img is an edje file).]]
                 }
-                return: bool;
+                return: bool; [[$true on success, $false otherwise]]
            }
            state_add {
                 [[Add a new state to $item.

-- 


Reply via email to