WebKitDOMGTK+ Reference Manual: WebKitDOMCSSRule

## WebKitDOMCSSRule WebKitDOMCSSRule |

## Synopsis

                        WebKitDOMCSSRule;
    gchar *             webkit_dom_css_rule_get_css_text    (WebKitDOMCSSRule *self);
    void                webkit_dom_css_rule_set_css_text    (WebKitDOMCSSRule *self,
                                                             const gchar *value,
                                                             GError **error);
    WebKitDOMCSSStyleSheet * webkit_dom_css_rule_get_parent_style_sheet
                                                            (WebKitDOMCSSRule *self);
    WebKitDOMCSSRule *  webkit_dom_css_rule_get_parent_rule (WebKitDOMCSSRule *self);

## Object Hierarchy

      GObject
       +----WebKitDOMObject
             +----WebKitDOMCSSRule

## Properties

      "css-text"                 gchar*                : Read / Write
      "parent-rule"              WebKitDOMCSSRule*     : Read
      "parent-style-sheet"       WebKitDOMCSSStyleSheet*  : Read
      "type"                     guint                 : Read

## Description

## Details

### WebKitDOMCSSRule

    typedef struct _WebKitDOMCSSRule WebKitDOMCSSRule;

### webkit_dom_css_rule_get_css_text ()

    gchar *             webkit_dom_css_rule_get_css_text    (WebKitDOMCSSRule *self);

`self` : | A WebKitDOMCSSRule
Returns : | A gchar

### webkit_dom_css_rule_set_css_text ()

    void                webkit_dom_css_rule_set_css_text    (WebKitDOMCSSRule *self,
                                                             const gchar *value,
                                                             GError **error);

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

### webkit_dom_css_rule_get_parent_style_sheet ()

    WebKitDOMCSSStyleSheet * webkit_dom_css_rule_get_parent_style_sheet
                                                            (WebKitDOMCSSRule *self);

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

### webkit_dom_css_rule_get_parent_rule ()

    WebKitDOMCSSRule *  webkit_dom_css_rule_get_parent_rule (WebKitDOMCSSRule *self);

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

## Property Details

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

      "css-text"                 gchar*                : Read / Write

read-only gchar* CSSRule:css-text.

Default value: ""

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

      "parent-rule"              WebKitDOMCSSRule*     : Read

read-only WebKitDOMCSSRule* CSSRule:parent-rule.

### The `"parent-style-sheet"` property

      "parent-style-sheet"       WebKitDOMCSSStyleSheet*  : Read

read-only WebKitDOMCSSStyleSheet* CSSRule:parent-style-sheet.

### The `"type"` property

      "type"                     guint                 : Read

read-only gushort CSSRule:type.

Default value: 0