WebKitDOMElement

WebKitDOMElement

Functions

gchar * webkit_dom_element_get_attribute ()
void webkit_dom_element_set_attribute ()
void webkit_dom_element_remove_attribute ()
WebKitDOMAttr * webkit_dom_element_get_attribute_node ()
WebKitDOMAttr * webkit_dom_element_set_attribute_node ()
WebKitDOMAttr * webkit_dom_element_remove_attribute_node ()
WebKitDOMHTMLCollection * webkit_dom_element_get_elements_by_tag_name_as_html_collection ()
gboolean webkit_dom_element_has_attributes ()
gchar * webkit_dom_element_get_attribute_ns ()
void webkit_dom_element_set_attribute_ns ()
void webkit_dom_element_remove_attribute_ns ()
WebKitDOMHTMLCollection * webkit_dom_element_get_elements_by_tag_name_ns_as_html_collection ()
WebKitDOMAttr * webkit_dom_element_get_attribute_node_ns ()
WebKitDOMAttr * webkit_dom_element_set_attribute_node_ns ()
gboolean webkit_dom_element_has_attribute ()
gboolean webkit_dom_element_has_attribute_ns ()
void webkit_dom_element_focus ()
void webkit_dom_element_blur ()
void webkit_dom_element_scroll_into_view ()
void webkit_dom_element_scroll_into_view_if_needed ()
void webkit_dom_element_scroll_by_lines ()
void webkit_dom_element_scroll_by_pages ()
WebKitDOMHTMLCollection * webkit_dom_element_get_elements_by_class_name_as_html_collection ()
WebKitDOMElement * webkit_dom_element_query_selector ()
WebKitDOMNodeList * webkit_dom_element_query_selector_all ()
gchar * webkit_dom_element_get_tag_name ()
WebKitDOMNamedNodeMap * webkit_dom_element_get_attributes ()
WebKitDOMCSSStyleDeclaration * webkit_dom_element_get_style ()
gchar * webkit_dom_element_get_id ()
void webkit_dom_element_set_id ()
gchar * webkit_dom_element_get_namespace_uri ()
gchar * webkit_dom_element_get_prefix ()
gchar * webkit_dom_element_get_local_name ()
gdouble webkit_dom_element_get_offset_left ()
gdouble webkit_dom_element_get_offset_top ()
gdouble webkit_dom_element_get_offset_width ()
gdouble webkit_dom_element_get_offset_height ()
gdouble webkit_dom_element_get_client_left ()
gdouble webkit_dom_element_get_client_top ()
gdouble webkit_dom_element_get_client_width ()
gdouble webkit_dom_element_get_client_height ()
glong webkit_dom_element_get_scroll_left ()
void webkit_dom_element_set_scroll_left ()
glong webkit_dom_element_get_scroll_top ()
void webkit_dom_element_set_scroll_top ()
glong webkit_dom_element_get_scroll_width ()
glong webkit_dom_element_get_scroll_height ()
WebKitDOMClientRect * webkit_dom_element_get_bounding_client_rect ()
WebKitDOMClientRectList * webkit_dom_element_get_client_rects ()
WebKitDOMElement * webkit_dom_element_get_offset_parent ()
gchar * webkit_dom_element_get_inner_html ()
void webkit_dom_element_set_inner_html ()
gchar * webkit_dom_element_get_outer_html ()
void webkit_dom_element_set_outer_html ()
gchar * webkit_dom_element_get_class_name ()
void webkit_dom_element_set_class_name ()
WebKitDOMElement * webkit_dom_element_get_previous_element_sibling ()
WebKitDOMElement * webkit_dom_element_get_next_element_sibling ()
WebKitDOMHTMLCollection * webkit_dom_element_get_children ()
WebKitDOMElement * webkit_dom_element_get_first_element_child ()
WebKitDOMElement * webkit_dom_element_get_last_element_child ()
gulong webkit_dom_element_get_child_element_count ()
WebKitDOMNodeList * webkit_dom_element_get_elements_by_tag_name ()
WebKitDOMNodeList * webkit_dom_element_get_elements_by_tag_name_ns ()
WebKitDOMNodeList * webkit_dom_element_get_elements_by_class_name ()
gboolean webkit_dom_element_matches ()
WebKitDOMElement * webkit_dom_element_closest ()
gboolean webkit_dom_element_webkit_matches_selector ()
void webkit_dom_element_webkit_request_fullscreen ()
WebKitDOMElement * webkit_dom_element_insert_adjacent_element ()
void webkit_dom_element_insert_adjacent_html ()
void webkit_dom_element_insert_adjacent_text ()
void webkit_dom_element_request_pointer_lock ()
void webkit_dom_element_remove ()
WebKitDOMDOMTokenList * webkit_dom_element_get_class_list ()
gchar * webkit_dom_element_get_webkit_region_overset ()

Properties

Types and Values

Object Hierarchy

    GObject
    ╰── WebKitDOMObject
        ╰── WebKitDOMNode
            ╰── WebKitDOMElement
                ╰── WebKitDOMHTMLElement

Implemented Interfaces

WebKitDOMElement implements WebKitDOMEventTarget.

Description

Functions

webkit_dom_element_get_attribute ()

gchar *
webkit_dom_element_get_attribute (WebKitDOMElement *self,
                                  const gchar *name);

Parameters

self

A WebKitDOMElement

 

name

A gchar

 

Returns

A gchar


webkit_dom_element_set_attribute ()

void
webkit_dom_element_set_attribute (WebKitDOMElement *self,
                                  const gchar *name,
                                  const gchar *value,
                                  GError **error);

Parameters

self

A WebKitDOMElement

 

name

A gchar

 

value

A gchar

 

error

GError

 

webkit_dom_element_remove_attribute ()

void
webkit_dom_element_remove_attribute (WebKitDOMElement *self,
                                     const gchar *name);

Parameters

self

A WebKitDOMElement

 

name

A gchar

 

webkit_dom_element_get_attribute_node ()

WebKitDOMAttr *
webkit_dom_element_get_attribute_node (WebKitDOMElement *self,
                                       const gchar *name);

Parameters

self

A WebKitDOMElement

 

name

A gchar

 

Returns

A WebKitDOMAttr.

[transfer none]


webkit_dom_element_set_attribute_node ()

WebKitDOMAttr *
webkit_dom_element_set_attribute_node (WebKitDOMElement *self,
                                       WebKitDOMAttr *newAttr,
                                       GError **error);

Parameters

self

A WebKitDOMElement

 

newAttr

A WebKitDOMAttr

 

error

GError

 

Returns

A WebKitDOMAttr.

[transfer none]


webkit_dom_element_remove_attribute_node ()

WebKitDOMAttr *
webkit_dom_element_remove_attribute_node
                               (WebKitDOMElement *self,
                                WebKitDOMAttr *oldAttr,
                                GError **error);

Parameters

self

A WebKitDOMElement

 

oldAttr

A WebKitDOMAttr

 

error

GError

 

Returns

A WebKitDOMAttr.

[transfer none]


webkit_dom_element_get_elements_by_tag_name_as_html_collection ()

WebKitDOMHTMLCollection *
webkit_dom_element_get_elements_by_tag_name_as_html_collection
                               (WebKitDOMElement *self,
                                const gchar *name);

Parameters

self

A WebKitDOMElement

 

name

A gchar

 

Returns

A WebKitDOMHTMLCollection.

[transfer full]

Since: 2.12


webkit_dom_element_has_attributes ()

gboolean
webkit_dom_element_has_attributes (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A gboolean


webkit_dom_element_get_attribute_ns ()

gchar *
webkit_dom_element_get_attribute_ns (WebKitDOMElement *self,
                                     const gchar *namespaceURI,
                                     const gchar *localName);

Parameters

self

A WebKitDOMElement

 

namespaceURI

A gchar

 

localName

A gchar

 

Returns

A gchar


webkit_dom_element_set_attribute_ns ()

void
webkit_dom_element_set_attribute_ns (WebKitDOMElement *self,
                                     const gchar *namespaceURI,
                                     const gchar *qualifiedName,
                                     const gchar *value,
                                     GError **error);

Parameters

self

A WebKitDOMElement

 

namespaceURI

A gchar.

[allow-none]

qualifiedName

A gchar

 

value

A gchar

 

error

GError

 

webkit_dom_element_remove_attribute_ns ()

void
webkit_dom_element_remove_attribute_ns
                               (WebKitDOMElement *self,
                                const gchar *namespaceURI,
                                const gchar *localName);

Parameters

self

A WebKitDOMElement

 

namespaceURI

A gchar

 

localName

A gchar

 

webkit_dom_element_get_elements_by_tag_name_ns_as_html_collection ()

WebKitDOMHTMLCollection *
webkit_dom_element_get_elements_by_tag_name_ns_as_html_collection
                               (WebKitDOMElement *self,
                                const gchar *namespaceURI,
                                const gchar *localName);

Parameters

self

A WebKitDOMElement

 

namespaceURI

A gchar

 

localName

A gchar

 

Returns

A WebKitDOMHTMLCollection.

[transfer full]

Since: 2.12


webkit_dom_element_get_attribute_node_ns ()

WebKitDOMAttr *
webkit_dom_element_get_attribute_node_ns
                               (WebKitDOMElement *self,
                                const gchar *namespaceURI,
                                const gchar *localName);

Parameters

self

A WebKitDOMElement

 

namespaceURI

A gchar

 

localName

A gchar

 

Returns

A WebKitDOMAttr.

[transfer none]


webkit_dom_element_set_attribute_node_ns ()

WebKitDOMAttr *
webkit_dom_element_set_attribute_node_ns
                               (WebKitDOMElement *self,
                                WebKitDOMAttr *newAttr,
                                GError **error);

Parameters

self

A WebKitDOMElement

 

newAttr

A WebKitDOMAttr

 

error

GError

 

Returns

A WebKitDOMAttr.

[transfer none]


webkit_dom_element_has_attribute ()

gboolean
webkit_dom_element_has_attribute (WebKitDOMElement *self,
                                  const gchar *name);

Parameters

self

A WebKitDOMElement

 

name

A gchar

 

Returns

A gboolean


webkit_dom_element_has_attribute_ns ()

gboolean
webkit_dom_element_has_attribute_ns (WebKitDOMElement *self,
                                     const gchar *namespaceURI,
                                     const gchar *localName);

Parameters

self

A WebKitDOMElement

 

namespaceURI

A gchar

 

localName

A gchar

 

Returns

A gboolean


webkit_dom_element_focus ()

void
webkit_dom_element_focus (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

webkit_dom_element_blur ()

void
webkit_dom_element_blur (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

webkit_dom_element_scroll_into_view ()

void
webkit_dom_element_scroll_into_view (WebKitDOMElement *self,
                                     gboolean alignWithTop);

Parameters

self

A WebKitDOMElement

 

alignWithTop

A gboolean

 

webkit_dom_element_scroll_into_view_if_needed ()

void
webkit_dom_element_scroll_into_view_if_needed
                               (WebKitDOMElement *self,
                                gboolean centerIfNeeded);

Parameters

self

A WebKitDOMElement

 

centerIfNeeded

A gboolean

 

webkit_dom_element_scroll_by_lines ()

void
webkit_dom_element_scroll_by_lines (WebKitDOMElement *self,
                                    glong lines);

Parameters

self

A WebKitDOMElement

 

lines

A glong

 

webkit_dom_element_scroll_by_pages ()

void
webkit_dom_element_scroll_by_pages (WebKitDOMElement *self,
                                    glong pages);

Parameters

self

A WebKitDOMElement

 

pages

A glong

 

webkit_dom_element_get_elements_by_class_name_as_html_collection ()

WebKitDOMHTMLCollection *
webkit_dom_element_get_elements_by_class_name_as_html_collection
                               (WebKitDOMElement *self,
                                const gchar *name);

Parameters

self

A WebKitDOMElement

 

name

A gchar

 

Returns

A WebKitDOMHTMLCollection.

[transfer full]

Since: 2.12


webkit_dom_element_query_selector ()

WebKitDOMElement *
webkit_dom_element_query_selector (WebKitDOMElement *self,
                                   const gchar *selectors,
                                   GError **error);

Parameters

self

A WebKitDOMElement

 

selectors

A gchar

 

error

GError

 

Returns

A WebKitDOMElement.

[transfer none]


webkit_dom_element_query_selector_all ()

WebKitDOMNodeList *
webkit_dom_element_query_selector_all (WebKitDOMElement *self,
                                       const gchar *selectors,
                                       GError **error);

Parameters

self

A WebKitDOMElement

 

selectors

A gchar

 

error

GError

 

Returns

A WebKitDOMNodeList.

[transfer full]


webkit_dom_element_get_tag_name ()

gchar *
webkit_dom_element_get_tag_name (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A gchar


webkit_dom_element_get_attributes ()

WebKitDOMNamedNodeMap *
webkit_dom_element_get_attributes (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A WebKitDOMNamedNodeMap.

[transfer full]


webkit_dom_element_get_style ()

WebKitDOMCSSStyleDeclaration *
webkit_dom_element_get_style (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A WebKitDOMCSSStyleDeclaration.

[transfer full]


webkit_dom_element_get_id ()

gchar *
webkit_dom_element_get_id (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A gchar


webkit_dom_element_set_id ()

void
webkit_dom_element_set_id (WebKitDOMElement *self,
                           const gchar *value);

Parameters

self

A WebKitDOMElement

 

value

A gchar

 

webkit_dom_element_get_namespace_uri ()

gchar *
webkit_dom_element_get_namespace_uri (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A gchar

Since: 2.14


webkit_dom_element_get_prefix ()

gchar *
webkit_dom_element_get_prefix (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A gchar

Since: 2.14


webkit_dom_element_get_local_name ()

gchar *
webkit_dom_element_get_local_name (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A gchar

Since: 2.14


webkit_dom_element_get_offset_left ()

gdouble
webkit_dom_element_get_offset_left (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A gdouble


webkit_dom_element_get_offset_top ()

gdouble
webkit_dom_element_get_offset_top (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A gdouble


webkit_dom_element_get_offset_width ()

gdouble
webkit_dom_element_get_offset_width (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A gdouble


webkit_dom_element_get_offset_height ()

gdouble
webkit_dom_element_get_offset_height (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A gdouble


webkit_dom_element_get_client_left ()

gdouble
webkit_dom_element_get_client_left (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A gdouble


webkit_dom_element_get_client_top ()

gdouble
webkit_dom_element_get_client_top (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A gdouble


webkit_dom_element_get_client_width ()

gdouble
webkit_dom_element_get_client_width (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A gdouble


webkit_dom_element_get_client_height ()

gdouble
webkit_dom_element_get_client_height (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A gdouble


webkit_dom_element_get_scroll_left ()

glong
webkit_dom_element_get_scroll_left (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A glong


webkit_dom_element_set_scroll_left ()

void
webkit_dom_element_set_scroll_left (WebKitDOMElement *self,
                                    glong value);

Parameters

self

A WebKitDOMElement

 

value

A glong

 

webkit_dom_element_get_scroll_top ()

glong
webkit_dom_element_get_scroll_top (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A glong


webkit_dom_element_set_scroll_top ()

void
webkit_dom_element_set_scroll_top (WebKitDOMElement *self,
                                   glong value);

Parameters

self

A WebKitDOMElement

 

value

A glong

 

webkit_dom_element_get_scroll_width ()

glong
webkit_dom_element_get_scroll_width (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A glong


webkit_dom_element_get_scroll_height ()

glong
webkit_dom_element_get_scroll_height (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A glong


webkit_dom_element_get_bounding_client_rect ()

WebKitDOMClientRect *
webkit_dom_element_get_bounding_client_rect
                               (WebKitDOMElement *self);

Returns a WebKitDOMClientRect representing the size and position of self relative to the viewport.

Parameters

self

A WebKitDOMElement

 

Returns

A WebKitDOMClientRect.

[transfer full]

Since: 2.18


webkit_dom_element_get_client_rects ()

WebKitDOMClientRectList *
webkit_dom_element_get_client_rects (WebKitDOMElement *self);

Returns a collection of WebKitDOMClientRect objects, each of which describe the size and position of a CSS border box relative to the viewport.

Parameters

self

A WebKitDOMElement

 

Returns

A WebKitDOMClientRectList.

[transfer full]

Since: 2.18


webkit_dom_element_get_offset_parent ()

WebKitDOMElement *
webkit_dom_element_get_offset_parent (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A WebKitDOMElement.

[transfer none]


webkit_dom_element_get_inner_html ()

gchar *
webkit_dom_element_get_inner_html (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A gchar

Since: 2.8


webkit_dom_element_set_inner_html ()

void
webkit_dom_element_set_inner_html (WebKitDOMElement *self,
                                   const gchar *value,
                                   GError **error);

Parameters

self

A WebKitDOMElement

 

value

A gchar

 

error

GError

 

Since: 2.8


webkit_dom_element_get_outer_html ()

gchar *
webkit_dom_element_get_outer_html (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A gchar

Since: 2.8


webkit_dom_element_set_outer_html ()

void
webkit_dom_element_set_outer_html (WebKitDOMElement *self,
                                   const gchar *value,
                                   GError **error);

Parameters

self

A WebKitDOMElement

 

value

A gchar

 

error

GError

 

Since: 2.8


webkit_dom_element_get_class_name ()

gchar *
webkit_dom_element_get_class_name (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A gchar


webkit_dom_element_set_class_name ()

void
webkit_dom_element_set_class_name (WebKitDOMElement *self,
                                   const gchar *value);

Parameters

self

A WebKitDOMElement

 

value

A gchar

 

webkit_dom_element_get_previous_element_sibling ()

WebKitDOMElement *
webkit_dom_element_get_previous_element_sibling
                               (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A WebKitDOMElement.

[transfer none]


webkit_dom_element_get_next_element_sibling ()

WebKitDOMElement *
webkit_dom_element_get_next_element_sibling
                               (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A WebKitDOMElement.

[transfer none]


webkit_dom_element_get_children ()

WebKitDOMHTMLCollection *
webkit_dom_element_get_children (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A WebKitDOMHTMLCollection.

[transfer full]

Since: 2.10


webkit_dom_element_get_first_element_child ()

WebKitDOMElement *
webkit_dom_element_get_first_element_child
                               (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A WebKitDOMElement.

[transfer none]


webkit_dom_element_get_last_element_child ()

WebKitDOMElement *
webkit_dom_element_get_last_element_child
                               (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A WebKitDOMElement.

[transfer none]


webkit_dom_element_get_child_element_count ()

gulong
webkit_dom_element_get_child_element_count
                               (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A gulong


webkit_dom_element_get_elements_by_tag_name ()

WebKitDOMNodeList *
webkit_dom_element_get_elements_by_tag_name
                               (WebKitDOMElement *self,
                                const gchar *tag_name);

webkit_dom_element_get_elements_by_tag_name has been deprecated since version 2.12 and should not be used in newly-written code.

Use webkit_dom_element_get_elements_by_tag_name_as_html_collection() instead.

Parameters

self

A WebKitDOMElement

 

tag_name

a gchar with the tag name

 

Returns

a WebKitDOMNodeList.

[transfer full]


webkit_dom_element_get_elements_by_tag_name_ns ()

WebKitDOMNodeList *
webkit_dom_element_get_elements_by_tag_name_ns
                               (WebKitDOMElement *self,
                                const gchar *namespace_uri,
                                const gchar *tag_name);

webkit_dom_element_get_elements_by_tag_name_ns has been deprecated since version 2.12 and should not be used in newly-written code.

Use webkit_dom_element_get_elements_by_tag_name_ns_as_html_collection() instead.

Parameters

self

A WebKitDOMElement

 

namespace_uri

a gchar with the namespace URI

 

tag_name

a gchar with the tag name

 

Returns

a WebKitDOMNodeList.

[transfer full]


webkit_dom_element_get_elements_by_class_name ()

WebKitDOMNodeList *
webkit_dom_element_get_elements_by_class_name
                               (WebKitDOMElement *self,
                                const gchar *class_name);

webkit_dom_element_get_elements_by_class_name has been deprecated since version 2.12 and should not be used in newly-written code.

Use webkit_dom_element_get_elements_by_class_name_as_html_collection() instead.

Parameters

self

A WebKitDOMElement

 

class_name

a gchar with the tag name

 

Returns

a WebKitDOMNodeList.

[transfer full]


webkit_dom_element_matches ()

gboolean
webkit_dom_element_matches (WebKitDOMElement *self,
                            const gchar *selectors,
                            GError **error);

Parameters

self

A WebKitDOMElement

 

selectors

A gchar

 

error

GError

 

Returns

A gboolean

Since: 2.16


webkit_dom_element_closest ()

WebKitDOMElement *
webkit_dom_element_closest (WebKitDOMElement *self,
                            const gchar *selectors,
                            GError **error);

Parameters

self

A WebKitDOMElement

 

selectors

A gchar

 

error

GError

 

Returns

A WebKitDOMElement.

[transfer none]

Since: 2.16


webkit_dom_element_webkit_matches_selector ()

gboolean
webkit_dom_element_webkit_matches_selector
                               (WebKitDOMElement *self,
                                const gchar *selectors,
                                GError **error);

Parameters

self

A WebKitDOMElement

 

selectors

A gchar

 

error

GError

 

Returns

A gboolean

Since: 2.16


webkit_dom_element_webkit_request_fullscreen ()

void
webkit_dom_element_webkit_request_fullscreen
                               (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Since: 2.16


webkit_dom_element_insert_adjacent_element ()

WebKitDOMElement *
webkit_dom_element_insert_adjacent_element
                               (WebKitDOMElement *self,
                                const gchar *where,
                                WebKitDOMElement *element,
                                GError **error);

Parameters

self

A WebKitDOMElement

 

where

A gchar

 

element

A WebKitDOMElement

 

error

GError

 

Returns

A WebKitDOMElement.

[transfer none]

Since: 2.16


webkit_dom_element_insert_adjacent_html ()

void
webkit_dom_element_insert_adjacent_html
                               (WebKitDOMElement *self,
                                const gchar *where,
                                const gchar *html,
                                GError **error);

Parameters

self

A WebKitDOMElement

 

where

A gchar

 

html

A gchar

 

error

GError

 

Since: 2.16


webkit_dom_element_insert_adjacent_text ()

void
webkit_dom_element_insert_adjacent_text
                               (WebKitDOMElement *self,
                                const gchar *where,
                                const gchar *text,
                                GError **error);

Parameters

self

A WebKitDOMElement

 

where

A gchar

 

text

A gchar

 

error

GError

 

Since: 2.16


webkit_dom_element_request_pointer_lock ()

void
webkit_dom_element_request_pointer_lock
                               (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Since: 2.16


webkit_dom_element_remove ()

void
webkit_dom_element_remove (WebKitDOMElement *self,
                           GError **error);

Parameters

self

A WebKitDOMElement

 

error

GError

 

Since: 2.16


webkit_dom_element_get_class_list ()

WebKitDOMDOMTokenList *
webkit_dom_element_get_class_list (WebKitDOMElement *self);

Parameters

self

A WebKitDOMElement

 

Returns

A WebKitDOMDOMTokenList.

[transfer full]

Since: 2.16


webkit_dom_element_get_webkit_region_overset ()

gchar *
webkit_dom_element_get_webkit_region_overset
                               (WebKitDOMElement *self);

webkit_dom_element_get_webkit_region_overset has been deprecated since version 2.20 and should not be used in newly-written code.

CSS Regions support has been removed. This function does nothing.

Parameters

self

A WebKitDOMElement

 

Returns

NULL

Types and Values

struct WebKitDOMElement

struct WebKitDOMElement;

WEBKIT_DOM_ELEMENT_ALLOW_KEYBOARD_INPUT

#define WEBKIT_DOM_ELEMENT_ALLOW_KEYBOARD_INPUT 1

Property Details

The “attributes” property

  “attributes”               WebKitDOMNamedNodeMap *

read-only WebKitDOMNamedNodeMap* Element:attributes.

Flags: Read


The “child-element-count” property

  “child-element-count”      gulong

read-only gulong Element:child-element-count.

Flags: Read


The “children” property

  “children”                 WebKitDOMHTMLCollection *

read-only WebKitDOMHTMLCollection* Element:children.

Flags: Read


The “class-list” property

  “class-list”               WebKitDOMDOMTokenList *

read-only WebKitDOMDOMTokenList* Element:class-list.

Flags: Read


The “class-name” property

  “class-name”               gchar *

read-write gchar* Element:class-name.

Flags: Read / Write

Default value: ""


The “client-height” property

  “client-height”            gdouble

read-only gdouble Element:client-height.

Flags: Read

Default value: 0


The “client-left” property

  “client-left”              gdouble

read-only gdouble Element:client-left.

Flags: Read

Default value: 0


The “client-top” property

  “client-top”               gdouble

read-only gdouble Element:client-top.

Flags: Read

Default value: 0


The “client-width” property

  “client-width”             gdouble

read-only gdouble Element:client-width.

Flags: Read

Default value: 0


The “first-element-child” property

  “first-element-child”      WebKitDOMElement *

read-only WebKitDOMElement* Element:first-element-child.

Flags: Read


The “id” property

  “id”                       gchar *

read-write gchar* Element:id.

Flags: Read / Write

Default value: ""


The “inner-html” property

  “inner-html”               gchar *

read-write gchar* Element:inner-html.

Flags: Read / Write

Default value: ""


The “last-element-child” property

  “last-element-child”       WebKitDOMElement *

read-only WebKitDOMElement* Element:last-element-child.

Flags: Read


The “local-name” property

  “local-name”               gchar *

read-only gchar* Element:local-name.

Flags: Read

Default value: ""


The “namespace-uri” property

  “namespace-uri”            gchar *

read-only gchar* Element:namespace-uri.

Flags: Read

Default value: ""


The “next-element-sibling” property

  “next-element-sibling”     WebKitDOMElement *

read-only WebKitDOMElement* Element:next-element-sibling.

Flags: Read


The “offset-height” property

  “offset-height”            gdouble

read-only gdouble Element:offset-height.

Flags: Read

Default value: 0


The “offset-left” property

  “offset-left”              gdouble

read-only gdouble Element:offset-left.

Flags: Read

Default value: 0


The “offset-parent” property

  “offset-parent”            WebKitDOMElement *

read-only WebKitDOMElement* Element:offset-parent.

Flags: Read


The “offset-top” property

  “offset-top”               gdouble

read-only gdouble Element:offset-top.

Flags: Read

Default value: 0


The “offset-width” property

  “offset-width”             gdouble

read-only gdouble Element:offset-width.

Flags: Read

Default value: 0


The “outer-html” property

  “outer-html”               gchar *

read-write gchar* Element:outer-html.

Flags: Read / Write

Default value: ""


The “prefix” property

  “prefix”                   gchar *

read-only gchar* Element:prefix.

Flags: Read

Default value: ""


The “previous-element-sibling” property

  “previous-element-sibling” WebKitDOMElement *

read-only WebKitDOMElement* Element:previous-element-sibling.

Flags: Read


The “scroll-height” property

  “scroll-height”            glong

read-only glong Element:scroll-height.

Flags: Read

Default value: 0


The “scroll-left” property

  “scroll-left”              glong

read-write glong Element:scroll-left.

Flags: Read / Write

Default value: 0


The “scroll-top” property

  “scroll-top”               glong

read-write glong Element:scroll-top.

Flags: Read / Write

Default value: 0


The “scroll-width” property

  “scroll-width”             glong

read-only glong Element:scroll-width.

Flags: Read

Default value: 0


The “style” property

  “style”                    WebKitDOMCSSStyleDeclaration *

read-only WebKitDOMCSSStyleDeclaration* Element:style.

Flags: Read


The “tag-name” property

  “tag-name”                 gchar *

read-only gchar* Element:tag-name.

Flags: Read

Default value: ""


The “webkit-region-overset” property

  “webkit-region-overset”    gchar *

This property is always NULL.

WebKitDOMElement:webkit-region-overset has been deprecated since version 2.20 and should not be used in newly-written code.

Flags: Read

Default value: ""