WebKitDOMGTK+ Reference Manual: WebKitDOMCSSStyleSheet

## WebKitDOMCSSStyleSheet WebKitDOMCSSStyleSheet |

## Synopsis

                        WebKitDOMCSSStyleSheet;
    gulong              webkit_dom_css_style_sheet_insert_rule
                                                            (WebKitDOMCSSStyleSheet *self,
                                                             const gchar *rule,
                                                             gulong index,
                                                             GError **error);
    void                webkit_dom_css_style_sheet_delete_rule
                                                            (WebKitDOMCSSStyleSheet *self,
                                                             gulong index,
                                                             GError **error);
    glong               webkit_dom_css_style_sheet_add_rule (WebKitDOMCSSStyleSheet *self,
                                                             const gchar *selector,
                                                             const gchar *style,
                                                             gulong index,
                                                             GError **error);
    void                webkit_dom_css_style_sheet_remove_rule
                                                            (WebKitDOMCSSStyleSheet *self,
                                                             gulong index,
                                                             GError **error);
    WebKitDOMCSSRule *  webkit_dom_css_style_sheet_get_owner_rule
                                                            (WebKitDOMCSSStyleSheet *self);
    WebKitDOMCSSRuleList * webkit_dom_css_style_sheet_get_css_rules
                                                            (WebKitDOMCSSStyleSheet *self);
    WebKitDOMCSSRuleList * webkit_dom_css_style_sheet_get_rules
                                                            (WebKitDOMCSSStyleSheet *self);

## Object Hierarchy

      GObject
       +----WebKitDOMObject
             +----WebKitDOMStyleSheet
                   +----WebKitDOMCSSStyleSheet

## Properties

      "css-rules"                WebKitDOMCSSRuleList*  : Read
      "owner-rule"               WebKitDOMCSSRule*     : Read
      "rules"                    WebKitDOMCSSRuleList*  : Read

## Description

## Details

### WebKitDOMCSSStyleSheet

    typedef struct _WebKitDOMCSSStyleSheet WebKitDOMCSSStyleSheet;

### webkit_dom_css_style_sheet_insert_rule ()

    gulong              webkit_dom_css_style_sheet_insert_rule
                                                            (WebKitDOMCSSStyleSheet *self,
                                                             const gchar *rule,
                                                             gulong index,
                                                             GError **error);

`self` : | A WebKitDOMCSSStyleSheet
`rule` : | A gchar
`index` : | A gulong
`error` : | GError
Returns : | A gulong

### webkit_dom_css_style_sheet_delete_rule ()

    void                webkit_dom_css_style_sheet_delete_rule
                                                            (WebKitDOMCSSStyleSheet *self,
                                                             gulong index,
                                                             GError **error);

`self` : | A WebKitDOMCSSStyleSheet
`index` : | A gulong
`error` : | GError

### webkit_dom_css_style_sheet_add_rule ()

    glong               webkit_dom_css_style_sheet_add_rule (WebKitDOMCSSStyleSheet *self,
                                                             const gchar *selector,
                                                             const gchar *style,
                                                             gulong index,
                                                             GError **error);

`self` : | A WebKitDOMCSSStyleSheet
`selector` : | A gchar
`style` : | A gchar
`index` : | A gulong
`error` : | GError
Returns : | A glong

### webkit_dom_css_style_sheet_remove_rule ()

    void                webkit_dom_css_style_sheet_remove_rule
                                                            (WebKitDOMCSSStyleSheet *self,
                                                             gulong index,
                                                             GError **error);

`self` : | A WebKitDOMCSSStyleSheet
`index` : | A gulong
`error` : | GError

### webkit_dom_css_style_sheet_get_owner_rule ()

    WebKitDOMCSSRule *  webkit_dom_css_style_sheet_get_owner_rule
                                                            (WebKitDOMCSSStyleSheet *self);

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

### webkit_dom_css_style_sheet_get_css_rules ()

    WebKitDOMCSSRuleList * webkit_dom_css_style_sheet_get_css_rules
                                                            (WebKitDOMCSSStyleSheet *self);

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

### webkit_dom_css_style_sheet_get_rules ()

    WebKitDOMCSSRuleList * webkit_dom_css_style_sheet_get_rules
                                                            (WebKitDOMCSSStyleSheet *self);

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

## Property Details

### The `"css-rules"` property

      "css-rules"                WebKitDOMCSSRuleList*  : Read

read-only WebKitDOMCSSRuleList* CSSStyleSheet:css-rules.

### The `"owner-rule"` property

      "owner-rule"               WebKitDOMCSSRule*     : Read

read-only WebKitDOMCSSRule* CSSStyleSheet:owner-rule.

### The `"rules"` property

      "rules"                    WebKitDOMCSSRuleList*  : Read

read-only WebKitDOMCSSRuleList* CSSStyleSheet:rules.