WebKit2WebExtension.DOMCSSRule

g GObject.Object GObject.Object WebKit2WebExtension.DOMObject WebKit2WebExtension.DOMObject GObject.Object->WebKit2WebExtension.DOMObject WebKit2WebExtension.DOMCSSRule WebKit2WebExtension.DOMCSSRule WebKit2WebExtension.DOMObject->WebKit2WebExtension.DOMCSSRule

Subclasses:None

Virtual Methods

Inherited:GObject.Object (7)

Properties

Inherited:WebKit2WebExtension.DOMObject (1)
Name Type Flags Short Description
css-text str r/w read-write str CSSRule:css-text
parent-rule WebKit2WebExtension.DOMCSSRule r read-only WebKit2WebExtension.DOMCSSRule CSSRule:parent-rule
parent-style-sheet WebKit2WebExtension.DOMCSSStyleSheet r read-only WebKit2WebExtension.DOMCSSStyleSheet CSSRule:parent-style-sheet
type int r read-only gushort CSSRule:type

Signals

Inherited:GObject.Object (1)

Fields

Inherited:GObject.Object (1)
Name Type Access Description
parent_instance WebKit2WebExtension.DOMObject r  

Class Details

class WebKit2WebExtension.DOMCSSRule(**kwargs)
Bases:WebKit2WebExtension.DOMObject
Abstract:No
Structure:WebKit2WebExtension.DOMCSSRuleClass
get_css_text()
Returns:A str
Return type:str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_parent_rule()
Returns:A WebKit2WebExtension.DOMCSSRule
Return type:WebKit2WebExtension.DOMCSSRule

Deprecated since version 2.22: Use JavaScriptCore API instead

get_parent_style_sheet()
Returns:A WebKit2WebExtension.DOMCSSStyleSheet
Return type:WebKit2WebExtension.DOMCSSStyleSheet

Deprecated since version 2.22: Use JavaScriptCore API instead

get_rule_type()
Returns:A #gushort
Return type:int

Deprecated since version 2.22: Use JavaScriptCore API instead

set_css_text(value)
Parameters:value (str) – A str
Raises:GLib.Error

Deprecated since version 2.22: Use JavaScriptCore API instead

Property Details

WebKit2WebExtension.DOMCSSRule.props.css_text
Name:css-text
Type:str
Default Value:''
Flags:READABLE, WRITABLE

read-write str CSSRule:css-text

WebKit2WebExtension.DOMCSSRule.props.parent_rule
Name:parent-rule
Type:WebKit2WebExtension.DOMCSSRule
Default Value:None
Flags:READABLE

read-only WebKit2WebExtension.DOMCSSRule CSSRule:parent-rule

WebKit2WebExtension.DOMCSSRule.props.parent_style_sheet
Name:parent-style-sheet
Type:WebKit2WebExtension.DOMCSSStyleSheet
Default Value:None
Flags:READABLE

read-only WebKit2WebExtension.DOMCSSStyleSheet CSSRule:parent-style-sheet

WebKit2WebExtension.DOMCSSRule.props.type
Name:type
Type:int
Default Value:0
Flags:READABLE

read-only gushort CSSRule:type