WebKitDOMCSSRule

WebKitDOMCSSRule

Functions

Properties

Types and Values

Object Hierarchy

    GObject
    ╰── WebKitDOMObject
        ╰── WebKitDOMCSSRule

Description

Functions

webkit_dom_css_rule_get_css_text ()

gchar *
webkit_dom_css_rule_get_css_text (WebKitDOMCSSRule *self);

Parameters

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);

Parameters

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);

Parameters

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);

Parameters

self

A WebKitDOMCSSRule

 

Returns

A WebKitDOMCSSRule.

[transfer none]

Types and Values

WebKitDOMCSSRule

typedef struct _WebKitDOMCSSRule WebKitDOMCSSRule;

Property Details

The “css-text” property

  “css-text”                 gchar *

read-only gchar* CSSRule:css-text.

Flags: Read / Write

Default value: ""


The “parent-rule” property

  “parent-rule”              WebKitDOMCSSRule *

read-only WebKitDOMCSSRule* CSSRule:parent-rule.

Flags: Read


The “parent-style-sheet” property

  “parent-style-sheet”       WebKitDOMCSSStyleSheet *

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

Flags: Read


The “type” property

  “type”                     guint

read-only gushort CSSRule:type.

Flags: Read

Default value: 0