*/
/**
+ * @defgroup WIDGET_VIEWER_EVAS_MODULE widget-viewer-evas
* @ingroup CAPI_WIDGET_FRAMEWORK
- * @defgroup WIDGET_VIEWER_MODULE widget Viewer
* @brief API for widget viewer (widget screen, home screen, ...)
- * @section WIDGET_VIEWER_MODULE_HEADER Required Header
- * \#include <widget.h>
- * @section WIDGET_VIEWER_MODULE_OVERVIEW Overview
- * Tizen homescreen S/W framework is supporing the widget. (aka widget which is similiar with the android widget)
+ * @section WIDGET_VIEWER_EVAS_MODULE_HEADER Required Header
+ * \#include <widget_viewer_evas.h>
+ * @section WIDGET_VIEWER_EVAS_MODULE_OVERVIEW Overview
+ * Tizen homescreen S/W framework is supporting the widget. (aka widget which is similar with the android widget)
*
* @image html front.jpg
*
- * @subsection WhatIsTheDynamicBox 1. What is the widget
- * The widget is the widget of the TIZEN.
- *
+ * @subsection WhatIsTheWidget 1. What is the widget
* It works as a small application displayed on other applications' (such as homescreen, lockscreen, etc ...) view.
* Each widget can have (not a mandatory option) a Glance Bar (Glance Bar) in which more detailed information can be found.
* The content of Glance Bar can be exposed when a certain gesture (e.g., flick-down) has been applied to the widget.
*
* @subsubsection ClusterCategory 1.3 What is the "cluster" and "category"
* The cluster and the sub-cluster is just like the grouping concept.
- * It is used for creating/destorying your widget instance when the data provider receives any context event from the context engine.
+ * It is used for creating/destroying your widget instance when the data provider receives any context event from the context engine.
* You will only get "user,created" cluster and "default" category(sub cluster) info.
*
- * @subsection DynamicBoxContent 2. How the widget can draw contents for viewer?
+ * @subsection WidgetContent 2. How the widget can draw contents for viewer?
* There are several ways to update the content of a widget.
*
* @li Image file based content updating
* This type is only supported for 3rd party widget such as OSP and WEB.
* Inhouse(EFL) widget is not able to use this buffer type for the box content.
*
- * @subsection DynamicBoxDirectory 3. widget directory hierachy
+ * @subsection WidgetDirectory 3. widget directory hierarchy
* @image html preload_folder.png
* @image html download_folder.png
*
* @subsection WritingViewerApp 4. Writing a new application for displaying Widgets
- * If you want install dynamic boxes on your application screen, you should initialize the viewer system first.
+ * If you want install widgets on your application screen, you should initialize the viewer system first.
*
* @code
* extern int widget_init(void *disp, int prevent_overwrite, double event_filter, int use_thread);
* @endcode
*
* @a disp should be current display object. if we are on X11 based windowing system, it will give you a Display Object, when you connect to X Server.
- * Viewer application also needs it to preparing rendering buffer to display contents of dynamic boxes.
+ * Viewer application also needs it to preparing rendering buffer to display contents of widgets.
*
- * @a prevent_overwirte flag is used for image or script type dynamic boxes.
- * If this option is turn on, the viewer library will copy the image file of dyanmic box content to "reader" folder.
+ * @a prevent_overwirte flag is used for image or script type widgets.
+ * If this option is turn on, the viewer library will copy the image file of widget content to "reader" folder.
* To prevent from overwriting content image file.
*
* @a event_filter is used for feeding events.
*
* return ui_app_main(&argc, &argv, &event_callback, &main_info);
* }
- * @endocde
+ * @endcode
*
* If you want add a new widget, you can call "widget_add()" function.
*
extern "C" {
#endif
+
+/**
+ * @file widget_viewer_evas.h
+ * @brief This file declares API of libwidget-viewer-evas library
+ * @since_tizen 2.3.1
+ */
+
+/**
+ * @addtogroup WIDGET_VIEWER_EVAS_MODULE
+ * @{
+ */
+
/**
* @since_tizen 2.3.1
* @brief Default refresh interval of widgets.
* @see #widget_viewer_evas_add_widget
+ * @see #widget_viewer_evas_get_period
*/
-#define WIDGET_VIEWER_EVAS_DEFAULT_PERIOD -1.0f /**< Default Update Period */
+#define WIDGET_VIEWER_EVAS_DEFAULT_PERIOD -1.0f
/**
* @since_tizen 2.3.1
* @since_tizen 2.3.1
* @param[in] win Window object
* @return 0 on success, otherwise a negative error value
- * @retval #WIDGET_STATUS_ERROR_NONE If success
- * @retval #WIDGET_STATUS_ERROR_INVALID_PARAMETER
+ * @retval #WIDGET_ERROR_NONE If success
+ * @retval #WIDGET_ERROR_INVALID_PARAMETER
* @retval #WIDGET_ERROR_PERMISSION_DENIED Permission denied
* @see #widget_viewer_evas_fini
*/
* @brief Finalizes the widget system
* @since_tizen 2.3.1
* @return 0 on success, otherwise a negative error value
- * @retval #WIDGET_STATUS_ERROR_NONE If success
- * @retval #WIDGET_STATUS_ERROR_FAULT Unrecoverable error occurred
+ * @retval #WIDGET_ERROR_NONE If success
+ * @retval #WIDGET_ERROR_FAULT Unrecoverable error occurred
* @see #widget_viewer_evas_init
*/
extern int widget_viewer_evas_fini(void);
* @return Widget Object
* @retval NULL if it fails to create a new widget object and you can get the reason of failure using get_last_result()
* @see #widget_service_get_widget_id
- * @see #widget_service_get_content_string
- * @see #widget_service_get_category
*/
extern Evas_Object *widget_viewer_evas_add_widget(Evas_Object *parent, const char *widget_id, const char *content_info, double period);
* @privlevel public
* @privilege %http://tizen.org/privilege/widget.viewer
* @return 0 on success, otherwise a negative error value
- * @retval #WIDGET_STATUS_ERROR_NONE if success
+ * @retval #WIDGET_ERROR_NONE if success
* @retval #WIDGET_ERROR_FAULT if it failed to send state (paused) info
* @retval #WIDGET_ERROR_PERMISSION_DENIED Permission denied
* @see widget_viewer_evas_notify_paused_status_of_viewer()
* @privlevel public
* @privilege %http://tizen.org/privilege/widget.viewer
* @return 0 on success, otherwise a negative error value
- * @retval #WIDGET_STATUS_ERROR_NONE if success
+ * @retval #WIDGET_ERROR_NONE if success
* @retval #WIDGET_ERROR_FAULT if it failed to send state (resumed) info
* @retval #WIDGET_ERROR_PERMISSION_DENIED Permission denied
* @see widget_viewer_evas_notify_resumed_status_of_viewer()
* @privilege %http://tizen.org/privilege/widget.viewer
* @param[in] orientation orientation of viewer
* @return 0 on success, otherwise a negative error value
- * @retval #WIDGET_STATUS_ERROR_NONE if success
+ * @retval #WIDGET_ERROR_NONE if success
* @retval #WIDGET_ERROR_FAULT if it failed to send state (resumed) info
* @retval #WIDGET_ERROR_PERMISSION_DENIED Permission denied
*/
* @privilege %http://tizen.org/privilege/widget.viewer
* @param[in] widget a widget object
* @return 0 on success, otherwise a negative error value
- * @retval #WIDGET_STATUS_ERROR_NONE if success
- * @retval #WIDGET_STATUS_ERROR_INVALID_PARAMETER Invalid argument
+ * @retval #WIDGET_ERROR_NONE if success
+ * @retval #WIDGET_ERROR_INVALID_PARAMETER Invalid argument
* @retval #WIDGET_ERROR_PERMISSION_DENIED Permission denied
* @retval #WIDGET_ERROR_FAULT if it failed to send state (resumed) info
*/
* @privilege %http://tizen.org/privilege/widget.viewer
* @param[in] widget a widget object
* @return 0 on success, otherwise a negative error value
- * @retval #WIDGET_STATUS_ERROR_NONE if success
- * @retval #WIDGET_STATUS_ERROR_INVALID_PARAMETER Invalid argument
+ * @retval #WIDGET_ERROR_NONE if success
+ * @retval #WIDGET_ERROR_INVALID_PARAMETER Invalid argument
* @retval #WIDGET_ERROR_FAULT if it failed to send state (resumed) info
* @retval #WIDGET_ERROR_PERMISSION_DENIED Permission denied
*/
* @param[in] type Configuration item
* @param[in] value Its value
* @return 0 on success, otherwise a negative error value
- * @retval #WIDGET_STATUS_ERROR_NONE if success
- * @retval #WIDGET_STATUS_ERROR_INVALID_PARAMETER Invalid argument
+ * @retval #WIDGET_ERROR_NONE if success
+ * @retval #WIDGET_ERROR_INVALID_PARAMETER Invalid argument
* @see #widget_evas_conf
*/
extern int widget_viewer_evas_set_option(widget_evas_conf_e type, int value);
* @privilege %http://tizen.org/privilege/widget.viewer
* @param[in] widget a widget object
* @return 0 on success, otherwise a negative error value
- * @retval #WIDGET_STATUS_ERROR_NONE if success
- * @retval #WIDGET_STATUS_ERROR_INVALID_PARAMETER Invalid argument
+ * @retval #WIDGET_ERROR_NONE if success
+ * @retval #WIDGET_ERROR_INVALID_PARAMETER Invalid argument
* @retval #WIDGET_ERROR_PERMISSION_DENIED Permission denied
*/
extern int widget_viewer_evas_feed_mouse_up_event(Evas_Object *widget);
* @param[in] widget a widget object
* @param[in] status a visibility status of the widget
* @return 0 on success, otherwise a negative error value
- * @retval #WIDGET_STATUS_ERROR_NONE if success
- * @retval #WIDGET_STATUS_ERROR_INVALID_PARAMETER Invalid argument
+ * @retval #WIDGET_ERROR_NONE if success
+ * @retval #WIDGET_ERROR_INVALID_PARAMETER Invalid argument
* @see #widget_visibility_status_e
*/
extern int widget_viewer_evas_freeze_visibility(Evas_Object *widget, widget_visibility_status_e status);
* @since_tizen 2.3.1
* @param[in] widget a widget object
* @return 0 on success, otherwise a negative error value
- * @retval #WIDGET_STATUS_ERROR_NONE if success
- * @retval #WIDGET_STATUS_ERROR_INVALID_PARAMETER Invalid argument
+ * @retval #WIDGET_ERROR_NONE if success
+ * @retval #WIDGET_ERROR_INVALID_PARAMETER Invalid argument
*/
extern int widget_viewer_evas_thaw_visibility(Evas_Object *widget);
*/
extern void widget_viewer_evas_set_permanent_delete(Evas_Object *widget, int flag);
+/**
+ * @}
+ */
+
#ifdef __cplusplus
}
#endif