docs: elm_toolbar: fill gaps in elm_toolbar eo file documentation

This commit is contained in:
Stefan Schmidt 2016-11-23 11:43:39 +01:00
parent d98db09fe9
commit 23c9d74a8c
2 changed files with 9 additions and 8 deletions

View File

@ -28,6 +28,7 @@ class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, Efl.Orientation,
Elm.Interface.Atspi_Widget_Action, Elm.Interface.Atspi.Selection, Elm.Interface.Atspi_Widget_Action, Elm.Interface.Atspi.Selection,
Efl.Ui.Clickable, Efl.Ui.Selectable) Efl.Ui.Clickable, Efl.Ui.Selectable)
{ {
[[Elementary toolbar class]]
legacy_prefix: elm_toolbar; legacy_prefix: elm_toolbar;
eo_prefix: elm_obj_toolbar; eo_prefix: elm_obj_toolbar;
event_prefix: elm_toolbar; event_prefix: elm_toolbar;
@ -374,8 +375,7 @@ class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, Efl.Orientation,
Elm.Interface.Atspi.Selection.clear; Elm.Interface.Atspi.Selection.clear;
} }
events { events {
item,focused; item,focused; [[Called when toolbar item got focus]]
item,unfocused; item,unfocused; [[Called when toolbar item lost focus]]
} }
} }

View File

@ -25,6 +25,7 @@ struct Elm.Toolbar.Item.State
class Elm.Toolbar.Item(Elm.Widget.Item) class Elm.Toolbar.Item(Elm.Widget.Item)
{ {
[[Elementary toolbar item class]]
legacy_prefix: elm_toolbar_item; legacy_prefix: elm_toolbar_item;
eo_prefix: elm_obj_toolbar_item; eo_prefix: elm_obj_toolbar_item;
methods { methods {
@ -150,7 +151,7 @@ class Elm.Toolbar.Item(Elm.Widget.Item)
]] ]]
} }
values { values {
separator: bool; separator: bool; [[$true if the item is a separator, $false otherwise]]
} }
} }
@property menu { @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 default item's icon and label will be used. It's the
behavior as \@ref elm_toolbar_item_state_unset. behavior as \@ref elm_toolbar_item_state_unset.
]] ]]
return: bool; return: bool; [[$true on success, $false otherwise]]
} }
values { values {
state: ptr(Elm.Toolbar.Item.State) @nullable; state: ptr(Elm.Toolbar.Item.State) @nullable; [[Item state]]
} }
} }
/* init { FIXME /* 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 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).]] @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 { icon_file_set {
[[Set the icon associated with $item to an image in a binary buffer. [[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 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).]] @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 { state_add {
[[Add a new state to $item. [[Add a new state to $item.