WebKit2WebExtension.DOMCSSStyleDeclaration

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

Subclasses:None

Methods

Inherited:GObject.Object (37)
Structs:GObject.ObjectClass (5)
  get_css_text ()
  get_length ()
  get_parent_rule ()
  get_property_priority (propertyName)
  get_property_shorthand (propertyName)
  get_property_value (propertyName)
  is_property_implicit (propertyName)
  item (index)
  remove_property (propertyName)
  set_css_text (value)
  set_property (propertyName, value, priority)

Virtual Methods

Inherited:GObject.Object (7)

Properties

Inherited:WebKit2WebExtension.DOMObject (1)
Name Type Flags Short Description
css-text str r/w read-write str CSSStyleDeclaration:css-text
length int r read-only int CSSStyleDeclaration:length
parent-rule WebKit2WebExtension.DOMCSSRule r read-only WebKit2WebExtension.DOMCSSRule CSSStyleDeclaration:parent-rule

Signals

Inherited:GObject.Object (1)

Fields

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

Class Details

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

Deprecated since version 2.22: Use JavaScriptCore API instead

get_length()
Returns:A int
Return type:int

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_property_priority(propertyName)
Parameters:propertyName (str) – A str
Returns:A str
Return type:str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_property_shorthand(propertyName)
Parameters:propertyName (str) – A str
Returns:A str
Return type:str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_property_value(propertyName)
Parameters:propertyName (str) – A str
Returns:A str
Return type:str

Deprecated since version 2.22: Use JavaScriptCore API instead

is_property_implicit(propertyName)
Parameters:propertyName (str) – A str
Returns:A bool
Return type:bool

Deprecated since version 2.22: Use JavaScriptCore API instead

item(index)
Parameters:index (int) – A int
Returns:A str
Return type:str

Deprecated since version 2.22: Use JavaScriptCore API instead

remove_property(propertyName)
Parameters:propertyName (str) – A str
Raises:GLib.Error
Returns:A str
Return type:str

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

set_property(propertyName, value, priority)
Parameters:
Raises:

GLib.Error

Deprecated since version 2.22: Use JavaScriptCore API instead

Property Details

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

read-write str CSSStyleDeclaration:css-text

WebKit2WebExtension.DOMCSSStyleDeclaration.props.length
Name:length
Type:int
Default Value:0
Flags:READABLE

read-only int CSSStyleDeclaration:length

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

read-only WebKit2WebExtension.DOMCSSRule CSSStyleDeclaration:parent-rule