e-web-view-jsc-utils: Evolution Utilities Reference Manual

## e-web-view-jsc-utils e-web-view-jsc-utils |

## Functions

gboolean | e_web_view_jsc_get_object_property_boolean ()
gint32 | e_web_view_jsc_get_object_property_int32 ()
gdouble | e_web_view_jsc_get_object_property_double ()
gchar * | e_web_view_jsc_get_object_property_string ()
gchar * | e_web_view_jsc_printf_script ()
gchar * | e_web_view_jsc_vprintf_script ()
void | e_web_view_jsc_printf_script_gstring ()
void | e_web_view_jsc_vprintf_script_gstring ()
void | e_web_view_jsc_run_script ()
void | e_web_view_jsc_run_script_take ()
void | e_web_view_jsc_set_element_hidden ()
void | e_web_view_jsc_set_element_disabled ()
void | e_web_view_jsc_set_element_checked ()
void | e_web_view_jsc_set_element_style_property ()
void | e_web_view_jsc_set_element_attribute ()
void | e_web_view_jsc_create_style_sheet ()
void | e_web_view_jsc_remove_style_sheet ()
void | e_web_view_jsc_add_rule_into_style_sheet ()
void | e_web_view_jsc_register_element_clicked ()
void | e_web_view_jsc_get_selection ()
gboolean | e_web_view_jsc_get_selection_finish ()
void | e_web_view_jsc_get_document_content ()
gboolean | e_web_view_jsc_get_document_content_finish ()
void | e_web_view_jsc_get_element_content ()
gboolean | e_web_view_jsc_get_element_content_finish ()
void | e_web_view_jsc_get_element_from_point ()
gboolean | e_web_view_jsc_get_element_from_point_finish ()

## Types and Values

enum | ETextFormat

## Description

## Functions

### e_web_view_jsc_get_object_property_boolean ()

    gboolean
    e_web_view_jsc_get_object_property_boolean
                                   (JSCValue *jsc_object,
                                    const gchar *property_name,
                                    gboolean default_value);

### e_web_view_jsc_get_object_property_int32 ()

    gint32
    e_web_view_jsc_get_object_property_int32
                                   (JSCValue *jsc_object,
                                    const gchar *property_name,
                                    gint32 default_value);

### e_web_view_jsc_get_object_property_double ()

    gdouble
    e_web_view_jsc_get_object_property_double
                                   (JSCValue *jsc_object,
                                    const gchar *property_name,
                                    gdouble default_value);

### e_web_view_jsc_get_object_property_string ()

    gchar *
    e_web_view_jsc_get_object_property_string
                                   (JSCValue *jsc_object,
                                    const gchar *property_name,
                                    const gchar *default_value);

### e_web_view_jsc_printf_script ()

    gchar *
    e_web_view_jsc_printf_script (const gchar *script_format,
                                  ...);

### e_web_view_jsc_vprintf_script ()

    gchar *
    e_web_view_jsc_vprintf_script (const gchar *script_format,
                                   va_list va);

### e_web_view_jsc_printf_script_gstring ()

    void
    e_web_view_jsc_printf_script_gstring (GString *script,
                                          const gchar *script_format,
                                          ...);

### e_web_view_jsc_vprintf_script_gstring ()

    void
    e_web_view_jsc_vprintf_script_gstring (GString *script,
                                           const gchar *script_format,
                                           va_list va);

### e_web_view_jsc_run_script ()

    void
    e_web_view_jsc_run_script (WebKitWebView *web_view,
                               GCancellable *cancellable,
                               const gchar *script_format,
                               ...);

### e_web_view_jsc_run_script_take ()

    void
    e_web_view_jsc_run_script_take (WebKitWebView *web_view,
                                    gchar *script,
                                    GCancellable *cancellable);

### e_web_view_jsc_set_element_hidden ()

    void
    e_web_view_jsc_set_element_hidden (WebKitWebView *web_view,
                                       const gchar *iframe_id,
                                       const gchar *element_id,
                                       gboolean value,
                                       GCancellable *cancellable);

### e_web_view_jsc_set_element_disabled ()

    void
    e_web_view_jsc_set_element_disabled (WebKitWebView *web_view,
                                         const gchar *iframe_id,
                                         const gchar *element_id,
                                         gboolean value,
                                         GCancellable *cancellable);

### e_web_view_jsc_set_element_checked ()

    void
    e_web_view_jsc_set_element_checked (WebKitWebView *web_view,
                                        const gchar *iframe_id,
                                        const gchar *element_id,
                                        gboolean value,
                                        GCancellable *cancellable);

### e_web_view_jsc_set_element_style_property ()

    void
    e_web_view_jsc_set_element_style_property
                                   (WebKitWebView *web_view,
                                    const gchar *iframe_id,
                                    const gchar *element_id,
                                    const gchar *property_name,
                                    const gchar *value,
                                    GCancellable *cancellable);

### e_web_view_jsc_set_element_attribute ()

    void
    e_web_view_jsc_set_element_attribute (WebKitWebView *web_view,
                                          const gchar *iframe_id,
                                          const gchar *element_id,
                                          const gchar *namespace_uri,
                                          const gchar *qualified_name,
                                          const gchar *value,
                                          GCancellable *cancellable);

### e_web_view_jsc_create_style_sheet ()

    void
    e_web_view_jsc_create_style_sheet (WebKitWebView *web_view,
                                       const gchar *iframe_id,
                                       const gchar *style_sheet_id,
                                       const gchar *content,
                                       GCancellable *cancellable);

### e_web_view_jsc_remove_style_sheet ()

    void
    e_web_view_jsc_remove_style_sheet (WebKitWebView *web_view,
                                       const gchar *iframe_id,
                                       const gchar *style_sheet_id,
                                       GCancellable *cancellable);

### e_web_view_jsc_add_rule_into_style_sheet ()

    void
    e_web_view_jsc_add_rule_into_style_sheet
                                   (WebKitWebView *web_view,
                                    const gchar *iframe_id,
                                    const gchar *style_sheet_id,
                                    const gchar *selector,
                                    const gchar *style,
                                    GCancellable *cancellable);

### e_web_view_jsc_register_element_clicked ()

    void
    e_web_view_jsc_register_element_clicked
                                   (WebKitWebView *web_view,
                                    const gchar *iframe_id,
                                    const gchar *elem_classes,
                                    GCancellable *cancellable);

### e_web_view_jsc_get_selection ()

    void
    e_web_view_jsc_get_selection (WebKitWebView *web_view,
                                  ETextFormat format,
                                  GCancellable *cancellable,
                                  GAsyncReadyCallback callback,
                                  gpointer user_data);

### e_web_view_jsc_get_selection_finish ()

    gboolean
    e_web_view_jsc_get_selection_finish (WebKitWebView *web_view,
                                         GAsyncResult *result,
                                         GSList **out_texts,
                                         GError **error);

### e_web_view_jsc_get_document_content ()

    void
    e_web_view_jsc_get_document_content (WebKitWebView *web_view,
                                         const gchar *iframe_id,
                                         ETextFormat format,
                                         GCancellable *cancellable,
                                         GAsyncReadyCallback callback,
                                         gpointer user_data);

### e_web_view_jsc_get_document_content_finish ()

    gboolean
    e_web_view_jsc_get_document_content_finish
                                   (WebKitWebView *web_view,
                                    GAsyncResult *result,
                                    GSList **out_texts,
                                    GError **error);

### e_web_view_jsc_get_element_content ()

    void
    e_web_view_jsc_get_element_content (WebKitWebView *web_view,
                                        const gchar *iframe_id,
                                        const gchar *element_id,
                                        ETextFormat format,
                                        gboolean use_outer_html,
                                        GCancellable *cancellable,
                                        GAsyncReadyCallback callback,
                                        gpointer user_data);

### e_web_view_jsc_get_element_content_finish ()

    gboolean
    e_web_view_jsc_get_element_content_finish
                                   (WebKitWebView *web_view,
                                    GAsyncResult *result,
                                    GSList **out_texts,
                                    GError **error);

### e_web_view_jsc_get_element_from_point ()

    void
    e_web_view_jsc_get_element_from_point (WebKitWebView *web_view,
                                           gint xx,
                                           gint yy,
                                           GCancellable *cancellable,
                                           GAsyncReadyCallback callback,
                                           gpointer user_data);

### e_web_view_jsc_get_element_from_point_finish ()

    gboolean
    e_web_view_jsc_get_element_from_point_finish
                                   (WebKitWebView *web_view,
                                    GAsyncResult *result,
                                    gchar **out_iframe_src,
                                    gchar **out_iframe_id,
                                    gchar **out_element_id,
                                    GError **error);

## Types and Values

### enum ETextFormat

#### Members

E_TEXT_FORMAT_PLAIN |  |
E_TEXT_FORMAT_HTML |  |
E_TEXT_FORMAT_BOTH |  |