Web¶
Widget description¶
A web widget is used for displaying web pages (HTML/CSS/JS) using WebKit-EFL. You must have compiled Elementary with ewebkit support.
Emitted signals¶
download,request
: A file download has been requested. Event info is a WebDownload instanceeditorclient,contents,changed
: Editor client’s contents changededitorclient,selection,changed
: Editor client’s selection changedframe,created
: A new frame was created. Event info is an Evas_Object which can be handled with WebKit’s ewk_frame APIicon,received
: An icon was received by the main frameinputmethod,changed
: Input method changed. Event info is an Eina_Bool indicating whether it’s enabled or notjs,windowobject,clear
: JS window object has been clearedlink,hover,in
: Mouse cursor is hovering over a link. Event info is a tuple, where the first string contains the URL the link points to, and the second one the title of the linklink,hover,out
: Mouse cursor left the linkload,document,finished
: Loading of a document finished. Event info is the frame that finished loadingload,error
: Load failed. Event info is a WebFrameLoadError instanceload,finished
: Load finished. Event info is None on success, on error it’s a WebFrameLoadError instanceload,newwindow,show
: A new window was created and is ready to be shownload,progress
: Overall load progress. Event info is a double containing a value between 0.0 and 1.0load,provisional
: Started provisional loadload,started
: Loading of a document startedmenubar,visible,get
: Queries if the menubar is visible. Event info is a bool where the callback should set True if the menubar is visible, or False in case it’s notmenubar,visible,set
: Informs menubar visibility. Event info is a bool indicating the visibilitypopup,created
: A dropdown widget was activated, requesting its popup menu to be created. Event info is a WebMenu instancepopup,willdelete
: The web object is ready to destroy the popup object created. Event info is a WebMenu instanceready
: Page is fully loadedscrollbars,visible,get
: Queries visibility of scrollbars. Event info is a bool where the visibility state should be setscrollbars,visible,set
: Informs scrollbars visibility. Event info is an Eina_Bool with the visibility state setstatusbar,text,set
: Text of the statusbar changed. Event info is a string with the new textstatusbar,visible,get
: Queries visibility of the status bar. Event info is a bool where the visibility state should be set.statusbar,visible,set
: Informs statusbar visibility. Event info is an Eina_Bool with the visibility valuetitle,changed
: Title of the main frame changed. Event info is a string with the new titletoolbars,visible,get
: Queries visibility of toolbars. Event info is a bool where the visibility state should be settoolbars,visible,set
: Informs the visibility of toolbars. Event info is an Eina_Bool with the visibility statetooltip,text,set
: Show and set text of a tooltip. Event info is a string with the text to showuri,changed
: URI of the main frame changed. Event info is a string (deprecated. useurl,changed
instead)url,changed
: URL of the main frame changed. Event info is a string with the new URIview,resized
: The web object internal’s view changed sizedwindows,close,request
: A JavaScript request to close the current window was requestedzoom,animated,end
: Animated zoom finished
Enumerations¶
Web window features¶
- efl.elementary.ELM_WEB_WINDOW_FEATURE_TOOLBAR¶
Toolbar
- efl.elementary.ELM_WEB_WINDOW_FEATURE_STATUSBAR¶
Status bar
- efl.elementary.ELM_WEB_WINDOW_FEATURE_SCROLLBARS¶
Scrollbars
- efl.elementary.ELM_WEB_WINDOW_FEATURE_MENUBAR¶
Menu bar
- efl.elementary.ELM_WEB_WINDOW_FEATURE_LOCATIONBAR¶
Location bar
- efl.elementary.ELM_WEB_WINDOW_FEATURE_FULLSCREEN¶
Fullscreen
Web zoom modes¶
- efl.elementary.ELM_WEB_ZOOM_MODE_MANUAL¶
Zoom controlled normally by
zoom
- efl.elementary.ELM_WEB_ZOOM_MODE_AUTO_FIT¶
Zoom until content fits in web object.
- efl.elementary.ELM_WEB_ZOOM_MODE_AUTO_FILL¶
Zoom until content fills web object.