WebKit2WebExtension.DOMCSSStyleSheet

g GObject.Object GObject.Object WebKit2WebExtension.DOMObject WebKit2WebExtension.DOMObject GObject.Object->WebKit2WebExtension.DOMObject WebKit2WebExtension.DOMCSSStyleSheet WebKit2WebExtension.DOMCSSStyleSheet WebKit2WebExtension.DOMStyleSheet WebKit2WebExtension.DOMStyleSheet WebKit2WebExtension.DOMObject->WebKit2WebExtension.DOMStyleSheet WebKit2WebExtension.DOMStyleSheet->WebKit2WebExtension.DOMCSSStyleSheet

Subclasses:

None

Methods

Inherited:

WebKit2WebExtension.DOMStyleSheet (8), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

add_rule (selector, style, index)

delete_rule (index)

get_css_rules ()

get_owner_rule ()

get_rules ()

insert_rule (rule, index)

remove_rule (index)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

WebKit2WebExtension.DOMStyleSheet (7), WebKit2WebExtension.DOMObject (1)

Name

Type

Flags

Short Description

css-rules

WebKit2WebExtension.DOMCSSRuleList

r

read-only WebKit2WebExtension.DOMCSSRuleList CSSStyleSheet:css-rules

owner-rule

WebKit2WebExtension.DOMCSSRule

r

read-only WebKit2WebExtension.DOMCSSRule CSSStyleSheet:owner-rule

rules

WebKit2WebExtension.DOMCSSRuleList

r

read-only WebKit2WebExtension.DOMCSSRuleList CSSStyleSheet:rules

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

WebKit2WebExtension.DOMStyleSheet

r

Class Details

class WebKit2WebExtension.DOMCSSStyleSheet(**kwargs)
Bases:

WebKit2WebExtension.DOMStyleSheet

Abstract:

No

Structure:

WebKit2WebExtension.DOMCSSStyleSheetClass

add_rule(selector, style, index)
Parameters:
Raises:

GLib.Error

Returns:

A int

Return type:

int

Deprecated since version 2.22: Use JavaScriptCore API instead

delete_rule(index)
Parameters:

index (int) – A int

Raises:

GLib.Error

Deprecated since version 2.22: Use JavaScriptCore API instead

get_css_rules()
Returns:

A WebKit2WebExtension.DOMCSSRuleList

Return type:

WebKit2WebExtension.DOMCSSRuleList

Deprecated since version 2.22: Use JavaScriptCore API instead

get_owner_rule()
Returns:

A WebKit2WebExtension.DOMCSSRule

Return type:

WebKit2WebExtension.DOMCSSRule

Deprecated since version 2.22: Use JavaScriptCore API instead

get_rules()
Returns:

A WebKit2WebExtension.DOMCSSRuleList

Return type:

WebKit2WebExtension.DOMCSSRuleList

Deprecated since version 2.22: Use JavaScriptCore API instead

insert_rule(rule, index)
Parameters:
Raises:

GLib.Error

Returns:

A int

Return type:

int

Deprecated since version 2.22: Use JavaScriptCore API instead

remove_rule(index)
Parameters:

index (int) – A int

Raises:

GLib.Error

Deprecated since version 2.22: Use JavaScriptCore API instead

Property Details

WebKit2WebExtension.DOMCSSStyleSheet.props.css_rules
Name:

css-rules

Type:

WebKit2WebExtension.DOMCSSRuleList

Default Value:

None

Flags:

READABLE

read-only WebKit2WebExtension.DOMCSSRuleList CSSStyleSheet:css-rules

WebKit2WebExtension.DOMCSSStyleSheet.props.owner_rule
Name:

owner-rule

Type:

WebKit2WebExtension.DOMCSSRule

Default Value:

None

Flags:

READABLE

read-only WebKit2WebExtension.DOMCSSRule CSSStyleSheet:owner-rule

WebKit2WebExtension.DOMCSSStyleSheet.props.rules
Name:

rules

Type:

WebKit2WebExtension.DOMCSSRuleList

Default Value:

None

Flags:

READABLE

read-only WebKit2WebExtension.DOMCSSRuleList CSSStyleSheet:rules