panel, video, web, web2: added focused, unfocused smart callback documentation.
This commit is contained in:
parent
6cf684f02a
commit
a5066a5747
|
@ -13,6 +13,12 @@ EAPI Eo_Op ELM_OBJ_PANEL_BASE_ID = EO_NOOP;
|
|||
|
||||
#define MY_CLASS_NAME "elm_panel"
|
||||
|
||||
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
||||
{"focused", ""}, /**< handled by elm_widget */
|
||||
{"unfocused", ""}, /**< handled by elm_widget */
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
||||
static void
|
||||
_mirrored_set(Evas_Object *obj,
|
||||
Eina_Bool rtl)
|
||||
|
@ -415,7 +421,8 @@ _constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
|
|||
{
|
||||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME));
|
||||
evas_obj_type_set(MY_CLASS_NAME),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
|
||||
|
||||
elm_widget_sub_object_add(eo_parent_get(obj), obj);
|
||||
}
|
||||
|
|
|
@ -21,6 +21,11 @@
|
|||
* This widget inherits from the @ref Layout one, so that all the
|
||||
* functions acting on it also work for panel objects (@since 1.8).
|
||||
*
|
||||
* This widget emits the following signals, besides the ones sent from
|
||||
* @ref Layout:
|
||||
* @li @c "focused" : When the panel has received focus. (since 1.8)
|
||||
* @li @c "unfocused" : When the panel has lost focus. (since 1.8)
|
||||
*
|
||||
* Default content parts of the panel widget that you can use are:
|
||||
* @li @c "default" - A content of the panel
|
||||
*
|
||||
|
|
|
@ -21,6 +21,12 @@ EAPI Eo_Op ELM_OBJ_VIDEO_BASE_ID = EO_NOOP;
|
|||
|
||||
#define MY_CLASS_NAME "elm_video"
|
||||
|
||||
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
||||
{"focused", ""}, /**< handled by elm_widget */
|
||||
{"unfocused", ""}, /**< handled by elm_widget */
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
||||
static void
|
||||
_elm_video_smart_event(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
|
||||
{
|
||||
|
@ -311,7 +317,8 @@ _constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
|
|||
#ifdef HAVE_EMOTION
|
||||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME));
|
||||
evas_obj_type_set(MY_CLASS_NAME),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
|
||||
|
||||
elm_widget_sub_object_add(eo_parent_get(obj), obj);
|
||||
#else
|
||||
|
|
|
@ -29,6 +29,11 @@
|
|||
* Both widgets inherit from the @ref Layout one, so that all the
|
||||
* functions acting on it also work for video objects.
|
||||
*
|
||||
* This widget emits the following signals, besides the ones sent from
|
||||
* @ref Layout:
|
||||
* @li @c "focused" : When the video has received focus. (since 1.8)
|
||||
* @li @c "unfocused" : When the video has lost focus. (since 1.8)
|
||||
*
|
||||
* The player widget emits the following signals, besides the ones
|
||||
* sent from @ref Layout:
|
||||
* - @c "forward,clicked" - the user clicked the forward button.
|
||||
|
|
|
@ -74,6 +74,8 @@ static const Evas_Smart_Cb_Description _elm_web_smart_callbacks[] = {
|
|||
{ "view,resized", "" },
|
||||
{ "windows,close,request", ""},
|
||||
{ "zoom,animated,end", "" },
|
||||
{ "focused", ""}, /**< handled by elm_widget */
|
||||
{ "unfocused", ""}, /**< handled by elm_widget */
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
|
|
|
@ -74,6 +74,8 @@
|
|||
* @li "windows,close,request": A JavaScript request to close the current
|
||||
* window was requested
|
||||
* @li "zoom,animated,end": Animated zoom finished
|
||||
* @li "focused" : When the web has received focus. (since 1.8)
|
||||
* @li "unfocused" : When the web has lost focus. (since 1.8)
|
||||
*
|
||||
* available styles:
|
||||
* - default
|
||||
|
|
|
@ -21,6 +21,8 @@ static Ewk_View_Smart_Class _ewk_view_parent_sc =
|
|||
|
||||
static const Evas_Smart_Cb_Description _elm_web_smart_callbacks[] = {
|
||||
{ "url,changed", "s" },
|
||||
{ "focused", ""}, /**< handled by elm_widget */
|
||||
{ "unfocused", ""}, /**< handled by elm_widget */
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue