WebKit2WebExtension.DOMCSSStyleSheet¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
read-only |
||
r |
read-only |
||
r |
read-only |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class WebKit2WebExtension.DOMCSSStyleSheet(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- add_rule(selector, style, index)¶
- Parameters:
- Raises:
- Returns:
A
int
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- delete_rule(index)¶
- Parameters:
- Raises:
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_css_rules()¶
- Returns:
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_owner_rule()¶
- Returns:
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_rules()¶
- Returns:
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- insert_rule(rule, index)¶
- Parameters:
- Raises:
- Returns:
A
int
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- remove_rule(index)¶
- Parameters:
- Raises:
Deprecated since version 2.22: Use JavaScriptCore API instead
Property Details¶
- WebKit2WebExtension.DOMCSSStyleSheet.props.css_rules¶
- Name:
css-rules
- Type:
- Default Value:
- Flags:
read-only
WebKit2WebExtension.DOMCSSRuleList
CSSStyleSheet:css-rules
- WebKit2WebExtension.DOMCSSStyleSheet.props.owner_rule¶
- Name:
owner-rule
- Type:
- Default Value:
- Flags:
read-only
WebKit2WebExtension.DOMCSSRule
CSSStyleSheet:owner-rule
- WebKit2WebExtension.DOMCSSStyleSheet.props.rules¶
- Name:
rules
- Type:
- Default Value:
- Flags:
read-only
WebKit2WebExtension.DOMCSSRuleList
CSSStyleSheet:rules