WebKitDOMCSSRule

WebKitDOMCSSRule

Functions

Properties

Types and Values

Object Hierarchy

    GObject
    ╰── WebKitDOMObject
        ╰── WebKitDOMCSSRule

Description

Functions

webkit_dom_css_rule_get_rule_type ()

gushort
webkit_dom_css_rule_get_rule_type (WebKitDOMCSSRule *self);

Parameters

self

A WebKitDOMCSSRule

 

Returns

A gushort


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;


WEBKIT_DOM_CSS_RULE_UNKNOWN_RULE

#define WEBKIT_DOM_CSS_RULE_UNKNOWN_RULE 0

WEBKIT_DOM_CSS_RULE_STYLE_RULE

#define WEBKIT_DOM_CSS_RULE_STYLE_RULE 1

WEBKIT_DOM_CSS_RULE_CHARSET_RULE

#define WEBKIT_DOM_CSS_RULE_CHARSET_RULE 2

WEBKIT_DOM_CSS_RULE_IMPORT_RULE

#define WEBKIT_DOM_CSS_RULE_IMPORT_RULE 3

WEBKIT_DOM_CSS_RULE_MEDIA_RULE

#define WEBKIT_DOM_CSS_RULE_MEDIA_RULE 4

WEBKIT_DOM_CSS_RULE_FONT_FACE_RULE

#define WEBKIT_DOM_CSS_RULE_FONT_FACE_RULE 5

WEBKIT_DOM_CSS_RULE_PAGE_RULE

#define WEBKIT_DOM_CSS_RULE_PAGE_RULE 6

Property Details

The “css-text” property

  “css-text”                 gchar *

read-write 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