2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* @defgroup Web Web
|
2012-04-16 18:35:46 -07:00
|
|
|
* @ingroup Elementary
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
2012-06-05 15:41:21 -07:00
|
|
|
* @image html web_inheritance_tree.png
|
|
|
|
* @image latex web_inheritance_tree.eps
|
|
|
|
*
|
2011-12-29 23:20:48 -08:00
|
|
|
* @image html img/widget/web/preview-00.png
|
|
|
|
* @image latex img/widget/web/preview-00.eps
|
|
|
|
*
|
2012-02-22 00:58:26 -08:00
|
|
|
* A web widget is used for displaying web pages (HTML/CSS/JS)
|
2011-12-29 23:20:48 -08:00
|
|
|
* using WebKit-EFL. You must have compiled Elementary with
|
|
|
|
* ewebkit support.
|
|
|
|
*
|
|
|
|
* Signals that you can add callbacks for are:
|
|
|
|
* @li "download,request": A file download has been requested. Event info is
|
|
|
|
* a pointer to a Elm_Web_Download
|
|
|
|
* @li "editorclient,contents,changed": Editor client's contents changed
|
|
|
|
* @li "editorclient,selection,changed": Editor client's selection changed
|
|
|
|
* @li "frame,created": A new frame was created. Event info is an
|
|
|
|
* Evas_Object which can be handled with WebKit's ewk_frame API
|
|
|
|
* @li "icon,received": An icon was received by the main frame
|
|
|
|
* @li "inputmethod,changed": Input method changed. Event info is an
|
|
|
|
* Eina_Bool indicating whether it's enabled or not
|
|
|
|
* @li "js,windowobject,clear": JS window object has been cleared
|
|
|
|
* @li "link,hover,in": Mouse cursor is hovering over a link. Event info
|
|
|
|
* is a char *link[2], where the first string contains the URL the link
|
|
|
|
* points to, and the second one the title of the link
|
|
|
|
* @li "link,hover,out": Mouse cursor left the link
|
|
|
|
* @li "load,document,finished": Loading of a document finished. Event info
|
|
|
|
* is the frame that finished loading
|
|
|
|
* @li "load,error": Load failed. Event info is a pointer to
|
|
|
|
* Elm_Web_Frame_Load_Error
|
|
|
|
* @li "load,finished": Load finished. Event info is NULL on success, on
|
|
|
|
* error it's a pointer to Elm_Web_Frame_Load_Error
|
|
|
|
* @li "load,newwindow,show": A new window was created and is ready to be
|
|
|
|
* shown
|
|
|
|
* @li "load,progress": Overall load progress. Event info is a pointer to
|
|
|
|
* a double containing a value between 0.0 and 1.0
|
|
|
|
* @li "load,provisional": Started provisional load
|
|
|
|
* @li "load,started": Loading of a document started
|
|
|
|
* @li "menubar,visible,get": Queries if the menubar is visible. Event info
|
|
|
|
* is a pointer to Eina_Bool where the callback should set EINA_TRUE if
|
|
|
|
* the menubar is visible, or EINA_FALSE in case it's not
|
|
|
|
* @li "menubar,visible,set": Informs menubar visibility. Event info is
|
|
|
|
* an Eina_Bool indicating the visibility
|
|
|
|
* @li "popup,created": A dropdown widget was activated, requesting its
|
|
|
|
* popup menu to be created. Event info is a pointer to Elm_Web_Menu
|
|
|
|
* @li "popup,willdelete": The web object is ready to destroy the popup
|
|
|
|
* object created. Event info is a pointer to Elm_Web_Menu
|
|
|
|
* @li "ready": Page is fully loaded
|
|
|
|
* @li "scrollbars,visible,get": Queries visibility of scrollbars. Event
|
|
|
|
* info is a pointer to Eina_Bool where the visibility state should be set
|
|
|
|
* @li "scrollbars,visible,set": Informs scrollbars visibility. Event info
|
|
|
|
* is an Eina_Bool with the visibility state set
|
|
|
|
* @li "statusbar,text,set": Text of the statusbar changed. Even info is
|
|
|
|
* a string with the new text
|
|
|
|
* @li "statusbar,visible,get": Queries visibility of the status bar.
|
|
|
|
* Event info is a pointer to Eina_Bool where the visibility state should be
|
|
|
|
* set.
|
|
|
|
* @li "statusbar,visible,set": Informs statusbar visibility. Event info is
|
|
|
|
* an Eina_Bool with the visibility value
|
|
|
|
* @li "title,changed": Title of the main frame changed. Event info is a
|
|
|
|
* string with the new title
|
|
|
|
* @li "toolbars,visible,get": Queries visibility of toolbars. Event info
|
|
|
|
* is a pointer to Eina_Bool where the visibility state should be set
|
|
|
|
* @li "toolbars,visible,set": Informs the visibility of toolbars. Event
|
|
|
|
* info is an Eina_Bool with the visibility state
|
|
|
|
* @li "tooltip,text,set": Show and set text of a tooltip. Event info is
|
|
|
|
* a string with the text to show
|
2013-06-12 18:21:17 -07:00
|
|
|
* @li "uri,changed": URI of the main frame changed. Event info is a string (deprecated. use "url,changed" instead)
|
|
|
|
* @li "url,changed": URL of the main frame changed. Event info is a string
|
2011-12-29 23:20:48 -08:00
|
|
|
* with the new URI
|
|
|
|
* @li "view,resized": The web object internal's view changed sized
|
|
|
|
* @li "windows,close,request": A JavaScript request to close the current
|
|
|
|
* window was requested
|
|
|
|
* @li "zoom,animated,end": Animated zoom finished
|
2013-06-09 22:37:47 -07:00
|
|
|
* @li "focused" : When the web has received focus. (since 1.8)
|
|
|
|
* @li "unfocused" : When the web has lost focus. (since 1.8)
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* available styles:
|
|
|
|
* - default
|
|
|
|
*
|
|
|
|
* An example of use of web:
|
|
|
|
*
|
2012-08-06 13:44:45 -07:00
|
|
|
* - @ref web_example_01
|
|
|
|
* - @ref web_example_02
|
2011-12-29 23:20:48 -08:00
|
|
|
*/
|
|
|
|
|
2012-03-07 07:56:01 -08:00
|
|
|
/**
|
Elementary: Split headers for Map, Menu, Panel, Panes, Photocam, Plug,
Prefs, ProgressBar, Radio. Route, Segment Control, Separator, Slider,
Slideshow, Spinner, Systray, Table, Thumb, Video, Web.
2013-04-28 02:58:28 -07:00
|
|
|
* @addtogroup Web
|
|
|
|
* @{
|
2012-03-07 07:56:01 -08:00
|
|
|
*/
|
2011-12-29 23:20:48 -08:00
|
|
|
|
Elementary: Split headers for Map, Menu, Panel, Panes, Photocam, Plug,
Prefs, ProgressBar, Radio. Route, Segment Control, Separator, Slider,
Slideshow, Spinner, Systray, Table, Thumb, Video, Web.
2013-04-28 02:58:28 -07:00
|
|
|
#include "elm_web_common.h"
|
|
|
|
#ifdef EFL_EO_API_SUPPORT
|
|
|
|
#include "elm_web_eo.h"
|
|
|
|
#endif
|
|
|
|
#ifndef EFL_NOLEGACY_API_SUPPORT
|
|
|
|
#include "elm_web_legacy.h"
|
|
|
|
#endif
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|