WebKit2WebExtension.DOMStyleSheet

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

Subclasses:WebKit2WebExtension.DOMCSSStyleSheet

Virtual Methods

Inherited:GObject.Object (7)

Properties

Inherited:WebKit2WebExtension.DOMObject (1)
Name Type Flags Short Description
disabled bool r/w read-write bool StyleSheet:disabled
href str r read-only str StyleSheet:href
media WebKit2WebExtension.DOMMediaList r read-only WebKit2WebExtension.DOMMediaList StyleSheet:media
owner-node WebKit2WebExtension.DOMNode r read-only WebKit2WebExtension.DOMNode StyleSheet:owner-node
parent-style-sheet WebKit2WebExtension.DOMStyleSheet r read-only WebKit2WebExtension.DOMStyleSheet StyleSheet:parent-style-sheet
title str r read-only str StyleSheet:title
type str r read-only str StyleSheet:type

Signals

Inherited:GObject.Object (1)

Fields

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

Class Details

class WebKit2WebExtension.DOMStyleSheet(**kwargs)
Bases:WebKit2WebExtension.DOMObject
Abstract:No
Structure:WebKit2WebExtension.DOMStyleSheetClass
get_content_type()
Returns:A str
Return type:str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_disabled()
Returns:A bool
Return type:bool

Deprecated since version 2.22: Use JavaScriptCore API instead

get_href()
Returns:A str
Return type:str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_media()
Returns:A WebKit2WebExtension.DOMMediaList
Return type:WebKit2WebExtension.DOMMediaList

Deprecated since version 2.22: Use JavaScriptCore API instead

get_owner_node()
Returns:A WebKit2WebExtension.DOMNode
Return type:WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

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

Deprecated since version 2.22: Use JavaScriptCore API instead

get_title()
Returns:A str
Return type:str

Deprecated since version 2.22: Use JavaScriptCore API instead

set_disabled(value)
Parameters:value (bool) – A bool

Deprecated since version 2.22: Use JavaScriptCore API instead

Property Details

WebKit2WebExtension.DOMStyleSheet.props.disabled
Name:disabled
Type:bool
Default Value:False
Flags:READABLE, WRITABLE

read-write bool StyleSheet:disabled

WebKit2WebExtension.DOMStyleSheet.props.href
Name:href
Type:str
Default Value:''
Flags:READABLE

read-only str StyleSheet:href

WebKit2WebExtension.DOMStyleSheet.props.media
Name:media
Type:WebKit2WebExtension.DOMMediaList
Default Value:None
Flags:READABLE

read-only WebKit2WebExtension.DOMMediaList StyleSheet:media

WebKit2WebExtension.DOMStyleSheet.props.owner_node
Name:owner-node
Type:WebKit2WebExtension.DOMNode
Default Value:None
Flags:READABLE

read-only WebKit2WebExtension.DOMNode StyleSheet:owner-node

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

read-only WebKit2WebExtension.DOMStyleSheet StyleSheet:parent-style-sheet

WebKit2WebExtension.DOMStyleSheet.props.title
Name:title
Type:str
Default Value:''
Flags:READABLE

read-only str StyleSheet:title

WebKit2WebExtension.DOMStyleSheet.props.type
Name:type
Type:str
Default Value:''
Flags:READABLE

read-only str StyleSheet:type