summaryrefslogtreecommitdiff
path: root/src/lib/elm_toolbar.c
diff options
context:
space:
mode:
authorShilpa Singh <shilpa.singh@samsung.com>2015-11-09 12:24:37 -0800
committerCedric BAIL <cedric@osg.samsung.com>2015-11-09 12:37:09 -0800
commit13f3cad5f120a98e4cc1b56059490f83628af9f8 (patch)
tree9304858bf10b578cfe98ed2031ce8418817674f2 /src/lib/elm_toolbar.c
parentc315ff1876afad4f340297291123072e6c4ee9d6 (diff)
toolbar: add item_signal_emit.
Summary: Application cannot send signals to toolbar item using elm_object_item_signal_emit API. @feature Test Plan: Send signal to toolbar item from app using elm_object_item_signal_emit widget. Reviewers: cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D3251 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/elm_toolbar.c')
-rw-r--r--src/lib/elm_toolbar.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c
index 0484544f6..c68a2872e 100644
--- a/src/lib/elm_toolbar.c
+++ b/src/lib/elm_toolbar.c
@@ -1017,6 +1017,15 @@ _elm_toolbar_item_elm_widget_item_disable(Eo *eo_toolbar, Elm_Toolbar_Item_Data
1017 _resize_cb(WIDGET(toolbar_it), NULL, NULL, NULL); 1017 _resize_cb(WIDGET(toolbar_it), NULL, NULL, NULL);
1018} 1018}
1019 1019
1020EOLIAN static void
1021_elm_toolbar_item_elm_widget_item_signal_emit(Eo *eo_toolbar_it EINA_UNUSED,
1022 Elm_Toolbar_Item_Data *toolbar_it,
1023 const char *emission,
1024 const char *source)
1025{
1026 elm_layout_signal_emit(VIEW(toolbar_it), emission, source);
1027}
1028
1020static Eina_Bool 1029static Eina_Bool
1021_item_icon_set(Evas_Object *icon_obj, 1030_item_icon_set(Evas_Object *icon_obj,
1022 const char *type, 1031 const char *type,