WebKit2WebExtension.DOMHTMLCanvasElement

g GObject.GInterface GObject.GInterface WebKit2WebExtension.DOMEventTarget WebKit2WebExtension.DOMEventTarget GObject.GInterface->WebKit2WebExtension.DOMEventTarget GObject.Object GObject.Object WebKit2WebExtension.DOMObject WebKit2WebExtension.DOMObject GObject.Object->WebKit2WebExtension.DOMObject WebKit2WebExtension.DOMElement WebKit2WebExtension.DOMElement WebKit2WebExtension.DOMHTMLElement WebKit2WebExtension.DOMHTMLElement WebKit2WebExtension.DOMElement->WebKit2WebExtension.DOMHTMLElement WebKit2WebExtension.DOMNode WebKit2WebExtension.DOMNode WebKit2WebExtension.DOMEventTarget->WebKit2WebExtension.DOMNode WebKit2WebExtension.DOMHTMLCanvasElement WebKit2WebExtension.DOMHTMLCanvasElement WebKit2WebExtension.DOMHTMLElement->WebKit2WebExtension.DOMHTMLCanvasElement WebKit2WebExtension.DOMNode->WebKit2WebExtension.DOMElement WebKit2WebExtension.DOMObject->WebKit2WebExtension.DOMNode

Subclasses:

None

Methods

Inherited:

WebKit2WebExtension.DOMHTMLElement (33), WebKit2WebExtension.DOMElement (80), WebKit2WebExtension.DOMNode (36), GObject.Object (37), WebKit2WebExtension.DOMEventTarget (3)

Structs:

GObject.ObjectClass (5)

get_height ()

get_width ()

set_height (value)

set_width (value)

Virtual Methods

Inherited:

GObject.Object (7), WebKit2WebExtension.DOMEventTarget (3)

Properties

Inherited:

WebKit2WebExtension.DOMHTMLElement (14), WebKit2WebExtension.DOMElement (31), WebKit2WebExtension.DOMNode (13), WebKit2WebExtension.DOMObject (1)

Name

Type

Flags

Short Description

height

r/w

read-write int HTMLCanvasElement:height

width

r/w

read-write int HTMLCanvasElement:width

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

WebKit2WebExtension.DOMHTMLElement

r

Class Details

class WebKit2WebExtension.DOMHTMLCanvasElement(**kwargs)
Bases:

WebKit2WebExtension.DOMHTMLElement

Abstract:

No

Structure:

WebKit2WebExtension.DOMHTMLCanvasElementClass

get_height()
Returns:

A int

Return type:

int

Deprecated since version 2.22: Use JavaScriptCore API instead

get_width()
Returns:

A int

Return type:

int

Deprecated since version 2.22: Use JavaScriptCore API instead

set_height(value)
Parameters:

value (int) – A int

Deprecated since version 2.22: Use JavaScriptCore API instead

set_width(value)
Parameters:

value (int) – A int

Deprecated since version 2.22: Use JavaScriptCore API instead

Property Details

WebKit2WebExtension.DOMHTMLCanvasElement.props.height
Name:

height

Type:

Default Value:

0

Flags:

READABLE, WRITABLE

read-write int HTMLCanvasElement:height

WebKit2WebExtension.DOMHTMLCanvasElement.props.width
Name:

width

Type:

Default Value:

0

Flags:

READABLE, WRITABLE

read-write int HTMLCanvasElement:width