WebKit2WebExtension.DOMClientRect

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

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_bottom ()

get_height ()

get_left ()

get_right ()

get_top ()

get_width ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

WebKit2WebExtension.DOMObject (1)

Name

Type

Flags

Short Description

bottom

float

r

read-only float ClientRect:bottom

height

float

r

read-only float ClientRect:height

left

float

r

read-only float ClientRect:left

right

float

r

read-only float ClientRect:right

top

float

r

read-only float ClientRect:top

width

float

r

read-only float ClientRect:width

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

WebKit2WebExtension.DOMObject

r

Class Details

class WebKit2WebExtension.DOMClientRect(**kwargs)
Bases:

WebKit2WebExtension.DOMObject

Abstract:

No

Structure:

WebKit2WebExtension.DOMClientRectClass

get_bottom()
Returns:

A float

Return type:

float

Returns the bottom coordinate of self, relative to the viewport.

New in version 2.18.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_height()
Returns:

A float

Return type:

float

Returns the height of self.

New in version 2.18.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_left()
Returns:

A float

Return type:

float

Returns the left coordinate of self, relative to the viewport.

New in version 2.18.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_right()
Returns:

A float

Return type:

float

Returns the right coordinate of self, relative to the viewport.

New in version 2.18.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_top()
Returns:

A float

Return type:

float

Returns the top coordinate of self, relative to the viewport.

New in version 2.18.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_width()
Returns:

A float

Return type:

float

Returns the width of self.

New in version 2.18.

Deprecated since version 2.22: Use JavaScriptCore API instead

Property Details

WebKit2WebExtension.DOMClientRect.props.bottom
Name:

bottom

Type:

float

Default Value:

0.0

Flags:

READABLE

read-only float ClientRect:bottom

WebKit2WebExtension.DOMClientRect.props.height
Name:

height

Type:

float

Default Value:

0.0

Flags:

READABLE

read-only float ClientRect:height

WebKit2WebExtension.DOMClientRect.props.left
Name:

left

Type:

float

Default Value:

0.0

Flags:

READABLE

read-only float ClientRect:left

WebKit2WebExtension.DOMClientRect.props.right
Name:

right

Type:

float

Default Value:

0.0

Flags:

READABLE

read-only float ClientRect:right

WebKit2WebExtension.DOMClientRect.props.top
Name:

top

Type:

float

Default Value:

0.0

Flags:

READABLE

read-only float ClientRect:top

WebKit2WebExtension.DOMClientRect.props.width
Name:

width

Type:

float

Default Value:

0.0

Flags:

READABLE

read-only float ClientRect:width