WebKitDOMGTK+ Reference Manual: WebKitDOMDocument

## WebKitDOMDocument WebKitDOMDocument |

## Synopsis

                        WebKitDOMDocument;
    WebKitDOMElement *  webkit_dom_document_create_element  (WebKitDOMDocument *self,
                                                             const gchar *tagName,
                                                             GError **error);
    WebKitDOMDocumentFragment * webkit_dom_document_create_document_fragment
                                                            (WebKitDOMDocument *self);
    WebKitDOMText *     webkit_dom_document_create_text_node
                                                            (WebKitDOMDocument *self,
                                                             const gchar *data);
    WebKitDOMComment *  webkit_dom_document_create_comment  (WebKitDOMDocument *self,
                                                             const gchar *data);
    WebKitDOMCDATASection * webkit_dom_document_create_cdata_section
                                                            (WebKitDOMDocument *self,
                                                             const gchar *data,
                                                             GError **error);
    WebKitDOMProcessingInstruction * webkit_dom_document_create_processing_instruction
                                                            (WebKitDOMDocument *self,
                                                             const gchar *target,
                                                             const gchar *data,
                                                             GError **error);
    WebKitDOMAttr *     webkit_dom_document_create_attribute
                                                            (WebKitDOMDocument *self,
                                                             const gchar *name,
                                                             GError **error);
    WebKitDOMEntityReference * webkit_dom_document_create_entity_reference
                                                            (WebKitDOMDocument *self,
                                                             const gchar *name,
                                                             GError **error);
    WebKitDOMNodeList * webkit_dom_document_get_elements_by_tag_name
                                                            (WebKitDOMDocument *self,
                                                             const gchar *tagname);
    WebKitDOMNode *     webkit_dom_document_import_node     (WebKitDOMDocument *self,
                                                             WebKitDOMNode *importedNode,
                                                             gboolean deep,
                                                             GError **error);
    WebKitDOMElement *  webkit_dom_document_create_element_ns
                                                            (WebKitDOMDocument *self,
                                                             const gchar *namespaceURI,
                                                             const gchar *qualifiedName,
                                                             GError **error);
    WebKitDOMAttr *     webkit_dom_document_create_attribute_ns
                                                            (WebKitDOMDocument *self,
                                                             const gchar *namespaceURI,
                                                             const gchar *qualifiedName,
                                                             GError **error);
    WebKitDOMNodeList * webkit_dom_document_get_elements_by_tag_name_ns
                                                            (WebKitDOMDocument *self,
                                                             const gchar *namespaceURI,
                                                             const gchar *localName);
    WebKitDOMElement *  webkit_dom_document_get_element_by_id
                                                            (WebKitDOMDocument *self,
                                                             const gchar *elementId);
    WebKitDOMNode *     webkit_dom_document_adopt_node      (WebKitDOMDocument *self,
                                                             WebKitDOMNode *source,
                                                             GError **error);
    WebKitDOMEvent *    webkit_dom_document_create_event    (WebKitDOMDocument *self,
                                                             const gchar *eventType,
                                                             GError **error);
    WebKitDOMRange *    webkit_dom_document_create_range    (WebKitDOMDocument *self);
    WebKitDOMNodeIterator * webkit_dom_document_create_node_iterator
                                                            (WebKitDOMDocument *self,
                                                             WebKitDOMNode *root,
                                                             gulong whatToShow,
                                                             WebKitDOMNodeFilter *filter,
                                                             gboolean expandEntityReferences,
                                                             GError **error);
    WebKitDOMTreeWalker * webkit_dom_document_create_tree_walker
                                                            (WebKitDOMDocument *self,
                                                             WebKitDOMNode *root,
                                                             gulong whatToShow,
                                                             WebKitDOMNodeFilter *filter,
                                                             gboolean expandEntityReferences,
                                                             GError **error);
    WebKitDOMCSSStyleDeclaration * webkit_dom_document_get_override_style
                                                            (WebKitDOMDocument *self,
                                                             WebKitDOMElement *element,
                                                             const gchar *pseudoElement);
    WebKitDOMXPathExpression * webkit_dom_document_create_expression
                                                            (WebKitDOMDocument *self,
                                                             const gchar *expression,
                                                             WebKitDOMXPathNSResolver *resolver,
                                                             GError **error);
    WebKitDOMXPathNSResolver * webkit_dom_document_create_ns_resolver
                                                            (WebKitDOMDocument *self,
                                                             WebKitDOMNode *nodeResolver);
    WebKitDOMXPathResult * webkit_dom_document_evaluate     (WebKitDOMDocument *self,
                                                             const gchar *expression,
                                                             WebKitDOMNode *contextNode,
                                                             WebKitDOMXPathNSResolver *resolver,
                                                             gushort type,
                                                             WebKitDOMXPathResult *inResult,
                                                             GError **error);
    gboolean            webkit_dom_document_exec_command    (WebKitDOMDocument *self,
                                                             const gchar *command,
                                                             gboolean userInterface,
                                                             const gchar *value);
    gboolean            webkit_dom_document_query_command_enabled
                                                            (WebKitDOMDocument *self,
                                                             const gchar *command);
    gboolean            webkit_dom_document_query_command_indeterm
                                                            (WebKitDOMDocument *self,
                                                             const gchar *command);
    gboolean            webkit_dom_document_query_command_state
                                                            (WebKitDOMDocument *self,
                                                             const gchar *command);
    gboolean            webkit_dom_document_query_command_supported
                                                            (WebKitDOMDocument *self,
                                                             const gchar *command);
    gchar *             webkit_dom_document_query_command_value
                                                            (WebKitDOMDocument *self,
                                                             const gchar *command);
    WebKitDOMNodeList * webkit_dom_document_get_elements_by_name
                                                            (WebKitDOMDocument *self,
                                                             const gchar *elementName);
    WebKitDOMElement *  webkit_dom_document_element_from_point
                                                            (WebKitDOMDocument *self,
                                                             glong x,
                                                             glong y);
    WebKitDOMRange *    webkit_dom_document_caret_range_from_point
                                                            (WebKitDOMDocument *self,
                                                             glong x,
                                                             glong y);
    WebKitDOMCSSStyleDeclaration * webkit_dom_document_create_css_style_declaration
                                                            (WebKitDOMDocument *self);
    WebKitDOMNodeList * webkit_dom_document_get_elements_by_class_name
                                                            (WebKitDOMDocument *self,
                                                             const gchar *tagname);
    WebKitDOMElement *  webkit_dom_document_query_selector  (WebKitDOMDocument *self,
                                                             const gchar *selectors,
                                                             GError **error);
    WebKitDOMNodeList * webkit_dom_document_query_selector_all
                                                            (WebKitDOMDocument *self,
                                                             const gchar *selectors,
                                                             GError **error);
    void                webkit_dom_document_webkit_cancel_full_screen
                                                            (WebKitDOMDocument *self);
    void                webkit_dom_document_webkit_exit_fullscreen
                                                            (WebKitDOMDocument *self);
    void                webkit_dom_document_webkit_exit_pointer_lock
                                                            (WebKitDOMDocument *self);
    WebKitDOMDOMNamedFlowCollection * webkit_dom_document_webkit_get_named_flows
                                                            (WebKitDOMDocument *self);
    WebKitDOMDocumentType * webkit_dom_document_get_doctype (WebKitDOMDocument *self);
    WebKitDOMDOMImplementation * webkit_dom_document_get_implementation
                                                            (WebKitDOMDocument *self);
    WebKitDOMElement *  webkit_dom_document_get_document_element
                                                            (WebKitDOMDocument *self);
    gchar *             webkit_dom_document_get_input_encoding
                                                            (WebKitDOMDocument *self);
    gchar *             webkit_dom_document_get_xml_encoding
                                                            (WebKitDOMDocument *self);
    gchar *             webkit_dom_document_get_xml_version (WebKitDOMDocument *self);
    void                webkit_dom_document_set_xml_version (WebKitDOMDocument *self,
                                                             const gchar *value,
                                                             GError **error);
    gboolean            webkit_dom_document_get_xml_standalone
                                                            (WebKitDOMDocument *self);
    void                webkit_dom_document_set_xml_standalone
                                                            (WebKitDOMDocument *self,
                                                             gboolean value,
                                                             GError **error);
    gchar *             webkit_dom_document_get_document_uri
                                                            (WebKitDOMDocument *self);
    void                webkit_dom_document_set_document_uri
                                                            (WebKitDOMDocument *self,
                                                             const gchar *value);
    WebKitDOMDOMWindow * webkit_dom_document_get_default_view
                                                            (WebKitDOMDocument *self);
    WebKitDOMStyleSheetList * webkit_dom_document_get_style_sheets
                                                            (WebKitDOMDocument *self);
    gchar *             webkit_dom_document_get_title       (WebKitDOMDocument *self);
    void                webkit_dom_document_set_title       (WebKitDOMDocument *self,
                                                             const gchar *value);
    gchar *             webkit_dom_document_get_referrer    (WebKitDOMDocument *self);
    gchar *             webkit_dom_document_get_domain      (WebKitDOMDocument *self);
    gchar *             webkit_dom_document_get_url         (WebKitDOMDocument *self);
    gchar *             webkit_dom_document_get_cookie      (WebKitDOMDocument *self,
                                                             GError **error);
    void                webkit_dom_document_set_cookie      (WebKitDOMDocument *self,
                                                             const gchar *value,
                                                             GError **error);
    WebKitDOMHTMLElement * webkit_dom_document_get_body     (WebKitDOMDocument *self);
    void                webkit_dom_document_set_body        (WebKitDOMDocument *self,
                                                             WebKitDOMHTMLElement *value,
                                                             GError **error);
    WebKitDOMHTMLHeadElement * webkit_dom_document_get_head (WebKitDOMDocument *self);
    WebKitDOMHTMLCollection * webkit_dom_document_get_images
                                                            (WebKitDOMDocument *self);
    WebKitDOMHTMLCollection * webkit_dom_document_get_applets
                                                            (WebKitDOMDocument *self);
    WebKitDOMHTMLCollection * webkit_dom_document_get_links (WebKitDOMDocument *self);
    WebKitDOMHTMLCollection * webkit_dom_document_get_forms (WebKitDOMDocument *self);
    WebKitDOMHTMLCollection * webkit_dom_document_get_anchors
                                                            (WebKitDOMDocument *self);
    gchar *             webkit_dom_document_get_last_modified
                                                            (WebKitDOMDocument *self);
    gchar *             webkit_dom_document_get_charset     (WebKitDOMDocument *self);
    void                webkit_dom_document_set_charset     (WebKitDOMDocument *self,
                                                             const gchar *value);
    gchar *             webkit_dom_document_get_default_charset
                                                            (WebKitDOMDocument *self);
    gchar *             webkit_dom_document_get_ready_state (WebKitDOMDocument *self);
    gchar *             webkit_dom_document_get_character_set
                                                            (WebKitDOMDocument *self);
    gchar *             webkit_dom_document_get_preferred_stylesheet_set
                                                            (WebKitDOMDocument *self);
    gchar *             webkit_dom_document_get_selected_stylesheet_set
                                                            (WebKitDOMDocument *self);
    void                webkit_dom_document_set_selected_stylesheet_set
                                                            (WebKitDOMDocument *self,
                                                             const gchar *value);
    gchar *             webkit_dom_document_get_compat_mode (WebKitDOMDocument *self);
    gboolean            webkit_dom_document_get_webkit_is_full_screen
                                                            (WebKitDOMDocument *self);
    gboolean            webkit_dom_document_get_webkit_full_screen_keyboard_input_allowed
                                                            (WebKitDOMDocument *self);
    WebKitDOMElement *  webkit_dom_document_get_webkit_current_full_screen_element
                                                            (WebKitDOMDocument *self);
    gboolean            webkit_dom_document_get_webkit_fullscreen_enabled
                                                            (WebKitDOMDocument *self);
    WebKitDOMElement *  webkit_dom_document_get_webkit_fullscreen_element
                                                            (WebKitDOMDocument *self);
    WebKitDOMElement *  webkit_dom_document_get_webkit_pointer_lock_element
                                                            (WebKitDOMDocument *self);
    gchar *             webkit_dom_document_get_visibility_state
                                                            (WebKitDOMDocument *self);
    gboolean            webkit_dom_document_get_hidden      (WebKitDOMDocument *self);
    WebKitDOMDOMSecurityPolicy * webkit_dom_document_get_security_policy
                                                            (WebKitDOMDocument *self);
    WebKitDOMHTMLScriptElement * webkit_dom_document_get_current_script
                                                            (WebKitDOMDocument *self);
    gboolean            webkit_dom_document_get_webkit_hidden
                                                            (WebKitDOMDocument *self);
    gchar *             webkit_dom_document_get_webkit_visibility_state
                                                            (WebKitDOMDocument *self);

## Object Hierarchy

      GObject
       +----WebKitDOMObject
             +----WebKitDOMNode
                   +----WebKitDOMDocument
                         +----WebKitDOMHTMLDocument

## Implemented Interfaces

WebKitDOMDocument implements WebKitDOMEventTarget.

## Properties

      "anchors"                  WebKitDOMHTMLCollection*  : Read
      "applets"                  WebKitDOMHTMLCollection*  : Read
      "body"                     WebKitDOMHTMLElement*  : Read / Write
      "character-set"            gchar*                : Read
      "charset"                  gchar*                : Read / Write
      "compat-mode"              gchar*                : Read
      "cookie"                   gchar*                : Read / Write
      "current-script"           WebKitDOMHTMLScriptElement*  : Read
      "default-charset"          gchar*                : Read
      "default-view"             WebKitDOMDOMWindow*   : Read
      "doctype"                  WebKitDOMDocumentType*  : Read
      "document-element"         WebKitDOMElement*     : Read
      "document-uri"             gchar*                : Read / Write
      "domain"                   gchar*                : Read
      "forms"                    WebKitDOMHTMLCollection*  : Read
      "head"                     WebKitDOMHTMLHeadElement*  : Read
      "hidden"                   gboolean              : Read
      "images"                   WebKitDOMHTMLCollection*  : Read
      "implementation"           WebKitDOMDOMImplementation*  : Read
      "input-encoding"           gchar*                : Read
      "last-modified"            gchar*                : Read
      "links"                    WebKitDOMHTMLCollection*  : Read
      "preferred-stylesheet-set" gchar*                : Read
      "ready-state"              gchar*                : Read
      "referrer"                 gchar*                : Read
      "security-policy"          WebKitDOMDOMSecurityPolicy*  : Read
      "selected-stylesheet-set"  gchar*                : Read / Write
      "style-sheets"             WebKitDOMStyleSheetList*  : Read
      "title"                    gchar*                : Read / Write
      "url"                      gchar*                : Read
      "visibility-state"         gchar*                : Read
      "webkit-current-full-screen-element" WebKitDOMElement*     : Read
      "webkit-full-screen-keyboard-input-allowed" gboolean              : Read
      "webkit-fullscreen-element" WebKitDOMElement*     : Read
      "webkit-fullscreen-enabled" gboolean              : Read
      "webkit-is-full-screen"    gboolean              : Read
      "webkit-pointer-lock-element" WebKitDOMElement*     : Read
      "xml-encoding"             gchar*                : Read
      "xml-standalone"           gboolean              : Read / Write
      "xml-version"              gchar*                : Read / Write

## Description

## Details

### WebKitDOMDocument

    typedef struct _WebKitDOMDocument WebKitDOMDocument;

### webkit_dom_document_create_element ()

    WebKitDOMElement *  webkit_dom_document_create_element  (WebKitDOMDocument *self,
                                                             const gchar *tagName,
                                                             GError **error);

`self` : | A WebKitDOMDocument
`tagName` : | A gchar
`error` : | GError
Returns : | A WebKitDOMElement. [transfer none]

### webkit_dom_document_create_document_fragment ()

    WebKitDOMDocumentFragment * webkit_dom_document_create_document_fragment
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A WebKitDOMDocumentFragment. [transfer none]

### webkit_dom_document_create_text_node ()

    WebKitDOMText *     webkit_dom_document_create_text_node
                                                            (WebKitDOMDocument *self,
                                                             const gchar *data);

`self` : | A WebKitDOMDocument
`data` : | A gchar
Returns : | A WebKitDOMText. [transfer none]

### webkit_dom_document_create_comment ()

    WebKitDOMComment *  webkit_dom_document_create_comment  (WebKitDOMDocument *self,
                                                             const gchar *data);

`self` : | A WebKitDOMDocument
`data` : | A gchar
Returns : | A WebKitDOMComment. [transfer none]

### webkit_dom_document_create_cdata_section ()

    WebKitDOMCDATASection * webkit_dom_document_create_cdata_section
                                                            (WebKitDOMDocument *self,
                                                             const gchar *data,
                                                             GError **error);

`self` : | A WebKitDOMDocument
`data` : | A gchar
`error` : | GError
Returns : | A WebKitDOMCDATASection. [transfer none]

### webkit_dom_document_create_processing_instruction ()

    WebKitDOMProcessingInstruction * webkit_dom_document_create_processing_instruction
                                                            (WebKitDOMDocument *self,
                                                             const gchar *target,
                                                             const gchar *data,
                                                             GError **error);

`self` : | A WebKitDOMDocument
`target` : | A gchar
`data` : | A gchar
`error` : | GError
Returns : | A WebKitDOMProcessingInstruction. [transfer none]

### webkit_dom_document_create_attribute ()

    WebKitDOMAttr *     webkit_dom_document_create_attribute
                                                            (WebKitDOMDocument *self,
                                                             const gchar *name,
                                                             GError **error);

`self` : | A WebKitDOMDocument
`name` : | A gchar
`error` : | GError
Returns : | A WebKitDOMAttr. [transfer none]

### webkit_dom_document_create_entity_reference ()

    WebKitDOMEntityReference * webkit_dom_document_create_entity_reference
                                                            (WebKitDOMDocument *self,
                                                             const gchar *name,
                                                             GError **error);

`self` : | A WebKitDOMDocument
`name` : | A gchar
`error` : | GError
Returns : | A WebKitDOMEntityReference. [transfer none]

### webkit_dom_document_get_elements_by_tag_name ()

    WebKitDOMNodeList * webkit_dom_document_get_elements_by_tag_name
                                                            (WebKitDOMDocument *self,
                                                             const gchar *tagname);

`self` : | A WebKitDOMDocument
`tagname` : | A gchar
Returns : | A WebKitDOMNodeList. [transfer none]

### webkit_dom_document_import_node ()

    WebKitDOMNode *     webkit_dom_document_import_node     (WebKitDOMDocument *self,
                                                             WebKitDOMNode *importedNode,
                                                             gboolean deep,
                                                             GError **error);

`self` : | A WebKitDOMDocument
`importedNode` : | A WebKitDOMNode
`deep` : | A gboolean
`error` : | GError
Returns : | A WebKitDOMNode. [transfer none]

### webkit_dom_document_create_element_ns ()

    WebKitDOMElement *  webkit_dom_document_create_element_ns
                                                            (WebKitDOMDocument *self,
                                                             const gchar *namespaceURI,
                                                             const gchar *qualifiedName,
                                                             GError **error);

`self` : | A WebKitDOMDocument
`namespaceURI` : | A gchar
`qualifiedName` : | A gchar
`error` : | GError
Returns : | A WebKitDOMElement. [transfer none]

### webkit_dom_document_create_attribute_ns ()

    WebKitDOMAttr *     webkit_dom_document_create_attribute_ns
                                                            (WebKitDOMDocument *self,
                                                             const gchar *namespaceURI,
                                                             const gchar *qualifiedName,
                                                             GError **error);

`self` : | A WebKitDOMDocument
`namespaceURI` : | A gchar
`qualifiedName` : | A gchar
`error` : | GError
Returns : | A WebKitDOMAttr. [transfer none]

### webkit_dom_document_get_elements_by_tag_name_ns ()

    WebKitDOMNodeList * webkit_dom_document_get_elements_by_tag_name_ns
                                                            (WebKitDOMDocument *self,
                                                             const gchar *namespaceURI,
                                                             const gchar *localName);

`self` : | A WebKitDOMDocument
`namespaceURI` : | A gchar
`localName` : | A gchar
Returns : | A WebKitDOMNodeList. [transfer none]

### webkit_dom_document_get_element_by_id ()

    WebKitDOMElement *  webkit_dom_document_get_element_by_id
                                                            (WebKitDOMDocument *self,
                                                             const gchar *elementId);

`self` : | A WebKitDOMDocument
`elementId` : | A gchar
Returns : | A WebKitDOMElement. [transfer none]

### webkit_dom_document_adopt_node ()

    WebKitDOMNode *     webkit_dom_document_adopt_node      (WebKitDOMDocument *self,
                                                             WebKitDOMNode *source,
                                                             GError **error);

`self` : | A WebKitDOMDocument
`source` : | A WebKitDOMNode
`error` : | GError
Returns : | A WebKitDOMNode. [transfer none]

### webkit_dom_document_create_event ()

    WebKitDOMEvent *    webkit_dom_document_create_event    (WebKitDOMDocument *self,
                                                             const gchar *eventType,
                                                             GError **error);

`self` : | A WebKitDOMDocument
`eventType` : | A gchar
`error` : | GError
Returns : | A WebKitDOMEvent. [transfer none]

### webkit_dom_document_create_range ()

    WebKitDOMRange *    webkit_dom_document_create_range    (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A WebKitDOMRange. [transfer none]

### webkit_dom_document_create_node_iterator ()

    WebKitDOMNodeIterator * webkit_dom_document_create_node_iterator
                                                            (WebKitDOMDocument *self,
                                                             WebKitDOMNode *root,
                                                             gulong whatToShow,
                                                             WebKitDOMNodeFilter *filter,
                                                             gboolean expandEntityReferences,
                                                             GError **error);

`self` : | A WebKitDOMDocument
`root` : | A WebKitDOMNode
`whatToShow` : | A gulong
`filter` : | A WebKitDOMNodeFilter
`expandEntityReferences` : | A gboolean
`error` : | GError
Returns : | A WebKitDOMNodeIterator. [transfer none]

### webkit_dom_document_create_tree_walker ()

    WebKitDOMTreeWalker * webkit_dom_document_create_tree_walker
                                                            (WebKitDOMDocument *self,
                                                             WebKitDOMNode *root,
                                                             gulong whatToShow,
                                                             WebKitDOMNodeFilter *filter,
                                                             gboolean expandEntityReferences,
                                                             GError **error);

`self` : | A WebKitDOMDocument
`root` : | A WebKitDOMNode
`whatToShow` : | A gulong
`filter` : | A WebKitDOMNodeFilter
`expandEntityReferences` : | A gboolean
`error` : | GError
Returns : | A WebKitDOMTreeWalker. [transfer none]

### webkit_dom_document_get_override_style ()

    WebKitDOMCSSStyleDeclaration * webkit_dom_document_get_override_style
                                                            (WebKitDOMDocument *self,
                                                             WebKitDOMElement *element,
                                                             const gchar *pseudoElement);

`self` : | A WebKitDOMDocument
`element` : | A WebKitDOMElement
`pseudoElement` : | A gchar
Returns : | A WebKitDOMCSSStyleDeclaration. [transfer none]

### webkit_dom_document_create_expression ()

    WebKitDOMXPathExpression * webkit_dom_document_create_expression
                                                            (WebKitDOMDocument *self,
                                                             const gchar *expression,
                                                             WebKitDOMXPathNSResolver *resolver,
                                                             GError **error);

`self` : | A WebKitDOMDocument
`expression` : | A gchar
`resolver` : | A WebKitDOMXPathNSResolver
`error` : | GError
Returns : | A WebKitDOMXPathExpression. [transfer none]

### webkit_dom_document_create_ns_resolver ()

    WebKitDOMXPathNSResolver * webkit_dom_document_create_ns_resolver
                                                            (WebKitDOMDocument *self,
                                                             WebKitDOMNode *nodeResolver);

`self` : | A WebKitDOMDocument
`nodeResolver` : | A WebKitDOMNode
Returns : | A WebKitDOMXPathNSResolver. [transfer none]

### webkit_dom_document_evaluate ()

    WebKitDOMXPathResult * webkit_dom_document_evaluate     (WebKitDOMDocument *self,
                                                             const gchar *expression,
                                                             WebKitDOMNode *contextNode,
                                                             WebKitDOMXPathNSResolver *resolver,
                                                             gushort type,
                                                             WebKitDOMXPathResult *inResult,
                                                             GError **error);

`self` : | A WebKitDOMDocument
`expression` : | A gchar
`contextNode` : | A WebKitDOMNode
`resolver` : | A WebKitDOMXPathNSResolver. [allow-none]
`type` : | A gushort
`inResult` : | A WebKitDOMXPathResult. [allow-none]
`error` : | GError
Returns : | A WebKitDOMXPathResult. [transfer none]

### webkit_dom_document_exec_command ()

    gboolean            webkit_dom_document_exec_command    (WebKitDOMDocument *self,
                                                             const gchar *command,
                                                             gboolean userInterface,
                                                             const gchar *value);

`self` : | A WebKitDOMDocument
`command` : | A gchar
`userInterface` : | A gboolean
`value` : | A gchar
Returns : | A gboolean

### webkit_dom_document_query_command_enabled ()

    gboolean            webkit_dom_document_query_command_enabled
                                                            (WebKitDOMDocument *self,
                                                             const gchar *command);

`self` : | A WebKitDOMDocument
`command` : | A gchar
Returns : | A gboolean

### webkit_dom_document_query_command_indeterm ()

    gboolean            webkit_dom_document_query_command_indeterm
                                                            (WebKitDOMDocument *self,
                                                             const gchar *command);

`self` : | A WebKitDOMDocument
`command` : | A gchar
Returns : | A gboolean

### webkit_dom_document_query_command_state ()

    gboolean            webkit_dom_document_query_command_state
                                                            (WebKitDOMDocument *self,
                                                             const gchar *command);

`self` : | A WebKitDOMDocument
`command` : | A gchar
Returns : | A gboolean

### webkit_dom_document_query_command_supported ()

    gboolean            webkit_dom_document_query_command_supported
                                                            (WebKitDOMDocument *self,
                                                             const gchar *command);

`self` : | A WebKitDOMDocument
`command` : | A gchar
Returns : | A gboolean

### webkit_dom_document_query_command_value ()

    gchar *             webkit_dom_document_query_command_value
                                                            (WebKitDOMDocument *self,
                                                             const gchar *command);

`self` : | A WebKitDOMDocument
`command` : | A gchar
Returns : | A gchar

### webkit_dom_document_get_elements_by_name ()

    WebKitDOMNodeList * webkit_dom_document_get_elements_by_name
                                                            (WebKitDOMDocument *self,
                                                             const gchar *elementName);

`self` : | A WebKitDOMDocument
`elementName` : | A gchar
Returns : | A WebKitDOMNodeList. [transfer none]

### webkit_dom_document_element_from_point ()

    WebKitDOMElement *  webkit_dom_document_element_from_point
                                                            (WebKitDOMDocument *self,
                                                             glong x,
                                                             glong y);

`self` : | A WebKitDOMDocument
`x` : | A glong
`y` : | A glong
Returns : | A WebKitDOMElement. [transfer none]

### webkit_dom_document_caret_range_from_point ()

    WebKitDOMRange *    webkit_dom_document_caret_range_from_point
                                                            (WebKitDOMDocument *self,
                                                             glong x,
                                                             glong y);

`self` : | A WebKitDOMDocument
`x` : | A glong
`y` : | A glong
Returns : | A WebKitDOMRange. [transfer none]

### webkit_dom_document_create_css_style_declaration ()

    WebKitDOMCSSStyleDeclaration * webkit_dom_document_create_css_style_declaration
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A WebKitDOMCSSStyleDeclaration. [transfer none]

### webkit_dom_document_get_elements_by_class_name ()

    WebKitDOMNodeList * webkit_dom_document_get_elements_by_class_name
                                                            (WebKitDOMDocument *self,
                                                             const gchar *tagname);

`self` : | A WebKitDOMDocument
`tagname` : | A gchar
Returns : | A WebKitDOMNodeList. [transfer none]

### webkit_dom_document_query_selector ()

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

`self` : | A WebKitDOMDocument
`selectors` : | A gchar
`error` : | GError
Returns : | A WebKitDOMElement. [transfer none]

### webkit_dom_document_query_selector_all ()

    WebKitDOMNodeList * webkit_dom_document_query_selector_all
                                                            (WebKitDOMDocument *self,
                                                             const gchar *selectors,
                                                             GError **error);

`self` : | A WebKitDOMDocument
`selectors` : | A gchar
`error` : | GError
Returns : | A WebKitDOMNodeList. [transfer none]

### webkit_dom_document_webkit_cancel_full_screen ()

    void                webkit_dom_document_webkit_cancel_full_screen
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument

### webkit_dom_document_webkit_exit_fullscreen ()

    void                webkit_dom_document_webkit_exit_fullscreen
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument

### webkit_dom_document_webkit_exit_pointer_lock ()

    void                webkit_dom_document_webkit_exit_pointer_lock
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument

### webkit_dom_document_webkit_get_named_flows ()

    WebKitDOMDOMNamedFlowCollection * webkit_dom_document_webkit_get_named_flows
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A WebKitDOMDOMNamedFlowCollection. [transfer none]

### webkit_dom_document_get_doctype ()

    WebKitDOMDocumentType * webkit_dom_document_get_doctype (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A WebKitDOMDocumentType. [transfer none]

### webkit_dom_document_get_implementation ()

    WebKitDOMDOMImplementation * webkit_dom_document_get_implementation
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A WebKitDOMDOMImplementation. [transfer none]

### webkit_dom_document_get_document_element ()

    WebKitDOMElement *  webkit_dom_document_get_document_element
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A WebKitDOMElement. [transfer none]

### webkit_dom_document_get_input_encoding ()

    gchar *             webkit_dom_document_get_input_encoding
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A gchar

### webkit_dom_document_get_xml_encoding ()

    gchar *             webkit_dom_document_get_xml_encoding
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A gchar

### webkit_dom_document_get_xml_version ()

    gchar *             webkit_dom_document_get_xml_version (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A gchar

### webkit_dom_document_set_xml_version ()

    void                webkit_dom_document_set_xml_version (WebKitDOMDocument *self,
                                                             const gchar *value,
                                                             GError **error);

`self` : | A WebKitDOMDocument
`value` : | A gchar
`error` : | GError

### webkit_dom_document_get_xml_standalone ()

    gboolean            webkit_dom_document_get_xml_standalone
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A gboolean

### webkit_dom_document_set_xml_standalone ()

    void                webkit_dom_document_set_xml_standalone
                                                            (WebKitDOMDocument *self,
                                                             gboolean value,
                                                             GError **error);

`self` : | A WebKitDOMDocument
`value` : | A gboolean
`error` : | GError

### webkit_dom_document_get_document_uri ()

    gchar *             webkit_dom_document_get_document_uri
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A gchar

### webkit_dom_document_set_document_uri ()

    void                webkit_dom_document_set_document_uri
                                                            (WebKitDOMDocument *self,
                                                             const gchar *value);

`self` : | A WebKitDOMDocument
`value` : | A gchar

### webkit_dom_document_get_default_view ()

    WebKitDOMDOMWindow * webkit_dom_document_get_default_view
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A WebKitDOMDOMWindow. [transfer none]

### webkit_dom_document_get_style_sheets ()

    WebKitDOMStyleSheetList * webkit_dom_document_get_style_sheets
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A WebKitDOMStyleSheetList. [transfer none]

### webkit_dom_document_get_title ()

    gchar *             webkit_dom_document_get_title       (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A gchar

### webkit_dom_document_set_title ()

    void                webkit_dom_document_set_title       (WebKitDOMDocument *self,
                                                             const gchar *value);

`self` : | A WebKitDOMDocument
`value` : | A gchar

### webkit_dom_document_get_referrer ()

    gchar *             webkit_dom_document_get_referrer    (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A gchar

### webkit_dom_document_get_domain ()

    gchar *             webkit_dom_document_get_domain      (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A gchar

### webkit_dom_document_get_url ()

    gchar *             webkit_dom_document_get_url         (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A gchar

### webkit_dom_document_get_cookie ()

    gchar *             webkit_dom_document_get_cookie      (WebKitDOMDocument *self,
                                                             GError **error);

`self` : | A WebKitDOMDocument
`error` : | GError
Returns : | A gchar

### webkit_dom_document_set_cookie ()

    void                webkit_dom_document_set_cookie      (WebKitDOMDocument *self,
                                                             const gchar *value,
                                                             GError **error);

`self` : | A WebKitDOMDocument
`value` : | A gchar
`error` : | GError

### webkit_dom_document_get_body ()

    WebKitDOMHTMLElement * webkit_dom_document_get_body     (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A WebKitDOMHTMLElement. [transfer none]

### webkit_dom_document_set_body ()

    void                webkit_dom_document_set_body        (WebKitDOMDocument *self,
                                                             WebKitDOMHTMLElement *value,
                                                             GError **error);

`self` : | A WebKitDOMDocument
`value` : | A WebKitDOMHTMLElement
`error` : | GError

### webkit_dom_document_get_head ()

    WebKitDOMHTMLHeadElement * webkit_dom_document_get_head (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A WebKitDOMHTMLHeadElement. [transfer none]

### webkit_dom_document_get_images ()

    WebKitDOMHTMLCollection * webkit_dom_document_get_images
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A WebKitDOMHTMLCollection. [transfer none]

### webkit_dom_document_get_applets ()

    WebKitDOMHTMLCollection * webkit_dom_document_get_applets
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A WebKitDOMHTMLCollection. [transfer none]

### webkit_dom_document_get_links ()

    WebKitDOMHTMLCollection * webkit_dom_document_get_links (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A WebKitDOMHTMLCollection. [transfer none]

### webkit_dom_document_get_forms ()

    WebKitDOMHTMLCollection * webkit_dom_document_get_forms (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A WebKitDOMHTMLCollection. [transfer none]

### webkit_dom_document_get_anchors ()

    WebKitDOMHTMLCollection * webkit_dom_document_get_anchors
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A WebKitDOMHTMLCollection. [transfer none]

### webkit_dom_document_get_last_modified ()

    gchar *             webkit_dom_document_get_last_modified
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A gchar

### webkit_dom_document_get_charset ()

    gchar *             webkit_dom_document_get_charset     (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A gchar

### webkit_dom_document_set_charset ()

    void                webkit_dom_document_set_charset     (WebKitDOMDocument *self,
                                                             const gchar *value);

`self` : | A WebKitDOMDocument
`value` : | A gchar

### webkit_dom_document_get_default_charset ()

    gchar *             webkit_dom_document_get_default_charset
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A gchar

### webkit_dom_document_get_ready_state ()

    gchar *             webkit_dom_document_get_ready_state (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A gchar

### webkit_dom_document_get_character_set ()

    gchar *             webkit_dom_document_get_character_set
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A gchar

### webkit_dom_document_get_preferred_stylesheet_set ()

    gchar *             webkit_dom_document_get_preferred_stylesheet_set
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A gchar

### webkit_dom_document_get_selected_stylesheet_set ()

    gchar *             webkit_dom_document_get_selected_stylesheet_set
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A gchar

### webkit_dom_document_set_selected_stylesheet_set ()

    void                webkit_dom_document_set_selected_stylesheet_set
                                                            (WebKitDOMDocument *self,
                                                             const gchar *value);

`self` : | A WebKitDOMDocument
`value` : | A gchar

### webkit_dom_document_get_compat_mode ()

    gchar *             webkit_dom_document_get_compat_mode (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A gchar

### webkit_dom_document_get_webkit_is_full_screen ()

    gboolean            webkit_dom_document_get_webkit_is_full_screen
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A gboolean

### webkit_dom_document_get_webkit_full_screen_keyboard_input_allowed ()

    gboolean            webkit_dom_document_get_webkit_full_screen_keyboard_input_allowed
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A gboolean

### webkit_dom_document_get_webkit_current_full_screen_element ()

    WebKitDOMElement *  webkit_dom_document_get_webkit_current_full_screen_element
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A WebKitDOMElement. [transfer none]

### webkit_dom_document_get_webkit_fullscreen_enabled ()

    gboolean            webkit_dom_document_get_webkit_fullscreen_enabled
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A gboolean

### webkit_dom_document_get_webkit_fullscreen_element ()

    WebKitDOMElement *  webkit_dom_document_get_webkit_fullscreen_element
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A WebKitDOMElement. [transfer none]

### webkit_dom_document_get_webkit_pointer_lock_element ()

    WebKitDOMElement *  webkit_dom_document_get_webkit_pointer_lock_element
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A WebKitDOMElement. [transfer none]

### webkit_dom_document_get_visibility_state ()

    gchar *             webkit_dom_document_get_visibility_state
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A gchar

### webkit_dom_document_get_hidden ()

    gboolean            webkit_dom_document_get_hidden      (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A gboolean

### webkit_dom_document_get_security_policy ()

    WebKitDOMDOMSecurityPolicy * webkit_dom_document_get_security_policy
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A WebKitDOMDOMSecurityPolicy. [transfer none]

### webkit_dom_document_get_current_script ()

    WebKitDOMHTMLScriptElement * webkit_dom_document_get_current_script
                                                            (WebKitDOMDocument *self);

`self` : | A WebKitDOMDocument
Returns : | A WebKitDOMHTMLScriptElement. [transfer none]

### webkit_dom_document_get_webkit_hidden ()

    gboolean            webkit_dom_document_get_webkit_hidden
                                                            (WebKitDOMDocument *self);

### Warning

`webkit_dom_document_get_webkit_hidden` is deprecated and should not be used in newly-written code. 2.2

This functionality has been removed from WebKit, this function does nothing.

`self` : | A WebKitDOMDocument
Returns : | A gboolean

### webkit_dom_document_get_webkit_visibility_state ()

    gchar *             webkit_dom_document_get_webkit_visibility_state
                                                            (WebKitDOMDocument *self);

### Warning

`webkit_dom_document_get_webkit_visibility_state` is deprecated and should not be used in newly-written code. 2.2

This functionality has been removed from WebKit, this function does nothing.

`self` : | A WebKitDOMDocument
Returns : | A gchar

## Property Details

### The `"anchors"` property

      "anchors"                  WebKitDOMHTMLCollection*  : Read

read-only WebKitDOMHTMLCollection* Document:anchors.

### The `"applets"` property

      "applets"                  WebKitDOMHTMLCollection*  : Read

read-only WebKitDOMHTMLCollection* Document:applets.

### The `"body"` property

      "body"                     WebKitDOMHTMLElement*  : Read / Write

read-only WebKitDOMHTMLElement* Document:body.

### The `"character-set"` property

      "character-set"            gchar*                : Read

read-only gchar* Document:character-set.

Default value: ""

### The `"charset"` property

      "charset"                  gchar*                : Read / Write

read-only gchar* Document:charset.

Default value: ""

### The `"compat-mode"` property

      "compat-mode"              gchar*                : Read

read-only gchar* Document:compat-mode.

Default value: ""

### The `"cookie"` property

      "cookie"                   gchar*                : Read / Write

read-only gchar* Document:cookie.

Default value: ""

### The `"current-script"` property

      "current-script"           WebKitDOMHTMLScriptElement*  : Read

read-only WebKitDOMHTMLScriptElement* Document:current-script.

### The `"default-charset"` property

      "default-charset"          gchar*                : Read

read-only gchar* Document:default-charset.

Default value: ""

### The `"default-view"` property

      "default-view"             WebKitDOMDOMWindow*   : Read

read-only WebKitDOMDOMWindow* Document:default-view.

### The `"doctype"` property

      "doctype"                  WebKitDOMDocumentType*  : Read

read-only WebKitDOMDocumentType* Document:doctype.

### The `"document-element"` property

      "document-element"         WebKitDOMElement*     : Read

read-only WebKitDOMElement* Document:document-element.

### The `"document-uri"` property

      "document-uri"             gchar*                : Read / Write

read-only gchar* Document:document-uri.

Default value: ""

### The `"domain"` property

      "domain"                   gchar*                : Read

read-only gchar* Document:domain.

Default value: ""

### The `"forms"` property

      "forms"                    WebKitDOMHTMLCollection*  : Read

read-only WebKitDOMHTMLCollection* Document:forms.

### The `"head"` property

      "head"                     WebKitDOMHTMLHeadElement*  : Read

read-only WebKitDOMHTMLHeadElement* Document:head.

### The `"hidden"` property

      "hidden"                   gboolean              : Read

read-only gboolean Document:hidden.

Default value: FALSE

### The `"images"` property

      "images"                   WebKitDOMHTMLCollection*  : Read

read-only WebKitDOMHTMLCollection* Document:images.

### The `"implementation"` property

      "implementation"           WebKitDOMDOMImplementation*  : Read

read-only WebKitDOMDOMImplementation* Document:implementation.

### The `"input-encoding"` property

      "input-encoding"           gchar*                : Read

read-only gchar* Document:input-encoding.

Default value: ""

### The `"last-modified"` property

      "last-modified"            gchar*                : Read

read-only gchar* Document:last-modified.

Default value: ""

### The `"links"` property

      "links"                    WebKitDOMHTMLCollection*  : Read

read-only WebKitDOMHTMLCollection* Document:links.

### The `"preferred-stylesheet-set"` property

      "preferred-stylesheet-set" gchar*                : Read

read-only gchar* Document:preferred-stylesheet-set.

Default value: ""

### The `"ready-state"` property

      "ready-state"              gchar*                : Read

read-only gchar* Document:ready-state.

Default value: ""

### The `"referrer"` property

      "referrer"                 gchar*                : Read

read-only gchar* Document:referrer.

Default value: ""

### The `"security-policy"` property

      "security-policy"          WebKitDOMDOMSecurityPolicy*  : Read

read-only WebKitDOMDOMSecurityPolicy* Document:security-policy.

### The `"selected-stylesheet-set"` property

      "selected-stylesheet-set"  gchar*                : Read / Write

read-only gchar* Document:selected-stylesheet-set.

Default value: ""

### The `"style-sheets"` property

      "style-sheets"             WebKitDOMStyleSheetList*  : Read

read-only WebKitDOMStyleSheetList* Document:style-sheets.

### The `"title"` property

      "title"                    gchar*                : Read / Write

read-only gchar* Document:title.

Default value: ""

### The `"url"` property

      "url"                      gchar*                : Read

read-only gchar* Document:url.

Default value: ""

### The `"visibility-state"` property

      "visibility-state"         gchar*                : Read

read-only gchar* Document:visibility-state.

Default value: ""

### The `"webkit-current-full-screen-element"` property

      "webkit-current-full-screen-element" WebKitDOMElement*     : Read

read-only WebKitDOMElement* Document:webkit-current-full-screen-element.

### The `"webkit-full-screen-keyboard-input-allowed"` property

      "webkit-full-screen-keyboard-input-allowed" gboolean              : Read

read-only gboolean Document:webkit-full-screen-keyboard-input-allowed.

Default value: FALSE

### The `"webkit-fullscreen-element"` property

      "webkit-fullscreen-element" WebKitDOMElement*     : Read

read-only WebKitDOMElement* Document:webkit-fullscreen-element.

### The `"webkit-fullscreen-enabled"` property

      "webkit-fullscreen-enabled" gboolean              : Read

read-only gboolean Document:webkit-fullscreen-enabled.

Default value: FALSE

### The `"webkit-is-full-screen"` property

      "webkit-is-full-screen"    gboolean              : Read

read-only gboolean Document:webkit-is-full-screen.

Default value: FALSE

### The `"webkit-pointer-lock-element"` property

      "webkit-pointer-lock-element" WebKitDOMElement*     : Read

read-only WebKitDOMElement* Document:webkit-pointer-lock-element.

### The `"xml-encoding"` property

      "xml-encoding"             gchar*                : Read

read-only gchar* Document:xml-encoding.

Default value: ""

### The `"xml-standalone"` property

      "xml-standalone"           gboolean              : Read / Write

read-only gboolean Document:xml-standalone.

Default value: FALSE

### The `"xml-version"` property

      "xml-version"              gchar*                : Read / Write

read-only gchar* Document:xml-version.

Default value: ""