From bb8afc406744a8b4b5f0c5db15809114b7d6e92e Mon Sep 17 00:00:00 2001 From: hermet Date: Mon, 4 Apr 2011 16:34:18 +0000 Subject: [PATCH] elementry / entry, menu, notify, list, gengrid, actionslider, image, icon, anchorview, fileselector_button, calendar, photocam, anchorblock, button, map, colorselector, hover, photo, diskselector, index, bubble, pager, hoversel, check, scrolled_entry, clock, flipselector updated signal callback list in the doxygen. should update genlist, progressbar ... git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@58335 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/Elementary.h.in | 9 +++++ src/lib/elc_anchorblock.c | 4 +- src/lib/elc_anchorview.c | 4 +- src/lib/elc_fileselector_button.c | 6 +++ src/lib/elc_hoversel.c | 10 ++--- src/lib/elc_scrolled_entry.c | 33 +++++++-------- src/lib/elm_actionslider.c | 7 ++-- src/lib/elm_bubble.c | 2 +- src/lib/elm_button.c | 6 +++ src/lib/elm_calendar.c | 4 +- src/lib/elm_check.c | 10 ++--- src/lib/elm_clock.c | 3 ++ src/lib/elm_colorselector.c | 4 ++ src/lib/elm_diskselector.c | 3 +- src/lib/elm_entry.c | 34 ++++++++-------- src/lib/elm_flipselector.c | 8 ++++ src/lib/elm_gengrid.c | 85 ++++++++++++++++----------------------- src/lib/elm_hover.c | 6 +++ src/lib/elm_icon.c | 2 +- src/lib/elm_image.c | 4 +- src/lib/elm_index.c | 8 ++++ src/lib/elm_list.c | 11 +++++ src/lib/elm_map.c | 48 ++++++++-------------- src/lib/elm_menu.c | 3 ++ src/lib/elm_notify.c | 4 ++ src/lib/elm_pager.c | 5 +++ src/lib/elm_photo.c | 8 ++-- src/lib/elm_photocam.c | 55 +++++++++---------------- 28 files changed, 209 insertions(+), 177 deletions(-) diff --git a/src/lib/Elementary.h.in b/src/lib/Elementary.h.in index 62feeb3..991f111 100644 --- a/src/lib/Elementary.h.in +++ b/src/lib/Elementary.h.in @@ -1383,6 +1383,9 @@ extern "C" { EAPI void elm_photo_editable_set(Evas_Object *obj, Eina_Bool set) EINA_ARG_NONNULL(1); /* smart callbacks called: * "clicked" - the user clicked the icon + * "drop" - Something was dropped on the widget + * "drag,start" - Someone started dragging the image out of the object + * "drag,end" - Dragged item was dropped (somewhere) */ /* thumb */ @@ -1842,6 +1845,9 @@ extern "C" { EAPI void elm_check_state_set(Evas_Object *obj, Eina_Bool state); EINA_ARG_NONNULL(1) EAPI Eina_Bool elm_check_state_get(const Evas_Object *obj); EINA_ARG_NONNULL(1) EAPI void elm_check_state_pointer_set(Evas_Object *obj, Eina_Bool *statep); EINA_ARG_NONNULL(1) + /* smart callbacks called: + * "changed" - This is called whenever the user changes the state of one of the check object. + */ /* radio */ EAPI Evas_Object *elm_radio_add(Evas_Object *parent) EINA_ARG_NONNULL(1); @@ -1870,6 +1876,9 @@ extern "C" { * fade_translucide * fade_invisible */ + /* smart callbacks called: + * "hide,finished" - when the previous page is hided + */ typedef struct _Elm_Slideshow_Item_Class Elm_Slideshow_Item_Class; typedef struct _Elm_Slideshow_Item_Class_Func Elm_Slideshow_Item_Class_Func; diff --git a/src/lib/elc_anchorblock.c b/src/lib/elc_anchorblock.c index 4d95f00..ae3878d 100644 --- a/src/lib/elc_anchorblock.c +++ b/src/lib/elc_anchorblock.c @@ -12,8 +12,8 @@ * * Signals that you can add callbacks for are: * - * anchor,clicked - anchor called was clicked. event_info is anchor info - - * Elm_Entry_Anchorview_Info + * "anchor,clicked" - anchor called was clicked. event_info is anchor info - + * Elm_Entry_Anchorview_Info */ typedef struct _Widget_Data Widget_Data; typedef struct _Elm_Anchorblock_Item_Provider Elm_Anchorblock_Item_Provider; diff --git a/src/lib/elc_anchorview.c b/src/lib/elc_anchorview.c index 07ded04..dd586c7 100644 --- a/src/lib/elc_anchorview.c +++ b/src/lib/elc_anchorview.c @@ -9,8 +9,8 @@ * * Signals that you can add callbacks for are: * - * anchor,clicked - achor called was clicked. event_info is anchor info - - * Elm_Entry_Anchorview_Info + * "anchor,clicked" - achor called was clicked. event_info is anchor info - + * Elm_Entry_Anchorview_Info */ typedef struct _Widget_Data Widget_Data; typedef struct _Elm_Anchorview_Item_Provider Elm_Anchorview_Item_Provider; diff --git a/src/lib/elc_fileselector_button.c b/src/lib/elc_fileselector_button.c index 444e2d4..9459289 100644 --- a/src/lib/elc_fileselector_button.c +++ b/src/lib/elc_fileselector_button.c @@ -8,6 +8,12 @@ * window) with an Elementary File Selector within. When a file is * chosen, the (inner) window is closed and the selected file is * exposed as an evas_object_smart_callback_call() of the button. + * + * Signals that you can add callbacks for are: + * + * "file,chosen" - the user has selected a path, whose string pointer comes + * as event info + * */ typedef struct _Widget_Data Widget_Data; diff --git a/src/lib/elc_hoversel.c b/src/lib/elc_hoversel.c index d99aa41..4f61fed 100644 --- a/src/lib/elc_hoversel.c +++ b/src/lib/elc_hoversel.c @@ -12,12 +12,10 @@ * * Signals that you can add callbacks for are: * - * clicked - the user clicked the hoversel button and popped up the sel - * - * selected - an item in the hoversel list is selected. event_info is the item - * selected - Elm_Hoversel_Item - * - * dismissed - the hover is dismissed + * "clicked" - the user clicked the hoversel button and popped up the sel + * "selected" - an item in the hoversel list is selected. event_info is the item + * "selected" - Elm_Hoversel_Item + * "dismissed" - the hover is dismissed */ typedef struct _Widget_Data Widget_Data; diff --git a/src/lib/elc_scrolled_entry.c b/src/lib/elc_scrolled_entry.c index 7a861a7..65c7d78 100644 --- a/src/lib/elc_scrolled_entry.c +++ b/src/lib/elc_scrolled_entry.c @@ -12,22 +12,23 @@ * widget. * * Signals that you can add callbacks for are: - * - "changed" - The text within the entry was changed - * - "activated" - The entry has received focus and the cursor - * - "press" - The entry has been clicked - * - "longpressed" - The entry has been clicked for a couple seconds - * - "clicked" - The entry has been clicked - * - "clicked,double" - The entry has been double clicked - * - "focused" - The entry has received focus - * - "unfocused" - The entry has lost focus - * - "selection,paste" - A paste action has occurred - * - "selection,copy" - A copy action has occurred - * - "selection,cut" - A cut action has occurred - * - "selection,start" - A selection has begun - * - "selection,changed" - The selection has changed - * - "selection,cleared" - The selection has been cleared - * - "cursor,changed" - The cursor has changed - * - "anchor,clicked" - The anchor has been clicked + * + * "changed" - The text within the entry was changed + * "activated" - The entry has received focus and the cursor + * "press" - The entry has been clicked + * "longpressed" - The entry has been clicked for a couple seconds + * "clicked" - The entry has been clicked + * "clicked,double" - The entry has been double clicked + * "focused" - The entry has received focus + * "unfocused" - The entry has lost focus + * "selection,paste" - A paste action has occurred + * "selection,copy" - A copy action has occurred + * "selection,cut" - A cut action has occurred + * "selection,start" - A selection has begun + * "selection,changed" - The selection has changed + * "selection,cleared" - The selection has been cleared + * "cursor,changed" - The cursor has changed + * "anchor,clicked" - The anchor has been clicked */ typedef struct _Widget_Data Widget_Data; diff --git a/src/lib/elm_actionslider.c b/src/lib/elm_actionslider.c index a18e05c..4fbb16b 100644 --- a/src/lib/elm_actionslider.c +++ b/src/lib/elm_actionslider.c @@ -5,11 +5,12 @@ * magnet properties. When the position is set with magnet, the knob * will be moved to it if it's nearest the magnetized position. * - * Signals emmitted: + * Signals that you can add callbacks for are: + * * "selected" - when user selects a position (the label is passed as - * event info)". + * event info)". * "pos_changed" - when a button reaches to the special position like - * "left", "right" and "center". + * "left", "right" and "center". */ #include diff --git a/src/lib/elm_bubble.c b/src/lib/elm_bubble.c index 26e11af..70ae12d 100644 --- a/src/lib/elm_bubble.c +++ b/src/lib/elm_bubble.c @@ -9,7 +9,7 @@ * * Signals that you can add callbacks for are: * - * clicked - This is called when a user has clicked the bubble. + * "clicked" - This is called when a user has clicked the bubble. */ typedef struct _Widget_Data Widget_Data; diff --git a/src/lib/elm_button.c b/src/lib/elm_button.c index 6416786..eed8a02 100644 --- a/src/lib/elm_button.c +++ b/src/lib/elm_button.c @@ -6,6 +6,12 @@ * * This is a push-button. Press it and run some function. It can contain * a simple label and icon object. + * + * Signals that you can add callbacks for are: + * + * "clicked" - the user clicked the button + * "repeated" - the user pressed the button without releasing it + * "unpressed" - when the button is unpressed (released) */ typedef struct _Widget_Data Widget_Data; diff --git a/src/lib/elm_calendar.c b/src/lib/elm_calendar.c index 8330a27..7ea872b 100644 --- a/src/lib/elm_calendar.c +++ b/src/lib/elm_calendar.c @@ -21,8 +21,8 @@ * * Signals that you can add callbacks for are: * - * changed - emitted when the user selects a day or changes the displayed - * month, what actually changes the selected day as well. + * "changed" - emitted when the user selects a day or changes the displayed + * month, what actually changes the selected day as well. */ typedef enum _Day_Color // EINA_DEPRECATED diff --git a/src/lib/elm_check.c b/src/lib/elm_check.c index 2a71003..1b02206 100644 --- a/src/lib/elm_check.c +++ b/src/lib/elm_check.c @@ -6,11 +6,6 @@ * * The check widget allows for toggling a value between true or false (1 or 0). * - * Signals that you can add callbacks for are: - * - * changed - This is called whenever the user changes the state of one of the - * check object. - * * Check objects are a lot like radio objects in layout and functionality * except they do not work as a group, but independently and only toggle the * value of a boolean from false to true (0 or 1). elm_check_state_set() sets @@ -18,6 +13,11 @@ * returns the current state. For convenience, like the radio objects, you * can set a pointer to a boolean directly with elm_check_state_pointer_set() * for it to modify. + * + * Signals that you can add callbacks for are: + * + * "changed" - This is called whenever the user changes the state of one of the + * check object. */ typedef struct _Widget_Data Widget_Data; diff --git a/src/lib/elm_clock.c b/src/lib/elm_clock.c index 06e315d..d17853d 100644 --- a/src/lib/elm_clock.c +++ b/src/lib/elm_clock.c @@ -7,6 +7,9 @@ * It's a widget to show clock with animation. The update of time is * shown in an animation like the flip of a sheet. * + * Signals that you can add callbacks for are: + * + * "changed" - the user changed the time */ typedef struct _Widget_Data Widget_Data; diff --git a/src/lib/elm_colorselector.c b/src/lib/elm_colorselector.c index ed68871..e29b950 100644 --- a/src/lib/elm_colorselector.c +++ b/src/lib/elm_colorselector.c @@ -6,6 +6,10 @@ * * By using colorselector, you can select a color. * Colorselector made a color using HSV/HSB mode. + * + * Signals that you can add callbacks for are: + * + * "changed" - when the color value changes */ #define BASE_STEP 360.0 diff --git a/src/lib/elm_diskselector.c b/src/lib/elm_diskselector.c index c808ccc..ed011d2 100644 --- a/src/lib/elm_diskselector.c +++ b/src/lib/elm_diskselector.c @@ -8,7 +8,8 @@ * It can act like a circular list with round mode and labels can be * reduced for a defined lenght for side items. * - * Signal emitted by this widget: + * Signals that you can add callbacks for are: + * * "selected" - when item is selected (scroller stops) */ diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index 1e4ac06..31183b3 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -73,22 +73,24 @@ * The file to load and save to is specified by elm_entry_file_set(). * * Signals that you can add callbacks for are: - * - "changed" - The text within the entry was changed - * - "activated" - The entry has had editing finished and changes are to be committed (generally when enter key is pressed) - * - "press" - The entry has been clicked - * - "longpressed" - The entry has been clicked for a couple seconds - * - "clicked" - The entry has been clicked - * - "clicked,double" - The entry has been double clicked - * - "focused" - The entry has received focus - * - "unfocused" - The entry has lost focus - * - "selection,paste" - A paste action has occurred - * - "selection,copy" - A copy action has occurred - * - "selection,cut" - A cut action has occurred - * - "selection,start" - A selection has begun - * - "selection,changed" - The selection has changed - * - "selection,cleared" - The selection has been cleared - * - "cursor,changed" - The cursor has changed - * - "anchor,clicked" - The anchor has been clicked + * + * "changed" - The text within the entry was changed + * "activated" - The entry has had editing finished and changes are to be committed + (generally when enter key is pressed) + * "press" - The entry has been clicked + * "longpressed" - The entry has been clicked for a couple seconds + * "clicked" - The entry has been clicked + * "clicked,double" - The entry has been double clicked + * "focused" - The entry has received focus + * "unfocused" - The entry has lost focus + * "selection,paste" - A paste action has occurred + * "selection,copy" - A copy action has occurred + * "selection,cut" - A cut action has occurred + * "selection,start" - A selection has begun + * "selection,changed" - The selection has changed + * "selection,cleared" - The selection has been cleared + * "cursor,changed" - The cursor has changed + * "anchor,clicked" - The anchor has been clicked */ typedef struct _Mod_Api Mod_Api; diff --git a/src/lib/elm_flipselector.c b/src/lib/elm_flipselector.c index 9f0e5e4..0936b07 100644 --- a/src/lib/elm_flipselector.c +++ b/src/lib/elm_flipselector.c @@ -7,6 +7,14 @@ * A flip selector is a widget to show a set of label items, one at a * time, with an animation when one changes the current selection * (like the flip of calendar sheets, in the default theme). + * + * Signals that you can add callbacks for are: + * + * "selected" - when flipselector selected item is changed + * "overflowed" - when flipselector item is changed to first item + * from last item + * "underflowed" - when flipselector item is changed to last item + * from first item. */ /* TODO: ideally, the default theme would use map{} blocks on the TEXT diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c index 6c7b115..af20e1f 100644 --- a/src/lib/elm_gengrid.c +++ b/src/lib/elm_gengrid.c @@ -10,55 +10,6 @@ * genlist: the user define a class for each item, specifying * functions that will be called at object creation and deletion. * - * Signals that you can add callbacks for are: - * - * clicked,double - The user has double-clicked or pressed enter on - * an item. The event_info parameter is the Gengrid item - * that was double-clicked. - * - * selected - The user has made an item selected. The event_info - * parameter is the Gengrid item that was selected. - * - * unselected - The user has made an item unselected. The event_info - * parameter is the Gengrid item that was unselected. - * - * realized - This is called when the item in the Gengrid is created - * as a real evas object. event_info is the Gengrid item that was - * created. The object may be deleted at any time, so it is up to the - * caller to not use the object pointer from - * elm_gengrid_item_object_get() in a way where it may point to freed - * objects. - * - * unrealized - This is called when the real evas object for this item - * is deleted. event_info is the Gengrid item that was created. - * - * changed - Called when an item is added, removed, resized or moved - * and when gengrid is resized or horizontal property changes. - * - * drag,start,up - Called when the item in the Gengrid has been - * dragged (not scrolled) up. - * - * drag,start,down - Called when the item in the Gengrid has been - * dragged (not scrolled) down. - * - * drag,start,left - Called when the item in the Gengrid has been - * dragged (not scrolled) left. - * - * drag,start,right - Called when the item in the Gengrid has been - * dragged (not scrolled) right. - * - * drag,stop - Called when the item in the Gengrid has stopped being - * dragged. - * - * drag - Called when the item in the Gengrid is being dragged. - * - * scroll - called when the content has been scrolled (moved). - * - * scroll,drag,start - called when dragging the content has started. - * - * scroll,drag,stop - called when dragging the content has stopped. - * - * * A item in the Gengrid can have 0 or more text labels (they can be * regular text or textblock - that's up to the style to determine), 0 * or more icons (which are simply objects swallowed into the Gengrid @@ -150,10 +101,44 @@ * absolutely must have a specific style that overrides any theme the * user or system sets up you can use elm_theme_overlay_add() to add * such a file. + * + * Signals that you can add callbacks for are: + * + * "clicked,double" - The user has double-clicked or pressed enter on + * a item. The event_infoparameter is the Gengrid item + * that was double-clicked. + * "selected" - The user has made an item selected. The event_info + * parameter is the Gengrid item that was selected. + * "unselected" - The user has made an item unselected. The event_info + * parameter is the Gengrid item that was unselected. + * "realized" - This is called when the item in the Gengrid is created + * as a real evas object. event_info is the Gengrid item that was + * created. The object may be deleted at any time, so it is up to the + * caller to not use the object pointer from + * elm_gengrid_item_object_get() in a way where it may point to freed + * objects. + * "unrealized" - This is called when the real evas object for this item + * is deleted. event_info is the Gengrid item that was created. + * "changed" - Called when an item is added, removed, resized or moved + * and when gengrid is resized or horizontal property changes. + * "drag,start,up" - Called when the item in the Gengrid has been + * dragged (not scrolled) up. + * "drag,start,down" - Called when the item in the Gengrid has been + * dragged (not scrolled) down. + * "drag,start,left" - Called when the item in the Gengrid has been + * dragged (not scrolled) left. + * "drag,start,right" - Called when the item in the Gengrid has been + * dragged (not scrolled) right. + * "drag,stop" - Called when the item in the Gengrid has stopped being + * dragged. + * "drag" - Called when the item in the Gengrid is being dragged. + * "scroll" - called when the content has been scrolled (moved). + * "scroll,drag,start" - called when dragging the content has started. + * "scroll,drag,stop" - called when dragging the content has stopped. * * -- * TODO: - * * Handle non-homogeneous objects too. + * Handle non-homogeneous objects too. */ typedef struct _Widget_Data Widget_Data; diff --git a/src/lib/elm_hover.c b/src/lib/elm_hover.c index 7ad12af..830bc93 100644 --- a/src/lib/elm_hover.c +++ b/src/lib/elm_hover.c @@ -11,6 +11,12 @@ * * @note The hover object will take up the entire space of @p target * object. + * + * Signals that you can add callbacks for are: + * + * "clicked" - the user clicked the empty space in the hover to dismiss + * "smart,changed" - a content object placed under the "smart" + * policy was replaced to a new slot direction. */ typedef struct _Widget_Data Widget_Data; diff --git a/src/lib/elm_icon.c b/src/lib/elm_icon.c index f4ad22e..8507996 100644 --- a/src/lib/elm_icon.c +++ b/src/lib/elm_icon.c @@ -16,7 +16,7 @@ static const char *icon_theme = NULL; * * Signals that you can add callbacks for are: * - * clicked - This is called when a user has clicked the icon + * "clicked" - This is called when a user has clicked the icon */ typedef struct _Widget_Data Widget_Data; diff --git a/src/lib/elm_image.c b/src/lib/elm_image.c index 24274b0..7d7b718 100644 --- a/src/lib/elm_image.c +++ b/src/lib/elm_image.c @@ -11,8 +11,8 @@ * * Signals that you can add callbacks for are: * - * - clicked: This is called when a user has clicked the image - * - drop: Something has been dropped on the image + * "clicked" - This is called when a user has clicked the image + * "drop" - Something has been dropped on the image */ typedef struct _Widget_Data Widget_Data; diff --git a/src/lib/elm_index.c b/src/lib/elm_index.c index a9c4323..443f41d 100644 --- a/src/lib/elm_index.c +++ b/src/lib/elm_index.c @@ -6,6 +6,14 @@ * * An index object is a type of list that categorizes items in it * by letter. + * + * Signals that you can add callbacks for are: + * + * "changed" - when the selected index item changes + * "delay,changed" - when the selected index item changes, but after some small idle period + * "selected" - when the user releases a finger and selects an item + * "level,up" - when the user moves a finger from the first level to the second level + * "level,down" - when the user moves a finger from the second level to the first level */ typedef struct _Widget_Data Widget_Data; diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c index 923cf0b..dc5535c 100644 --- a/src/lib/elm_list.c +++ b/src/lib/elm_list.c @@ -8,6 +8,17 @@ * * A list is a very simple type of list widget. For more robust * lists, @ref Genlist should probably be used. + * + * Signals that you can add callbacks for are: + * + * "clicked" - when the user double-clicked an item + * "selected" - when the user selected an item + * "unselected" - when the user selected an item + * "longpressed" - an item in the hoversel list is long-pressed + * "scroll,edge,top" - the list is scrolled until the top edge + * "scroll,edge,bottom" - the list is scrolled until the bottom edge + * "scroll,edge,left" - the list is scrolled until the left edge + * "scroll,edge,right" - the list is scrolled until the right edge */ typedef struct _Widget_Data Widget_Data; diff --git a/src/lib/elm_map.c b/src/lib/elm_map.c index 18daae5..10e1b0a 100644 --- a/src/lib/elm_map.c +++ b/src/lib/elm_map.c @@ -10,37 +10,23 @@ * * Signals that you can add callbacks for are: * - * clicked - This is called when a user has clicked the map without dragging - * around. - * - * press - This is called when a user has pressed down on the map. - * - * longpressed - This is called when a user has pressed down on the map for - * a long time without dragging around. - * - * clicked,double - This is called when a user has double-clicked the photo. - * - * load,detail - Map detailed data load begins. - * - * loaded,detail - This is called when all parts of the map are loaded. - * - * zoom,start - Zoom animation started. - * - * zoom,stop - Zoom animation stopped. - * - * zoom,change - Zoom changed when using an auto zoom mode. - * - * scroll - the content has been scrolled (moved) - * - * scroll,anim,start - scrolling animation has started - * - * scroll,anim,stop - scrolling animation has stopped - * - * scroll,drag,start - dragging the contents around has started - * - * scroll,drag,stop - dragging the contents around has stopped - * - * downloaded - This is called when map images are downloaded + * "clicked" - This is called when a user has clicked the map without dragging + * around. + * "press" - This is called when a user has pressed down on the map. + * "longpressed" - This is called when a user has pressed down on the map for + * a long time without dragging around. + * "clicked,double" - This is called when a user has double-clicked the photo. + * "load,detail" - Map detailed data load begins. + * "loaded,detail" - This is called when all parts of the map are loaded. + * "zoom,start" - Zoom animation started. + * "zoom,stop" - Zoom animation stopped. + * "zoom,change" - Zoom changed when using an auto zoom mode. + * "scroll" - the content has been scrolled (moved) + * "scroll,anim,start" - scrolling animation has started + * "scroll,anim,stop" - scrolling animation has stopped + * "scroll,drag,start" - dragging the contents around has started + * "scroll,drag,stop" - dragging the contents around has stopped + * "downloaded" - This is called when map images are downloaded * * TODO : doxygen */ diff --git a/src/lib/elm_menu.c b/src/lib/elm_menu.c index 2c4b438..ae319c9 100644 --- a/src/lib/elm_menu.c +++ b/src/lib/elm_menu.c @@ -8,6 +8,9 @@ * have a sub-menu. The menu object can be used to display a menu on right * click, in a toolbar, anywhere. * + * Signals that you can add callbacks for are: + * + * "clicked" - the user clicked the empty space in the menu to dismiss. event_info is NULL. */ typedef struct _Widget_Data Widget_Data; diff --git a/src/lib/elm_notify.c b/src/lib/elm_notify.c index 24a3722..af53227 100644 --- a/src/lib/elm_notify.c +++ b/src/lib/elm_notify.c @@ -11,6 +11,10 @@ * object, if a timeout was set on it, it will automatically * get hidden after that time. * + * Signals that you can add callbacks for are: + * + * "timeout" - when timeout happens on notify and it's hidden + * "block,clicked" - when it's hidden by a click outside of the notify's view */ typedef struct _Widget_Data Widget_Data; diff --git a/src/lib/elm_pager.c b/src/lib/elm_pager.c index c1fd3c5..222d71a 100644 --- a/src/lib/elm_pager.c +++ b/src/lib/elm_pager.c @@ -18,6 +18,11 @@ * needed and is not the top item, just delete it as normal. You can query * which objects are the top and bottom with elm_pager_content_bottom_get() * and elm_pager_content_top_get(). + * + * Signals that you can add callbacks for are: + * + * "hide,finished" - when the previous page is hided + * */ typedef struct _Widget_Data Widget_Data; diff --git a/src/lib/elm_photo.c b/src/lib/elm_photo.c index e6a27fc..d95f549 100644 --- a/src/lib/elm_photo.c +++ b/src/lib/elm_photo.c @@ -9,10 +9,10 @@ * * Signals that you can add callbacks for are: * - * - clicked: This is called when a user has clicked the photo - * - drop: Something was dropped on the widget - * - drag,start: Someone started dragging the image out of the object - * - drag,end: Dragged item was dropped (somewhere) + * "clicked" - This is called when a user has clicked the photo + * "drop" - Something was dropped on the widget + * "drag,start" - Someone started dragging the image out of the object + * "drag,end" - Dragged item was dropped (somewhere) */ typedef struct _Widget_Data Widget_Data; diff --git a/src/lib/elm_photocam.c b/src/lib/elm_photocam.c index d34bb26..dbbdae3 100644 --- a/src/lib/elm_photocam.c +++ b/src/lib/elm_photocam.c @@ -12,41 +12,26 @@ * * Signals that you can add callbacks for are: * - * clicked - This is called when a user has clicked the photo without dragging - * around. - * - * press - This is called when a user has pressed down on the photo. - * - * longpressed - This is called when a user has pressed down on the photo for - * a long time without dragging around. - * - * clicked,double - This is called when a user has double-clicked the photo. - * - * load - Photo load begins. - * - * loaded - This is called when the image file load is complete for the first - * view (low resolution blurry version). - * - * load,details - Photo detailed data load begins. - * - * loaded,details - This is called when the image file load is complete for the - * detailed image data (full resolution needed). - * - * zoom,start - Zoom animation started. - * - * zoom,stop - Zoom animation stopped. - * - * zoom,change - Zoom changed when using an auto zoom mode. - * - * scroll - the content has been scrolled (moved) - * - * scroll,anim,start - scrolling animation has started - * - * scroll,anim,stop - scrolling animation has stopped - * - * scroll,drag,start - dragging the contents around has started - * - * scroll,drag,stop - dragging the contents around has stopped + * "clicked" - This is called when a user has clicked the photo without dragging + * around. + * "press" - This is called when a user has pressed down on the photo. + * "longpressed" - This is called when a user has pressed down on the photo for + * a long time without dragging around. + * "clicked,double" - This is called when a user has double-clicked the photo. + * "load" - Photo load begins. + * "loaded" - This is called when the image file load is complete for the first + * view (low resolution blurry version). + * "load,details" - Photo detailed data load begins. + * "loaded,details" - This is called when the image file load is complete for the + * detailed image data (full resolution needed). + * "zoom,start" - Zoom animation started. + * "zoom,stop" - Zoom animation stopped. + * "zoom,change" - Zoom changed when using an auto zoom mode. + * "scroll" - the content has been scrolled (moved) + * "scroll,anim,start" - scrolling animation has started + * "scroll,anim,stop" - scrolling animation has stopped + * "scroll,drag,start" - dragging the contents around has started + * "scroll,drag,stop" - dragging the contents around has stopped * * --- * -- 2.7.4