Top | ![]() |
![]() |
![]() |
![]() |
void (*EWebViewElementClickedFunc) (EWebView *web_view
,const gchar *element_class
,const gchar *element_value
,const GtkAllocation *element_position
,gpointer user_data
);
EWebViewElementClickedFunc
is deprecated and should not be used in newly-written code.
The callback is called whenever an element of class element_class
is clicked.
The element_value
is a content of the 'value' attribute of the clicked element.
The element_position
is the place of the element within the web page, already
accounting scrollbar positions.
See: e_web_view_register_element_clicked, e_web_view_unregister_element_clicked
web_view |
an EWebView |
|
element_class |
an element class, as set on the element which had been clicked |
|
element_value |
a 'value' attribute content of the clicked element |
|
element_position |
a GtkAllocation with the position of the clicked element |
|
user_data |
user data as provided in the |
Since: 3.22
GtkWidget *
e_web_view_new (void
);
e_web_view_new
is deprecated and should not be used in newly-written code.
WebKitSettings *
e_web_view_get_default_webkit_settings
(void
);
e_web_view_get_default_webkit_settings
is deprecated and should not be used in newly-written code.
void e_web_view_register_content_request_for_scheme (EWebView *web_view
,const gchar *scheme
,EContentRequest *content_request
);
e_web_view_register_content_request_for_scheme
is deprecated and should not be used in newly-written code.
void e_web_view_update_fonts_settings (GSettings *font_settings
,GSettings *aliasing_settings
,PangoFontDescription *ms_font
,PangoFontDescription *vw_font
,GtkWidget *view_widget
);
e_web_view_update_fonts_settings
is deprecated and should not be used in newly-written code.
void
e_web_view_clear (EWebView *web_view
);
e_web_view_clear
is deprecated and should not be used in newly-written code.
void e_web_view_load_string (EWebView *web_view
,const gchar *string
);
e_web_view_load_string
is deprecated and should not be used in newly-written code.
void e_web_view_load_uri (EWebView *web_view
,const gchar *uri
);
e_web_view_load_uri
is deprecated and should not be used in newly-written code.
gchar * e_web_view_suggest_filename (EWebView *web_view
,const gchar *uri
);
e_web_view_suggest_filename
is deprecated and should not be used in newly-written code.
Attempts to derive a suggested filename from the uri
for use in a
"Save As" dialog.
By default the suggested filename is the last path segment of the uri
(unless uri
looks like a query), but subclasses can use other mechanisms
for custom URI schemes. For example, "cid:" URIs in an email message may
refer to a MIME part with a suggested filename in its Content-Disposition
header.
The returned string should be freed with g_free()
when finished with it,
but callers should also be prepared for the function to return NULL
if
a filename cannot be determined.
void
e_web_view_reload (EWebView *web_view
);
e_web_view_reload
is deprecated and should not be used in newly-written code.
void e_web_view_get_content_html (EWebView *web_view
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
e_web_view_get_content_html
is deprecated and should not be used in newly-written code.
gchar * e_web_view_get_content_html_finish (EWebView *web_view
,GAsyncResult *result
,GError **error
);
e_web_view_get_content_html_finish
is deprecated and should not be used in newly-written code.
gchar * e_web_view_get_content_html_sync (EWebView *web_view
,GCancellable *cancellable
,GError **error
);
e_web_view_get_content_html_sync
is deprecated and should not be used in newly-written code.
GDBusProxy *
e_web_view_get_web_extension_proxy (EWebView *web_view
);
e_web_view_get_web_extension_proxy
is deprecated and should not be used in newly-written code.
gboolean
e_web_view_get_caret_mode (EWebView *web_view
);
e_web_view_get_caret_mode
is deprecated and should not be used in newly-written code.
void e_web_view_set_caret_mode (EWebView *web_view
,gboolean caret_mode
);
e_web_view_set_caret_mode
is deprecated and should not be used in newly-written code.
GtkTargetList *
e_web_view_get_copy_target_list (EWebView *web_view
);
e_web_view_get_copy_target_list
is deprecated and should not be used in newly-written code.
gboolean
e_web_view_get_disable_printing (EWebView *web_view
);
e_web_view_get_disable_printing
is deprecated and should not be used in newly-written code.
void e_web_view_set_disable_printing (EWebView *web_view
,gboolean disable_printing
);
e_web_view_set_disable_printing
is deprecated and should not be used in newly-written code.
gboolean
e_web_view_get_disable_save_to_disk (EWebView *web_view
);
e_web_view_get_disable_save_to_disk
is deprecated and should not be used in newly-written code.
void e_web_view_set_disable_save_to_disk (EWebView *web_view
,gboolean disable_save_to_disk
);
e_web_view_set_disable_save_to_disk
is deprecated and should not be used in newly-written code.
gboolean
e_web_view_get_editable (EWebView *web_view
);
e_web_view_get_editable
is deprecated and should not be used in newly-written code.
void e_web_view_set_editable (EWebView *web_view
,gboolean editable
);
e_web_view_set_editable
is deprecated and should not be used in newly-written code.
guint32
e_web_view_get_clipboard_flags (EWebView *web_view
);
e_web_view_get_clipboard_flags
is deprecated and should not be used in newly-written code.
void e_web_view_set_clipboard_flags (EWebView *web_view
,guint32 clipboard_flags
);
e_web_view_set_clipboard_flags
is deprecated and should not be used in newly-written code.
gboolean
e_web_view_get_need_input (EWebView *web_view
);
e_web_view_get_need_input
is deprecated and should not be used in newly-written code.
void e_web_view_set_need_input (EWebView *web_view
,gboolean need_input
);
e_web_view_set_need_input
is deprecated and should not be used in newly-written code.
gboolean
e_web_view_get_inline_spelling (EWebView *web_view
);
e_web_view_get_inline_spelling
is deprecated and should not be used in newly-written code.
void e_web_view_set_inline_spelling (EWebView *web_view
,gboolean inline_spelling
);
e_web_view_set_inline_spelling
is deprecated and should not be used in newly-written code.
gboolean
e_web_view_get_magic_links (EWebView *web_view
);
e_web_view_get_magic_links
is deprecated and should not be used in newly-written code.
void e_web_view_set_magic_links (EWebView *web_view
,gboolean magic_links
);
e_web_view_set_magic_links
is deprecated and should not be used in newly-written code.
gboolean
e_web_view_get_magic_smileys (EWebView *web_view
);
e_web_view_get_magic_smileys
is deprecated and should not be used in newly-written code.
void e_web_view_set_magic_smileys (EWebView *web_view
,gboolean magic_smileys
);
e_web_view_set_magic_smileys
is deprecated and should not be used in newly-written code.
const gchar *
e_web_view_get_selected_uri (EWebView *web_view
);
e_web_view_get_selected_uri
is deprecated and should not be used in newly-written code.
void e_web_view_set_selected_uri (EWebView *web_view
,const gchar *selected_uri
);
e_web_view_set_selected_uri
is deprecated and should not be used in newly-written code.
const gchar *
e_web_view_get_cursor_image_src (EWebView *web_view
);
e_web_view_get_cursor_image_src
is deprecated and should not be used in newly-written code.
void e_web_view_set_cursor_image_src (EWebView *web_view
,const gchar *src_uri
);
e_web_view_set_cursor_image_src
is deprecated and should not be used in newly-written code.
GtkAction *
e_web_view_get_open_proxy (EWebView *web_view
);
e_web_view_get_open_proxy
is deprecated and should not be used in newly-written code.
void e_web_view_set_open_proxy (EWebView *web_view
,GtkAction *open_proxy
);
e_web_view_set_open_proxy
is deprecated and should not be used in newly-written code.
GtkTargetList *
e_web_view_get_paste_target_list (EWebView *web_view
);
e_web_view_get_paste_target_list
is deprecated and should not be used in newly-written code.
GtkAction *
e_web_view_get_print_proxy (EWebView *web_view
);
e_web_view_get_print_proxy
is deprecated and should not be used in newly-written code.
void e_web_view_set_print_proxy (EWebView *web_view
,GtkAction *print_proxy
);
e_web_view_set_print_proxy
is deprecated and should not be used in newly-written code.
GtkAction *
e_web_view_get_save_as_proxy (EWebView *web_view
);
e_web_view_get_save_as_proxy
is deprecated and should not be used in newly-written code.
void e_web_view_set_save_as_proxy (EWebView *web_view
,GtkAction *save_as_proxy
);
e_web_view_set_save_as_proxy
is deprecated and should not be used in newly-written code.
void e_web_view_add_highlight (EWebView *web_view
,const gchar *highlight
);
e_web_view_add_highlight
is deprecated and should not be used in newly-written code.
void
e_web_view_clear_highlights (EWebView *web_view
);
e_web_view_clear_highlights
is deprecated and should not be used in newly-written code.
void
e_web_view_update_highlights (EWebView *web_view
);
e_web_view_update_highlights
is deprecated and should not be used in newly-written code.
GtkAction * e_web_view_get_action (EWebView *web_view
,const gchar *action_name
);
e_web_view_get_action
is deprecated and should not be used in newly-written code.
GtkActionGroup * e_web_view_get_action_group (EWebView *web_view
,const gchar *group_name
);
e_web_view_get_action_group
is deprecated and should not be used in newly-written code.
void
e_web_view_copy_clipboard (EWebView *web_view
);
e_web_view_copy_clipboard
is deprecated and should not be used in newly-written code.
void
e_web_view_cut_clipboard (EWebView *web_view
);
e_web_view_cut_clipboard
is deprecated and should not be used in newly-written code.
gboolean
e_web_view_is_selection_active (EWebView *web_view
);
e_web_view_is_selection_active
is deprecated and should not be used in newly-written code.
void
e_web_view_paste_clipboard (EWebView *web_view
);
e_web_view_paste_clipboard
is deprecated and should not be used in newly-written code.
gboolean
e_web_view_scroll_forward (EWebView *web_view
);
e_web_view_scroll_forward
is deprecated and should not be used in newly-written code.
gboolean
e_web_view_scroll_backward (EWebView *web_view
);
e_web_view_scroll_backward
is deprecated and should not be used in newly-written code.
void
e_web_view_select_all (EWebView *web_view
);
e_web_view_select_all
is deprecated and should not be used in newly-written code.
void
e_web_view_unselect_all (EWebView *web_view
);
e_web_view_unselect_all
is deprecated and should not be used in newly-written code.
void
e_web_view_zoom_100 (EWebView *web_view
);
e_web_view_zoom_100
is deprecated and should not be used in newly-written code.
void
e_web_view_zoom_in (EWebView *web_view
);
e_web_view_zoom_in
is deprecated and should not be used in newly-written code.
void
e_web_view_zoom_out (EWebView *web_view
);
e_web_view_zoom_out
is deprecated and should not be used in newly-written code.
GtkUIManager *
e_web_view_get_ui_manager (EWebView *web_view
);
e_web_view_get_ui_manager
is deprecated and should not be used in newly-written code.
GtkWidget *
e_web_view_get_popup_menu (EWebView *web_view
);
e_web_view_get_popup_menu
is deprecated and should not be used in newly-written code.
void e_web_view_show_popup_menu (EWebView *web_view
,GdkEvent *event
);
e_web_view_show_popup_menu
is deprecated and should not be used in newly-written code.
EActivity *
e_web_view_new_activity (EWebView *web_view
);
e_web_view_new_activity
is deprecated and should not be used in newly-written code.
Returns a new EActivity for an EWebView-related asynchronous operation,
and emits the “new-activity” signal. By default the EActivity
comes loaded with a GCancellable and sets the web_view
itself as the
“alert-sink” (which means alerts are displayed directly in the
content area). The signal emission allows the EActivity to be further
customized and/or tracked by the application.
void e_web_view_status_message (EWebView *web_view
,const gchar *status_message
);
e_web_view_status_message
is deprecated and should not be used in newly-written code.
void
e_web_view_stop_loading (EWebView *web_view
);
e_web_view_stop_loading
is deprecated and should not be used in newly-written code.
void
e_web_view_update_actions (EWebView *web_view
);
e_web_view_update_actions
is deprecated and should not be used in newly-written code.
void e_web_view_get_selection_content_html (EWebView *web_view
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
e_web_view_get_selection_content_html
is deprecated and should not be used in newly-written code.
gchar * e_web_view_get_selection_content_html_finish (EWebView *web_view
,GAsyncResult *result
,GError **error
);
e_web_view_get_selection_content_html_finish
is deprecated and should not be used in newly-written code.
gchar * e_web_view_get_selection_content_html_sync (EWebView *web_view
,GCancellable *cancellable
,GError **error
);
e_web_view_get_selection_content_html_sync
is deprecated and should not be used in newly-written code.
void
e_web_view_update_fonts (EWebView *web_view
);
e_web_view_update_fonts
is deprecated and should not be used in newly-written code.
void
e_web_view_cursor_image_copy (EWebView *web_view
);
e_web_view_cursor_image_copy
is deprecated and should not be used in newly-written code.
Asynchronously copies the image under the cursor to the clipboard.
This function triggers a “new-activity” signal emission so the asynchronous operation can be tracked and/or cancelled.
void
e_web_view_cursor_image_save (EWebView *web_view
);
e_web_view_cursor_image_save
is deprecated and should not be used in newly-written code.
Prompts the user to choose a destination file and then asynchronously saves the image under the cursor to the destination file.
This function triggers a “new-activity” signal emission so the asynchronous operation can be tracked and/or cancelled.
void e_web_view_request (EWebView *web_view
,const gchar *uri
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
e_web_view_request
is deprecated and should not be used in newly-written code.
Asynchronously requests data at uri
as displaed in the web_view
.
When the operation is finished, callback
will be called. You can then
call e_web_view_request_finish()
to get the result of the operation.
GInputStream * e_web_view_request_finish (EWebView *web_view
,GAsyncResult *result
,GError **error
);
e_web_view_request_finish
is deprecated and should not be used in newly-written code.
Finishes the operation started with e_web_view_request()
.
Unreference the returned GInputStream with g_object_unref()
when finished
with it. If an error occurred, the function will set error
and return
NULL
.
void e_web_view_install_request_handler (EWebView *web_view
,GType handler_type
);
e_web_view_install_request_handler
is deprecated and should not be used in newly-written code.
void e_web_view_create_and_add_css_style_sheet (EWebView *web_view
,const gchar *style_sheet_id
);
e_web_view_create_and_add_css_style_sheet
is deprecated and should not be used in newly-written code.
Creates new CSS style sheet with given style_sheel_id
and inserts
it into given web_view
document.
void e_web_view_add_css_rule_into_style_sheet (EWebView *web_view
,const gchar *style_sheet_id
,const gchar *selector
,const gchar *style
);
e_web_view_add_css_rule_into_style_sheet
is deprecated and should not be used in newly-written code.
Insert new CSS rule (defined with selector
and style
) into CSS style sheet
with given style_sheet_id
. If style sheet doesn't exist, it's created.
The rule is inserted to every DOM document that is in page. That means also into DOM documents inside iframe elements.
const gchar *
e_web_view_get_citation_color_for_level
(gint level
);
e_web_view_get_citation_color_for_level
is deprecated and should not be used in newly-written code.
gchar * e_web_view_get_document_uri_from_point (EWebView *web_view
,gint32 x
,gint32 y
);
e_web_view_get_document_uri_from_point
is deprecated and should not be used in newly-written code.
A document URI which is under the x
, y
coordinates or NULL
,
if there is none. Free the returned pointer with g_free()
when done with it.
Since: 3.22
void e_web_view_set_document_iframe_src (EWebView *web_view
,const gchar *document_uri
,const gchar *new_iframe_src
);
e_web_view_set_document_iframe_src
is deprecated and should not be used in newly-written code.
Change IFrame source for the given document_uri
IFrame
to the new_iframe_src
.
web_view |
an EWebView |
|
document_uri |
a document URI for whose IFrame change the source |
|
new_iframe_src |
the source to change the IFrame to |
Since: 3.22
void e_web_view_register_element_clicked (EWebView *web_view
,const gchar *element_class
,EWebViewElementClickedFunc callback
,gpointer user_data
);
e_web_view_register_element_clicked
is deprecated and should not be used in newly-written code.
Registers a callback
to be called when any element of the class element_class
is clicked. If the element contains a 'value' attribute, then it is passed to
the callback
too. These callback are valid until a new content of the web_view
is loaded, after which all the registered callbacks are forgotten.
web_view |
an EWebView |
|
element_class |
an element class on which to listen for clicking |
|
callback |
an EWebViewElementClickedFunc to call, when the element is clicked |
|
user_data |
user data to pass to |
Since: 3.22
void e_web_view_unregister_element_clicked (EWebView *web_view
,const gchar *element_class
,EWebViewElementClickedFunc callback
,gpointer user_data
);
e_web_view_unregister_element_clicked
is deprecated and should not be used in newly-written code.
Unregisters the callback
for the element_class
with the given user_data
, which
should be previously registered with e_web_view_register_element_clicked()
. This
unregister is usually not needed, because the web_view
unregisters all callbacks
when a new content is loaded.
web_view |
an EWebView |
|
element_class |
an element class on which to listen for clicking |
|
callback |
an EWebViewElementClickedFunc to call, when the element is clicked |
|
user_data |
user data to pass to |
Since: 3.22
void e_web_view_set_element_hidden (EWebView *web_view
,const gchar *element_id
,gboolean hidden
);
e_web_view_set_element_hidden
is deprecated and should not be used in newly-written code.
void e_web_view_set_element_style_property (EWebView *web_view
,const gchar *element_id
,const gchar *property_name
,const gchar *value
,const gchar *priority
);
e_web_view_set_element_style_property
is deprecated and should not be used in newly-written code.