WebKitDOMGTK+ Reference Manual: WebKitDOMCSSStyleDeclaration

## WebKitDOMCSSStyleDeclaration WebKitDOMCSSStyleDeclaration |

## Synopsis

                        WebKitDOMCSSStyleDeclaration;
    gchar *             webkit_dom_css_style_declaration_get_property_value
                                                            (WebKitDOMCSSStyleDeclaration *self,
                                                             const gchar *propertyName);
    gchar *             webkit_dom_css_style_declaration_remove_property
                                                            (WebKitDOMCSSStyleDeclaration *self,
                                                             const gchar *propertyName,
                                                             GError **error);
    gchar *             webkit_dom_css_style_declaration_get_property_priority
                                                            (WebKitDOMCSSStyleDeclaration *self,
                                                             const gchar *propertyName);
    void                webkit_dom_css_style_declaration_set_property
                                                            (WebKitDOMCSSStyleDeclaration *self,
                                                             const gchar *propertyName,
                                                             const gchar *value,
                                                             const gchar *priority,
                                                             GError **error);
    gchar *             webkit_dom_css_style_declaration_item
                                                            (WebKitDOMCSSStyleDeclaration *self,
                                                             gulong index);
    gchar *             webkit_dom_css_style_declaration_get_property_shorthand
                                                            (WebKitDOMCSSStyleDeclaration *self,
                                                             const gchar *propertyName);
    gboolean            webkit_dom_css_style_declaration_is_property_implicit
                                                            (WebKitDOMCSSStyleDeclaration *self,
                                                             const gchar *propertyName);
    gchar *             webkit_dom_css_style_declaration_get_css_text
                                                            (WebKitDOMCSSStyleDeclaration *self);
    void                webkit_dom_css_style_declaration_set_css_text
                                                            (WebKitDOMCSSStyleDeclaration *self,
                                                             const gchar *value,
                                                             GError **error);
    gulong              webkit_dom_css_style_declaration_get_length
                                                            (WebKitDOMCSSStyleDeclaration *self);
    WebKitDOMCSSRule *  webkit_dom_css_style_declaration_get_parent_rule
                                                            (WebKitDOMCSSStyleDeclaration *self);
    WebKitDOMCSSValue * webkit_dom_css_style_declaration_get_property_css_value
                                                            (WebKitDOMCSSStyleDeclaration *self,
                                                             const gchar *propertyName);

## Object Hierarchy

      GObject
       +----WebKitDOMObject
             +----WebKitDOMCSSStyleDeclaration

## Properties

      "css-text"                 gchar*                : Read / Write
      "length"                   gulong                : Read
      "parent-rule"              WebKitDOMCSSRule*     : Read

## Description

## Details

### WebKitDOMCSSStyleDeclaration

    typedef struct _WebKitDOMCSSStyleDeclaration WebKitDOMCSSStyleDeclaration;

### webkit_dom_css_style_declaration_get_property_value ()

    gchar *             webkit_dom_css_style_declaration_get_property_value
                                                            (WebKitDOMCSSStyleDeclaration *self,
                                                             const gchar *propertyName);

`self` : | A WebKitDOMCSSStyleDeclaration
`propertyName` : | A gchar
Returns : | A gchar

### webkit_dom_css_style_declaration_remove_property ()

    gchar *             webkit_dom_css_style_declaration_remove_property
                                                            (WebKitDOMCSSStyleDeclaration *self,
                                                             const gchar *propertyName,
                                                             GError **error);

`self` : | A WebKitDOMCSSStyleDeclaration
`propertyName` : | A gchar
`error` : | GError
Returns : | A gchar

### webkit_dom_css_style_declaration_get_property_priority ()

    gchar *             webkit_dom_css_style_declaration_get_property_priority
                                                            (WebKitDOMCSSStyleDeclaration *self,
                                                             const gchar *propertyName);

`self` : | A WebKitDOMCSSStyleDeclaration
`propertyName` : | A gchar
Returns : | A gchar

### webkit_dom_css_style_declaration_set_property ()

    void                webkit_dom_css_style_declaration_set_property
                                                            (WebKitDOMCSSStyleDeclaration *self,
                                                             const gchar *propertyName,
                                                             const gchar *value,
                                                             const gchar *priority,
                                                             GError **error);

`self` : | A WebKitDOMCSSStyleDeclaration
`propertyName` : | A gchar
`value` : | A gchar
`priority` : | A gchar
`error` : | GError

### webkit_dom_css_style_declaration_item ()

    gchar *             webkit_dom_css_style_declaration_item
                                                            (WebKitDOMCSSStyleDeclaration *self,
                                                             gulong index);

`self` : | A WebKitDOMCSSStyleDeclaration
`index` : | A gulong
Returns : | A gchar

### webkit_dom_css_style_declaration_get_property_shorthand ()

    gchar *             webkit_dom_css_style_declaration_get_property_shorthand
                                                            (WebKitDOMCSSStyleDeclaration *self,
                                                             const gchar *propertyName);

`self` : | A WebKitDOMCSSStyleDeclaration
`propertyName` : | A gchar
Returns : | A gchar

### webkit_dom_css_style_declaration_is_property_implicit ()

    gboolean            webkit_dom_css_style_declaration_is_property_implicit
                                                            (WebKitDOMCSSStyleDeclaration *self,
                                                             const gchar *propertyName);

`self` : | A WebKitDOMCSSStyleDeclaration
`propertyName` : | A gchar
Returns : | A gboolean

### webkit_dom_css_style_declaration_get_css_text ()

    gchar *             webkit_dom_css_style_declaration_get_css_text
                                                            (WebKitDOMCSSStyleDeclaration *self);

`self` : | A WebKitDOMCSSStyleDeclaration
Returns : | A gchar

### webkit_dom_css_style_declaration_set_css_text ()

    void                webkit_dom_css_style_declaration_set_css_text
                                                            (WebKitDOMCSSStyleDeclaration *self,
                                                             const gchar *value,
                                                             GError **error);

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

### webkit_dom_css_style_declaration_get_length ()

    gulong              webkit_dom_css_style_declaration_get_length
                                                            (WebKitDOMCSSStyleDeclaration *self);

`self` : | A WebKitDOMCSSStyleDeclaration
Returns : | A gulong

### webkit_dom_css_style_declaration_get_parent_rule ()

    WebKitDOMCSSRule *  webkit_dom_css_style_declaration_get_parent_rule
                                                            (WebKitDOMCSSStyleDeclaration *self);

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

### webkit_dom_css_style_declaration_get_property_css_value ()

    WebKitDOMCSSValue * webkit_dom_css_style_declaration_get_property_css_value
                                                            (WebKitDOMCSSStyleDeclaration *self,
                                                             const gchar *propertyName);

### Warning

`webkit_dom_css_style_declaration_get_property_css_value` 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 WebKitDOMCSSStyleDeclaration
`propertyName` : | A gchar
Returns : | a WebKitDOMCSSValue. [transfer none]

## Property Details

### The `"css-text"` property

      "css-text"                 gchar*                : Read / Write

read-only gchar* CSSStyleDeclaration:css-text.

Default value: ""

### The `"length"` property

      "length"                   gulong                : Read

read-only gulong CSSStyleDeclaration:length.

### The `"parent-rule"` property

      "parent-rule"              WebKitDOMCSSRule*     : Read

read-only WebKitDOMCSSRule* CSSStyleDeclaration:parent-rule.