WebKitDOMDocumentFragment

WebKitDOMDocumentFragment

Functions

Properties

Types and Values

Object Hierarchy

    GObject
    ╰── WebKitDOMObject
        ╰── WebKitDOMNode
            ╰── WebKitDOMDocumentFragment

Implemented Interfaces

WebKitDOMDocumentFragment implements WebKitDOMEventTarget.

Description

Functions

webkit_dom_document_fragment_get_element_by_id ()

WebKitDOMElement *
webkit_dom_document_fragment_get_element_by_id
                               (WebKitDOMDocumentFragment *self,
                                const gchar *elementId);

Parameters

self

A WebKitDOMDocumentFragment

 

elementId

A gchar

 

Returns

A WebKitDOMElement.

[transfer none]

Since: 2.16


webkit_dom_document_fragment_query_selector ()

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

Parameters

self

A WebKitDOMDocumentFragment

 

selectors

A gchar

 

error

GError

 

Returns

A WebKitDOMElement.

[transfer none]

Since: 2.16


webkit_dom_document_fragment_query_selector_all ()

WebKitDOMNodeList *
webkit_dom_document_fragment_query_selector_all
                               (WebKitDOMDocumentFragment *self,
                                const gchar *selectors,
                                GError **error);

Parameters

self

A WebKitDOMDocumentFragment

 

selectors

A gchar

 

error

GError

 

Returns

A WebKitDOMNodeList.

[transfer full]

Since: 2.16


webkit_dom_document_fragment_get_children ()

WebKitDOMHTMLCollection *
webkit_dom_document_fragment_get_children
                               (WebKitDOMDocumentFragment *self);

Parameters

Returns

A WebKitDOMHTMLCollection.

[transfer full]

Since: 2.16


webkit_dom_document_fragment_get_first_element_child ()

WebKitDOMElement *
webkit_dom_document_fragment_get_first_element_child
                               (WebKitDOMDocumentFragment *self);

Parameters

Returns

A WebKitDOMElement.

[transfer none]

Since: 2.16


webkit_dom_document_fragment_get_last_element_child ()

WebKitDOMElement *
webkit_dom_document_fragment_get_last_element_child
                               (WebKitDOMDocumentFragment *self);

Parameters

Returns

A WebKitDOMElement.

[transfer none]

Since: 2.16


webkit_dom_document_fragment_get_child_element_count ()

gulong
webkit_dom_document_fragment_get_child_element_count
                               (WebKitDOMDocumentFragment *self);

Parameters

Returns

A gulong

Since: 2.16

Types and Values

struct WebKitDOMDocumentFragment

struct WebKitDOMDocumentFragment;

Property Details

The “child-element-count” property

  “child-element-count”      gulong

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

Flags: Read


The “children” property

  “children”                 WebKitDOMHTMLCollection *

read-only WebKitDOMHTMLCollection* DocumentFragment:children.

Flags: Read


The “first-element-child” property

  “first-element-child”      WebKitDOMElement *

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

Flags: Read


The “last-element-child” property

  “last-element-child”       WebKitDOMElement *

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

Flags: Read