WebKitDOMGTK+ Reference Manual: WebKitDOMHTMLDocument

## WebKitDOMHTMLDocument WebKitDOMHTMLDocument |

## Synopsis

                        WebKitDOMHTMLDocument;
    void                webkit_dom_html_document_close      (WebKitDOMHTMLDocument *self);
    void                webkit_dom_html_document_clear      (WebKitDOMHTMLDocument *self);
    void                webkit_dom_html_document_capture_events
                                                            (WebKitDOMHTMLDocument *self);
    void                webkit_dom_html_document_release_events
                                                            (WebKitDOMHTMLDocument *self);
    gboolean            webkit_dom_html_document_has_focus  (WebKitDOMHTMLDocument *self);
    WebKitDOMHTMLCollection * webkit_dom_html_document_get_embeds
                                                            (WebKitDOMHTMLDocument *self);
    WebKitDOMHTMLCollection * webkit_dom_html_document_get_plugins
                                                            (WebKitDOMHTMLDocument *self);
    WebKitDOMHTMLCollection * webkit_dom_html_document_get_scripts
                                                            (WebKitDOMHTMLDocument *self);
    glong               webkit_dom_html_document_get_width  (WebKitDOMHTMLDocument *self);
    glong               webkit_dom_html_document_get_height (WebKitDOMHTMLDocument *self);
    gchar *             webkit_dom_html_document_get_dir    (WebKitDOMHTMLDocument *self);
    void                webkit_dom_html_document_set_dir    (WebKitDOMHTMLDocument *self,
                                                             const gchar *value);
    gchar *             webkit_dom_html_document_get_design_mode
                                                            (WebKitDOMHTMLDocument *self);
    void                webkit_dom_html_document_set_design_mode
                                                            (WebKitDOMHTMLDocument *self,
                                                             const gchar *value);
    gchar *             webkit_dom_html_document_get_compat_mode
                                                            (WebKitDOMHTMLDocument *self);
    WebKitDOMElement *  webkit_dom_html_document_get_active_element
                                                            (WebKitDOMHTMLDocument *self);
    gchar *             webkit_dom_html_document_get_bg_color
                                                            (WebKitDOMHTMLDocument *self);
    void                webkit_dom_html_document_set_bg_color
                                                            (WebKitDOMHTMLDocument *self,
                                                             const gchar *value);
    gchar *             webkit_dom_html_document_get_fg_color
                                                            (WebKitDOMHTMLDocument *self);
    void                webkit_dom_html_document_set_fg_color
                                                            (WebKitDOMHTMLDocument *self,
                                                             const gchar *value);
    gchar *             webkit_dom_html_document_get_alink_color
                                                            (WebKitDOMHTMLDocument *self);
    void                webkit_dom_html_document_set_alink_color
                                                            (WebKitDOMHTMLDocument *self,
                                                             const gchar *value);
    gchar *             webkit_dom_html_document_get_link_color
                                                            (WebKitDOMHTMLDocument *self);
    void                webkit_dom_html_document_set_link_color
                                                            (WebKitDOMHTMLDocument *self,
                                                             const gchar *value);
    gchar *             webkit_dom_html_document_get_vlink_color
                                                            (WebKitDOMHTMLDocument *self);
    void                webkit_dom_html_document_set_vlink_color
                                                            (WebKitDOMHTMLDocument *self,
                                                             const gchar *value);
    void                webkit_dom_html_document_open       (WebKitDOMHTMLDocument *self);

## Object Hierarchy

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

## Implemented Interfaces

WebKitDOMHTMLDocument implements WebKitDOMEventTarget.

## Properties

      "active-element"           WebKitDOMElement*     : Read
      "alink-color"              gchar*                : Read / Write
      "bg-color"                 gchar*                : Read / Write
      "compat-mode"              gchar*                : Read
      "design-mode"              gchar*                : Read / Write
      "dir"                      gchar*                : Read / Write
      "embeds"                   WebKitDOMHTMLCollection*  : Read
      "fg-color"                 gchar*                : Read / Write
      "height"                   glong                 : Read
      "link-color"               gchar*                : Read / Write
      "plugins"                  WebKitDOMHTMLCollection*  : Read
      "scripts"                  WebKitDOMHTMLCollection*  : Read
      "vlink-color"              gchar*                : Read / Write
      "width"                    glong                 : Read

## Description

## Details

### WebKitDOMHTMLDocument

    typedef struct _WebKitDOMHTMLDocument WebKitDOMHTMLDocument;

### webkit_dom_html_document_close ()

    void                webkit_dom_html_document_close      (WebKitDOMHTMLDocument *self);

`self` : | A WebKitDOMHTMLDocument

### webkit_dom_html_document_clear ()

    void                webkit_dom_html_document_clear      (WebKitDOMHTMLDocument *self);

`self` : | A WebKitDOMHTMLDocument

### webkit_dom_html_document_capture_events ()

    void                webkit_dom_html_document_capture_events
                                                            (WebKitDOMHTMLDocument *self);

`self` : | A WebKitDOMHTMLDocument

### webkit_dom_html_document_release_events ()

    void                webkit_dom_html_document_release_events
                                                            (WebKitDOMHTMLDocument *self);

`self` : | A WebKitDOMHTMLDocument

### webkit_dom_html_document_has_focus ()

    gboolean            webkit_dom_html_document_has_focus  (WebKitDOMHTMLDocument *self);

`self` : | A WebKitDOMHTMLDocument
Returns : | A gboolean

### webkit_dom_html_document_get_embeds ()

    WebKitDOMHTMLCollection * webkit_dom_html_document_get_embeds
                                                            (WebKitDOMHTMLDocument *self);

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

### webkit_dom_html_document_get_plugins ()

    WebKitDOMHTMLCollection * webkit_dom_html_document_get_plugins
                                                            (WebKitDOMHTMLDocument *self);

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

### webkit_dom_html_document_get_scripts ()

    WebKitDOMHTMLCollection * webkit_dom_html_document_get_scripts
                                                            (WebKitDOMHTMLDocument *self);

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

### webkit_dom_html_document_get_width ()

    glong               webkit_dom_html_document_get_width  (WebKitDOMHTMLDocument *self);

`self` : | A WebKitDOMHTMLDocument
Returns : | A glong

### webkit_dom_html_document_get_height ()

    glong               webkit_dom_html_document_get_height (WebKitDOMHTMLDocument *self);

`self` : | A WebKitDOMHTMLDocument
Returns : | A glong

### webkit_dom_html_document_get_dir ()

    gchar *             webkit_dom_html_document_get_dir    (WebKitDOMHTMLDocument *self);

`self` : | A WebKitDOMHTMLDocument
Returns : | A gchar

### webkit_dom_html_document_set_dir ()

    void                webkit_dom_html_document_set_dir    (WebKitDOMHTMLDocument *self,
                                                             const gchar *value);

`self` : | A WebKitDOMHTMLDocument
`value` : | A gchar

### webkit_dom_html_document_get_design_mode ()

    gchar *             webkit_dom_html_document_get_design_mode
                                                            (WebKitDOMHTMLDocument *self);

`self` : | A WebKitDOMHTMLDocument
Returns : | A gchar

### webkit_dom_html_document_set_design_mode ()

    void                webkit_dom_html_document_set_design_mode
                                                            (WebKitDOMHTMLDocument *self,
                                                             const gchar *value);

`self` : | A WebKitDOMHTMLDocument
`value` : | A gchar

### webkit_dom_html_document_get_compat_mode ()

    gchar *             webkit_dom_html_document_get_compat_mode
                                                            (WebKitDOMHTMLDocument *self);

`self` : | A WebKitDOMHTMLDocument
Returns : | A gchar

### webkit_dom_html_document_get_active_element ()

    WebKitDOMElement *  webkit_dom_html_document_get_active_element
                                                            (WebKitDOMHTMLDocument *self);

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

### webkit_dom_html_document_get_bg_color ()

    gchar *             webkit_dom_html_document_get_bg_color
                                                            (WebKitDOMHTMLDocument *self);

`self` : | A WebKitDOMHTMLDocument
Returns : | A gchar

### webkit_dom_html_document_set_bg_color ()

    void                webkit_dom_html_document_set_bg_color
                                                            (WebKitDOMHTMLDocument *self,
                                                             const gchar *value);

`self` : | A WebKitDOMHTMLDocument
`value` : | A gchar

### webkit_dom_html_document_get_fg_color ()

    gchar *             webkit_dom_html_document_get_fg_color
                                                            (WebKitDOMHTMLDocument *self);

`self` : | A WebKitDOMHTMLDocument
Returns : | A gchar

### webkit_dom_html_document_set_fg_color ()

    void                webkit_dom_html_document_set_fg_color
                                                            (WebKitDOMHTMLDocument *self,
                                                             const gchar *value);

`self` : | A WebKitDOMHTMLDocument
`value` : | A gchar

### webkit_dom_html_document_get_alink_color ()

    gchar *             webkit_dom_html_document_get_alink_color
                                                            (WebKitDOMHTMLDocument *self);

`self` : | A WebKitDOMHTMLDocument
Returns : | A gchar

### webkit_dom_html_document_set_alink_color ()

    void                webkit_dom_html_document_set_alink_color
                                                            (WebKitDOMHTMLDocument *self,
                                                             const gchar *value);

`self` : | A WebKitDOMHTMLDocument
`value` : | A gchar

### webkit_dom_html_document_get_link_color ()

    gchar *             webkit_dom_html_document_get_link_color
                                                            (WebKitDOMHTMLDocument *self);

`self` : | A WebKitDOMHTMLDocument
Returns : | A gchar

### webkit_dom_html_document_set_link_color ()

    void                webkit_dom_html_document_set_link_color
                                                            (WebKitDOMHTMLDocument *self,
                                                             const gchar *value);

`self` : | A WebKitDOMHTMLDocument
`value` : | A gchar

### webkit_dom_html_document_get_vlink_color ()

    gchar *             webkit_dom_html_document_get_vlink_color
                                                            (WebKitDOMHTMLDocument *self);

`self` : | A WebKitDOMHTMLDocument
Returns : | A gchar

### webkit_dom_html_document_set_vlink_color ()

    void                webkit_dom_html_document_set_vlink_color
                                                            (WebKitDOMHTMLDocument *self,
                                                             const gchar *value);

`self` : | A WebKitDOMHTMLDocument
`value` : | A gchar

### webkit_dom_html_document_open ()

    void                webkit_dom_html_document_open       (WebKitDOMHTMLDocument *self);

### Warning

`webkit_dom_html_document_open` 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 WebKitDOMHTMLDocument

## Property Details

### The `"active-element"` property

      "active-element"           WebKitDOMElement*     : Read

read-only WebKitDOMElement* HTMLDocument:active-element.

### The `"alink-color"` property

      "alink-color"              gchar*                : Read / Write

read-only gchar* HTMLDocument:alink-color.

Default value: ""

### The `"bg-color"` property

      "bg-color"                 gchar*                : Read / Write

read-only gchar* HTMLDocument:bg-color.

Default value: ""

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

      "compat-mode"              gchar*                : Read

read-only gchar* HTMLDocument:compat-mode.

Default value: ""

### The `"design-mode"` property

      "design-mode"              gchar*                : Read / Write

read-only gchar* HTMLDocument:design-mode.

Default value: ""

### The `"dir"` property

      "dir"                      gchar*                : Read / Write

read-only gchar* HTMLDocument:dir.

Default value: ""

### The `"embeds"` property

      "embeds"                   WebKitDOMHTMLCollection*  : Read

read-only WebKitDOMHTMLCollection* HTMLDocument:embeds.

### The `"fg-color"` property

      "fg-color"                 gchar*                : Read / Write

read-only gchar* HTMLDocument:fg-color.

Default value: ""

### The `"height"` property

      "height"                   glong                 : Read

read-only glong HTMLDocument:height.

Default value: 0

### The `"link-color"` property

      "link-color"               gchar*                : Read / Write

read-only gchar* HTMLDocument:link-color.

Default value: ""

### The `"plugins"` property

      "plugins"                  WebKitDOMHTMLCollection*  : Read

read-only WebKitDOMHTMLCollection* HTMLDocument:plugins.

### The `"scripts"` property

      "scripts"                  WebKitDOMHTMLCollection*  : Read

read-only WebKitDOMHTMLCollection* HTMLDocument:scripts.

### The `"vlink-color"` property

      "vlink-color"              gchar*                : Read / Write

read-only gchar* HTMLDocument:vlink-color.

Default value: ""

### The `"width"` property

      "width"                    glong                 : Read

read-only glong HTMLDocument:width.

Default value: 0