forked from enlightenment/efl
calendar, check, clock, colorselector, datetime, diskselector, flipselector, gengrid: added "focused" and "unfocused" documentations.
This commit is contained in:
parent
7b71bd1973
commit
8cf2c8a422
|
@ -14,10 +14,14 @@ EAPI Eo_Op ELM_OBJ_CALENDAR_BASE_ID = EO_NOOP;
|
||||||
|
|
||||||
static const char SIG_CHANGED[] = "changed";
|
static const char SIG_CHANGED[] = "changed";
|
||||||
static const char SIG_DISPLAY_CHANGED[] = "display,changed";
|
static const char SIG_DISPLAY_CHANGED[] = "display,changed";
|
||||||
|
static const char SIG_FOCUSED[] = "focused"; /**< handled by elm_widget */
|
||||||
|
static const char SIG_UNFOCUSED[] = "unfocused"; /**< handled by elm_widget */
|
||||||
|
|
||||||
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
||||||
{SIG_CHANGED, ""},
|
{SIG_CHANGED, ""},
|
||||||
{SIG_DISPLAY_CHANGED, ""},
|
{SIG_DISPLAY_CHANGED, ""},
|
||||||
|
{SIG_FOCUSED, ""},
|
||||||
|
{SIG_UNFOCUSED, ""},
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
* - @c "changed" - emitted when the date in the calendar is changed.
|
* - @c "changed" - emitted when the date in the calendar is changed.
|
||||||
* - @c "display,changed" - emitted when the current month displayed in the
|
* - @c "display,changed" - emitted when the current month displayed in the
|
||||||
* calendar is changed.
|
* calendar is changed.
|
||||||
|
* - @c "focused" - When the entry has received focus.
|
||||||
|
* - @c "unfocused" - When the entry has lost focus.
|
||||||
*
|
*
|
||||||
* Supported elm_object common APIs.
|
* Supported elm_object common APIs.
|
||||||
* @li @ref elm_object_signal_emit
|
* @li @ref elm_object_signal_emit
|
||||||
|
|
|
@ -28,10 +28,14 @@ static const Elm_Layout_Part_Alias_Description _text_aliases[] =
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char SIG_CHANGED[] = "changed";
|
static const char SIG_CHANGED[] = "changed";
|
||||||
|
static const char SIG_FOCUSED[] = "focused"; /**< handled by elm_widget */
|
||||||
|
static const char SIG_UNFOCUSED[] = "unfocused"; /**< handled by elm_widget */
|
||||||
|
|
||||||
/* smart callbacks coming from elm check objects: */
|
/* smart callbacks coming from elm check objects: */
|
||||||
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
||||||
{SIG_CHANGED, ""},
|
{SIG_CHANGED, ""},
|
||||||
|
{SIG_FOCUSED, ""},
|
||||||
|
{SIG_UNFOCUSED, ""},
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,8 @@
|
||||||
* @ref Layout:
|
* @ref Layout:
|
||||||
* - @c "changed" - This is called whenever the user changes the state of
|
* - @c "changed" - This is called whenever the user changes the state of
|
||||||
* the check objects (@c event_info is always @c NULL).
|
* the check objects (@c event_info is always @c NULL).
|
||||||
|
* - @c "focused" - When the entry has received focus.
|
||||||
|
* - @c "unfocused" - When the entry has lost focus.
|
||||||
*
|
*
|
||||||
* Default content parts of the check widget that you can use for are:
|
* Default content parts of the check widget that you can use for are:
|
||||||
* @li "icon" - An icon of the check
|
* @li "icon" - An icon of the check
|
||||||
|
|
|
@ -16,9 +16,13 @@ EAPI Eo_Op ELM_OBJ_CLOCK_BASE_ID = EO_NOOP;
|
||||||
static void _time_update(Evas_Object *obj);
|
static void _time_update(Evas_Object *obj);
|
||||||
|
|
||||||
static const char SIG_CHANGED[] = "changed";
|
static const char SIG_CHANGED[] = "changed";
|
||||||
|
static const char SIG_FOCUSED[] = "focused"; /**< handled by elm_widget */
|
||||||
|
static const char SIG_UNFOCUSED[] = "unfocused"; /**< handled by elm_widget */
|
||||||
|
|
||||||
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
||||||
{SIG_CHANGED, ""},
|
{SIG_CHANGED, ""},
|
||||||
|
{SIG_FOCUSED, ""},
|
||||||
|
{SIG_UNFOCUSED, ""},
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -39,6 +39,8 @@
|
||||||
* This widget emits the following signals, besides the ones sent from
|
* This widget emits the following signals, besides the ones sent from
|
||||||
* @ref Layout:
|
* @ref Layout:
|
||||||
* - @c "changed" - the clock's user changed the time
|
* - @c "changed" - the clock's user changed the time
|
||||||
|
* - @c "focused" - When the entry has received focus.
|
||||||
|
* - @c "unfocused" - When the entry has lost focus.
|
||||||
*
|
*
|
||||||
* Supported elm_object common APIs.
|
* Supported elm_object common APIs.
|
||||||
* @li @ref elm_object_signal_emit
|
* @li @ref elm_object_signal_emit
|
||||||
|
|
|
@ -23,11 +23,15 @@ EAPI Eo_Op ELM_OBJ_COLORSELECTOR_BASE_ID = EO_NOOP;
|
||||||
static const char SIG_CHANGED[] = "changed";
|
static const char SIG_CHANGED[] = "changed";
|
||||||
static const char SIG_COLOR_ITEM_SELECTED[] = "color,item,selected";
|
static const char SIG_COLOR_ITEM_SELECTED[] = "color,item,selected";
|
||||||
static const char SIG_COLOR_ITEM_LONGPRESSED[] = "color,item,longpressed";
|
static const char SIG_COLOR_ITEM_LONGPRESSED[] = "color,item,longpressed";
|
||||||
|
static const char SIG_FOCUSED[] = "focused"; /**< handled by elm_widget */
|
||||||
|
static const char SIG_UNFOCUSED[] = "unfocused"; /**< handled by elm_widget */
|
||||||
static const Evas_Smart_Cb_Description _smart_callbacks[] =
|
static const Evas_Smart_Cb_Description _smart_callbacks[] =
|
||||||
{
|
{
|
||||||
{SIG_COLOR_ITEM_SELECTED, ""},
|
{SIG_COLOR_ITEM_SELECTED, ""},
|
||||||
{SIG_COLOR_ITEM_LONGPRESSED, ""},
|
{SIG_COLOR_ITEM_LONGPRESSED, ""},
|
||||||
{SIG_CHANGED, ""},
|
{SIG_CHANGED, ""},
|
||||||
|
{SIG_FOCUSED, ""},
|
||||||
|
{SIG_UNFOCUSED, ""},
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,8 @@
|
||||||
* - @c "color,item,longpressed" - When user long presses on color
|
* - @c "color,item,longpressed" - When user long presses on color
|
||||||
* item. The event info parameter of the callback contains selected
|
* item. The event info parameter of the callback contains selected
|
||||||
* color item.
|
* color item.
|
||||||
|
* - @c "focused" - When the entry has received focus.
|
||||||
|
* - @c "unfocused" - When the entry has lost focus.
|
||||||
*
|
*
|
||||||
* See @ref tutorial_colorselector.
|
* See @ref tutorial_colorselector.
|
||||||
* @{
|
* @{
|
||||||
|
|
|
@ -63,9 +63,13 @@ static Datetime_Mod_Api *dt_mod = NULL;
|
||||||
|
|
||||||
static const char SIG_CHANGED[] = "changed";
|
static const char SIG_CHANGED[] = "changed";
|
||||||
static const char SIG_LANG_CHANGED[] = "language,changed";
|
static const char SIG_LANG_CHANGED[] = "language,changed";
|
||||||
|
static const char SIG_FOCUSED[] = "focused"; /**< handled by elm_widget */
|
||||||
|
static const char SIG_UNFOCUSED[] = "unfocused"; /**< handled by elm_widget */
|
||||||
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
||||||
{SIG_CHANGED, ""},
|
{SIG_CHANGED, ""},
|
||||||
{SIG_LANG_CHANGED, ""},
|
{SIG_LANG_CHANGED, ""},
|
||||||
|
{SIG_FOCUSED, ""},
|
||||||
|
{SIG_UNFOCUSED, ""},
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -181,9 +181,10 @@
|
||||||
* @ref Layout:
|
* @ref Layout:
|
||||||
* @li @b "changed" - whenever Datetime field value is changed, this
|
* @li @b "changed" - whenever Datetime field value is changed, this
|
||||||
* signal is sent.
|
* signal is sent.
|
||||||
*
|
|
||||||
* @li @b "language,changed" - whenever system locale changes, this
|
* @li @b "language,changed" - whenever system locale changes, this
|
||||||
* signal is sent.
|
* signal is sent.
|
||||||
|
* @li @c "focused" - When the entry has received focus.
|
||||||
|
* @li @c "unfocused" - When the entry has lost focus.
|
||||||
*
|
*
|
||||||
* Here is an example on its usage:
|
* Here is an example on its usage:
|
||||||
* @li @ref datetime_example
|
* @li @ref datetime_example
|
||||||
|
|
|
@ -29,6 +29,8 @@ static const char SIG_SCROLL_ANIM_START[] = "scroll,anim,start";
|
||||||
static const char SIG_SCROLL_ANIM_STOP[] = "scroll,anim,stop";
|
static const char SIG_SCROLL_ANIM_STOP[] = "scroll,anim,stop";
|
||||||
static const char SIG_SCROLL_DRAG_START[] = "scroll,drag,start";
|
static const char SIG_SCROLL_DRAG_START[] = "scroll,drag,start";
|
||||||
static const char SIG_SCROLL_DRAG_STOP[] = "scroll,drag,stop";
|
static const char SIG_SCROLL_DRAG_STOP[] = "scroll,drag,stop";
|
||||||
|
static const char SIG_FOCUSED[] = "focused"; /**< handled by elm_widget */
|
||||||
|
static const char SIG_UNFOCUSED[] = "unfocused"; /**< handled by elm_widget */
|
||||||
|
|
||||||
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
||||||
{SIG_SELECTED, ""},
|
{SIG_SELECTED, ""},
|
||||||
|
@ -37,6 +39,8 @@ static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
||||||
{SIG_SCROLL_ANIM_STOP, ""},
|
{SIG_SCROLL_ANIM_STOP, ""},
|
||||||
{SIG_SCROLL_DRAG_START, ""},
|
{SIG_SCROLL_DRAG_START, ""},
|
||||||
{SIG_SCROLL_DRAG_STOP, ""},
|
{SIG_SCROLL_DRAG_STOP, ""},
|
||||||
|
{SIG_FOCUSED, ""},
|
||||||
|
{SIG_UNFOCUSED, ""},
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,9 @@
|
||||||
* @li @c "scroll,anim,stop" - scrolling animation has stopped
|
* @li @c "scroll,anim,stop" - scrolling animation has stopped
|
||||||
* @li @c "scroll,drag,start" - dragging the diskselector has started
|
* @li @c "scroll,drag,start" - dragging the diskselector has started
|
||||||
* @li @c "scroll,drag,stop" - dragging the diskselector has stopped
|
* @li @c "scroll,drag,stop" - dragging the diskselector has stopped
|
||||||
|
* @li @c "focused" - When the entry has received focus.
|
||||||
|
* @li @c "unfocused" - When the entry has lost focus.
|
||||||
|
*
|
||||||
* @note The "scroll,anim,*" and "scroll,drag,*" signals are only emitted by
|
* @note The "scroll,anim,*" and "scroll,drag,*" signals are only emitted by
|
||||||
* user intervention.
|
* user intervention.
|
||||||
*
|
*
|
||||||
|
|
|
@ -37,10 +37,14 @@ EAPI Eo_Op ELM_OBJ_FLIPSELECTOR_BASE_ID = EO_NOOP;
|
||||||
static const char SIG_SELECTED[] = "selected";
|
static const char SIG_SELECTED[] = "selected";
|
||||||
static const char SIG_UNDERFLOWED[] = "underflowed";
|
static const char SIG_UNDERFLOWED[] = "underflowed";
|
||||||
static const char SIG_OVERFLOWED[] = "overflowed";
|
static const char SIG_OVERFLOWED[] = "overflowed";
|
||||||
|
static const char SIG_FOCUSED[] = "focused"; /**< handled by elm_widget */
|
||||||
|
static const char SIG_UNFOCUSED[] = "unfocused"; /**< handled by elm_widget */
|
||||||
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
||||||
{SIG_SELECTED, ""},
|
{SIG_SELECTED, ""},
|
||||||
{SIG_UNDERFLOWED, ""},
|
{SIG_UNDERFLOWED, ""},
|
||||||
{SIG_OVERFLOWED, ""},
|
{SIG_OVERFLOWED, ""},
|
||||||
|
{SIG_FOCUSED, ""},
|
||||||
|
{SIG_UNFOCUSED, ""},
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -29,6 +29,8 @@
|
||||||
* from the first item in its list to the last
|
* from the first item in its list to the last
|
||||||
* - @c "underflowed" - when the widget's current selection is changed
|
* - @c "underflowed" - when the widget's current selection is changed
|
||||||
* from the last item in its list to the first
|
* from the last item in its list to the first
|
||||||
|
* - @c "focused" - When the entry has received focus.
|
||||||
|
* - @c "unfocused" - When the entry has lost focus.
|
||||||
*
|
*
|
||||||
* Available styles for it:
|
* Available styles for it:
|
||||||
* - @c "default"
|
* - @c "default"
|
||||||
|
|
|
@ -67,6 +67,8 @@ static const char SIG_UNHIGHLIGHTED[] = "unhighlighted";
|
||||||
static const char SIG_LANG_CHANGED[] = "language,changed";
|
static const char SIG_LANG_CHANGED[] = "language,changed";
|
||||||
static const char SIG_PRESSED[] = "pressed";
|
static const char SIG_PRESSED[] = "pressed";
|
||||||
static const char SIG_RELEASED[] = "released";
|
static const char SIG_RELEASED[] = "released";
|
||||||
|
static const char SIG_FOCUSED[] = "focused"; /**< handled by elm_widget */
|
||||||
|
static const char SIG_UNFOCUSED[] = "unfocused"; /**< handled by elm_widget */
|
||||||
|
|
||||||
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
||||||
{SIG_ACTIVATED, ""},
|
{SIG_ACTIVATED, ""},
|
||||||
|
@ -99,6 +101,8 @@ static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
||||||
{SIG_PRESSED, ""},
|
{SIG_PRESSED, ""},
|
||||||
{SIG_RELEASED, ""},
|
{SIG_RELEASED, ""},
|
||||||
{SIG_SCROLL_PAGE_CHANGE, ""},
|
{SIG_SCROLL_PAGE_CHANGE, ""},
|
||||||
|
{SIG_FOCUSED, ""},
|
||||||
|
{SIG_UNFOCUSED, ""},
|
||||||
|
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
|
@ -235,6 +235,8 @@
|
||||||
* - @c "language,changed" - This is called when the program's language is
|
* - @c "language,changed" - This is called when the program's language is
|
||||||
* changed. Call the elm_gengrid_realized_items_update() if items text should
|
* changed. Call the elm_gengrid_realized_items_update() if items text should
|
||||||
* be translated.
|
* be translated.
|
||||||
|
* - @c "focused" - When the entry has received focus.
|
||||||
|
* - @c "unfocused" - When the entry has lost focus.
|
||||||
*
|
*
|
||||||
* Supported elm_object common APIs
|
* Supported elm_object common APIs
|
||||||
* @li elm_object_signal_emit()
|
* @li elm_object_signal_emit()
|
||||||
|
|
Loading…
Reference in New Issue