WebKitDOMAttr: WebKitDOMGTK+ Reference Manual

## WebKitDOMAttr WebKitDOMAttr |

## Functions

gchar * | webkit_dom_attr_get_name ()
gboolean | webkit_dom_attr_get_specified ()
gchar * | webkit_dom_attr_get_value ()
void | webkit_dom_attr_set_value ()
WebKitDOMElement * | webkit_dom_attr_get_owner_element ()
gchar * | webkit_dom_attr_get_namespace_uri ()
gchar * | webkit_dom_attr_get_prefix ()
gchar * | webkit_dom_attr_get_local_name ()

## Properties

char * | local-name | Read
char * | name | Read
char * | namespace-uri | Read
WebKitDOMElement * | owner-element | Read
char * | prefix | Read
gboolean | specified | Read
char * | value | Read / Write

## Types and Values

struct | WebKitDOMAttr

## Object Hierarchy

        GObject
        ╰── WebKitDOMObject
            ╰── WebKitDOMNode
                ╰── WebKitDOMAttr

## Implemented Interfaces

WebKitDOMAttr implements WebKitDOMEventTarget.

## Description

## Functions

### webkit_dom_attr_get_name ()

    gchar *
    webkit_dom_attr_get_name (WebKitDOMAttr *self);

`webkit_dom_attr_get_name` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

#### Parameters

self | A WebKitDOMAttr |

#### Returns

A gchar

### webkit_dom_attr_get_specified ()

    gboolean
    webkit_dom_attr_get_specified (WebKitDOMAttr *self);

`webkit_dom_attr_get_specified` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

#### Parameters

self | A WebKitDOMAttr |

#### Returns

A gboolean

### webkit_dom_attr_get_value ()

    gchar *
    webkit_dom_attr_get_value (WebKitDOMAttr *self);

`webkit_dom_attr_get_value` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

#### Parameters

self | A WebKitDOMAttr |

#### Returns

A gchar

### webkit_dom_attr_set_value ()

    void
    webkit_dom_attr_set_value (WebKitDOMAttr *self,
                               const gchar *value,
                               GError **error);

`webkit_dom_attr_set_value` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

#### Parameters

self | A WebKitDOMAttr |
value | A gchar |
error | GError |

### webkit_dom_attr_get_owner_element ()

    WebKitDOMElement *
    webkit_dom_attr_get_owner_element (WebKitDOMAttr *self);

`webkit_dom_attr_get_owner_element` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

#### Parameters

self | A WebKitDOMAttr |

#### Returns

A WebKitDOMElement.

[transfer none]

### webkit_dom_attr_get_namespace_uri ()

    gchar *
    webkit_dom_attr_get_namespace_uri (WebKitDOMAttr *self);

`webkit_dom_attr_get_namespace_uri` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

#### Parameters

self | A WebKitDOMAttr |

#### Returns

A gchar

Since: 2.14

### webkit_dom_attr_get_prefix ()

    gchar *
    webkit_dom_attr_get_prefix (WebKitDOMAttr *self);

`webkit_dom_attr_get_prefix` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

#### Parameters

self | A WebKitDOMAttr |

#### Returns

A gchar

Since: 2.14

### webkit_dom_attr_get_local_name ()

    gchar *
    webkit_dom_attr_get_local_name (WebKitDOMAttr *self);

`webkit_dom_attr_get_local_name` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

#### Parameters

self | A WebKitDOMAttr |

#### Returns

A gchar

Since: 2.14

## Types and Values

### struct WebKitDOMAttr

    struct WebKitDOMAttr;

## Property Details

### The `“local-name”` property

      “local-name”               char *

read-only gchar* Attr:local-name.

Owner: WebKitDOMAttr

Flags: Read

Default value: ""

### The `“name”` property

      “name”                     char *

read-only gchar* Attr:name.

Owner: WebKitDOMAttr

Flags: Read

Default value: ""

### The `“namespace-uri”` property

      “namespace-uri”            char *

read-only gchar* Attr:namespace-uri.

Owner: WebKitDOMAttr

Flags: Read

Default value: ""

### The `“owner-element”` property

      “owner-element”            WebKitDOMElement *

read-only WebKitDOMElement* Attr:owner-element.

Owner: WebKitDOMAttr

Flags: Read

### The `“prefix”` property

      “prefix”                   char *

read-only gchar* Attr:prefix.

Owner: WebKitDOMAttr

Flags: Read

Default value: ""

### The `“specified”` property

      “specified”                gboolean

read-only gboolean Attr:specified.

Owner: WebKitDOMAttr

Flags: Read

Default value: FALSE

### The `“value”` property

      “value”                    char *

read-write gchar* Attr:value.

Owner: WebKitDOMAttr

Flags: Read / Write

Default value: ""