WebKit2WebExtension.DOMDOMWindow

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.DOMDOMWindow WebKit2WebExtension.DOMDOMWindow WebKit2WebExtension.DOMEventTarget->WebKit2WebExtension.DOMDOMWindow WebKit2WebExtension.DOMObject->WebKit2WebExtension.DOMDOMWindow

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

alert (message)

blur ()

capture_events ()

close ()

confirm (message)

find (string, caseSensitive, backwards, wrap, wholeWord, searchInFrames, showDialog)

focus ()

get_closed ()

get_computed_style (element, pseudoElement)

get_default_status ()

get_device_pixel_ratio ()

get_document ()

get_frame_element ()

get_frames ()

get_inner_height ()

get_inner_width ()

get_length ()

get_name ()

get_offscreen_buffering ()

get_opener ()

get_orientation ()

get_outer_height ()

get_outer_width ()

get_page_x_offset ()

get_page_y_offset ()

get_parent ()

get_screen_left ()

get_screen_top ()

get_screen_x ()

get_screen_y ()

get_scroll_x ()

get_scroll_y ()

get_selection ()

get_self ()

get_status ()

get_top ()

get_window ()

move_by (x, y)

move_to (x, y)

print_ ()

prompt (message, defaultValue)

release_events ()

resize_by (x, y)

resize_to (width, height)

scroll_by (x, y)

scroll_to (x, y)

set_default_status (value)

set_name (value)

set_status (value)

stop ()

webkit_message_handlers_post_message (handler, message)

Virtual Methods

Inherited:

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

Properties

Inherited:

WebKit2WebExtension.DOMObject (1)

Name

Type

Flags

Short Description

closed

bool

r

read-only bool DOMWindow:closed

default-status

str

r/w

read-write str DOMWindow:default-status

device-pixel-ratio

float

r

read-only float DOMWindow:device-pixel-ratio

document

WebKit2WebExtension.DOMDocument

r

read-only WebKit2WebExtension.DOMDocument DOMWindow:document

frame-element

WebKit2WebExtension.DOMElement

r

read-only WebKit2WebExtension.DOMElement DOMWindow:frame-element

frames

WebKit2WebExtension.DOMDOMWindow

r

read-only WebKit2WebExtension.DOMDOMWindow DOMWindow:frames

inner-height

r

read-only int DOMWindow:inner-height

inner-width

r

read-only int DOMWindow:inner-width

length

int

r

read-only int DOMWindow:length

name

str

r/w

read-write str DOMWindow:name

offscreen-buffering

bool

r

read-only bool DOMWindow:offscreen-buffering

opener

WebKit2WebExtension.DOMDOMWindow

r

read-only WebKit2WebExtension.DOMDOMWindow DOMWindow:opener

orientation

r

read-only int DOMWindow:orientation

outer-height

r

read-only int DOMWindow:outer-height

outer-width

r

read-only int DOMWindow:outer-width

page-x-offset

r

read-only int DOMWindow:page-x-offset

page-y-offset

r

read-only int DOMWindow:page-y-offset

parent

WebKit2WebExtension.DOMDOMWindow

r

read-only WebKit2WebExtension.DOMDOMWindow DOMWindow:parent

screen-left

r

read-only int DOMWindow:screen-left

screen-top

r

read-only int DOMWindow:screen-top

screen-x

r

read-only int DOMWindow:screen-x

screen-y

r

read-only int DOMWindow:screen-y

scroll-x

r

read-only int DOMWindow:scroll-x

scroll-y

r

read-only int DOMWindow:scroll-y

self

WebKit2WebExtension.DOMDOMWindow

r

read-only WebKit2WebExtension.DOMDOMWindow DOMWindow:self

status

str

r/w

read-write str DOMWindow:status

top

WebKit2WebExtension.DOMDOMWindow

r

read-only WebKit2WebExtension.DOMDOMWindow DOMWindow:top

window

WebKit2WebExtension.DOMDOMWindow

r

read-only WebKit2WebExtension.DOMDOMWindow DOMWindow:window

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

WebKit2WebExtension.DOMObject

r

Class Details

class WebKit2WebExtension.DOMDOMWindow(**kwargs)
Bases:

WebKit2WebExtension.DOMObject, WebKit2WebExtension.DOMEventTarget

Abstract:

No

Structure:

WebKit2WebExtension.DOMDOMWindowClass

alert(message)
Parameters:

message (str) – A str

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

blur()

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

capture_events()

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

close()

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

confirm(message)
Parameters:

message (str) – A str

Returns:

A bool

Return type:

bool

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

find(string, caseSensitive, backwards, wrap, wholeWord, searchInFrames, showDialog)
Parameters:
Returns:

A bool

Return type:

bool

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

focus()

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_closed()
Returns:

A bool

Return type:

bool

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_computed_style(element, pseudoElement)
Parameters:
Returns:

A WebKit2WebExtension.DOMCSSStyleDeclaration

Return type:

WebKit2WebExtension.DOMCSSStyleDeclaration

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_default_status()
Returns:

A str

Return type:

str

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_device_pixel_ratio()
Returns:

A float

Return type:

float

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_document()
Returns:

A WebKit2WebExtension.DOMDocument

Return type:

WebKit2WebExtension.DOMDocument

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_frame_element()
Returns:

A WebKit2WebExtension.DOMElement

Return type:

WebKit2WebExtension.DOMElement

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_frames()
Returns:

A WebKit2WebExtension.DOMDOMWindow

Return type:

WebKit2WebExtension.DOMDOMWindow

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_inner_height()
Returns:

A int

Return type:

int

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_inner_width()
Returns:

A int

Return type:

int

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_length()
Returns:

A int

Return type:

int

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_name()
Returns:

A str

Return type:

str

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_offscreen_buffering()
Returns:

A bool

Return type:

bool

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_opener()
Returns:

A WebKit2WebExtension.DOMDOMWindow

Return type:

WebKit2WebExtension.DOMDOMWindow

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_orientation()
Returns:

A int

Return type:

int

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_outer_height()
Returns:

A int

Return type:

int

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_outer_width()
Returns:

A int

Return type:

int

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_page_x_offset()
Returns:

A int

Return type:

int

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_page_y_offset()
Returns:

A int

Return type:

int

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_parent()
Returns:

A WebKit2WebExtension.DOMDOMWindow

Return type:

WebKit2WebExtension.DOMDOMWindow

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_screen_left()
Returns:

A int

Return type:

int

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_screen_top()
Returns:

A int

Return type:

int

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_screen_x()
Returns:

A int

Return type:

int

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_screen_y()
Returns:

A int

Return type:

int

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_scroll_x()
Returns:

A int

Return type:

int

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_scroll_y()
Returns:

A int

Return type:

int

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_selection()
Returns:

A WebKit2WebExtension.DOMDOMSelection

Return type:

WebKit2WebExtension.DOMDOMSelection

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_self()
Returns:

A WebKit2WebExtension.DOMDOMWindow

Return type:

WebKit2WebExtension.DOMDOMWindow

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_status()
Returns:

A str

Return type:

str

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_top()
Returns:

A WebKit2WebExtension.DOMDOMWindow

Return type:

WebKit2WebExtension.DOMDOMWindow

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

get_window()
Returns:

A WebKit2WebExtension.DOMDOMWindow

Return type:

WebKit2WebExtension.DOMDOMWindow

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

move_by(x, y)
Parameters:

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

move_to(x, y)
Parameters:

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

print_()

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

prompt(message, defaultValue)
Parameters:
Returns:

A str

Return type:

str

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

release_events()

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

resize_by(x, y)
Parameters:

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

resize_to(width, height)
Parameters:

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

scroll_by(x, y)
Parameters:

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

scroll_to(x, y)
Parameters:

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

set_default_status(value)
Parameters:

value (str) – A str

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

set_name(value)
Parameters:

value (str) – A str

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

set_status(value)
Parameters:

value (str) – A str

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

stop()

New in version 2.16.

Deprecated since version 2.22: Use JavaScriptCore API instead

webkit_message_handlers_post_message(handler, message)
Parameters:
  • handler (str) –

  • message (str) –

Return type:

bool

Property Details

WebKit2WebExtension.DOMDOMWindow.props.closed
Name:

closed

Type:

bool

Default Value:

False

Flags:

READABLE

read-only bool DOMWindow:closed

WebKit2WebExtension.DOMDOMWindow.props.default_status
Name:

default-status

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

read-write str DOMWindow:default-status

WebKit2WebExtension.DOMDOMWindow.props.device_pixel_ratio
Name:

device-pixel-ratio

Type:

float

Default Value:

0.0

Flags:

READABLE

read-only float DOMWindow:device-pixel-ratio

WebKit2WebExtension.DOMDOMWindow.props.document
Name:

document

Type:

WebKit2WebExtension.DOMDocument

Default Value:

None

Flags:

READABLE

read-only WebKit2WebExtension.DOMDocument DOMWindow:document

WebKit2WebExtension.DOMDOMWindow.props.frame_element
Name:

frame-element

Type:

WebKit2WebExtension.DOMElement

Default Value:

None

Flags:

READABLE

read-only WebKit2WebExtension.DOMElement DOMWindow:frame-element

WebKit2WebExtension.DOMDOMWindow.props.frames
Name:

frames

Type:

WebKit2WebExtension.DOMDOMWindow

Default Value:

None

Flags:

READABLE

read-only WebKit2WebExtension.DOMDOMWindow DOMWindow:frames

WebKit2WebExtension.DOMDOMWindow.props.inner_height
Name:

inner-height

Type:

Default Value:

0

Flags:

READABLE

read-only int DOMWindow:inner-height

WebKit2WebExtension.DOMDOMWindow.props.inner_width
Name:

inner-width

Type:

Default Value:

0

Flags:

READABLE

read-only int DOMWindow:inner-width

WebKit2WebExtension.DOMDOMWindow.props.length
Name:

length

Type:

int

Default Value:

0

Flags:

READABLE

read-only int DOMWindow:length

WebKit2WebExtension.DOMDOMWindow.props.name
Name:

name

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

read-write str DOMWindow:name

WebKit2WebExtension.DOMDOMWindow.props.offscreen_buffering
Name:

offscreen-buffering

Type:

bool

Default Value:

False

Flags:

READABLE

read-only bool DOMWindow:offscreen-buffering

WebKit2WebExtension.DOMDOMWindow.props.opener
Name:

opener

Type:

WebKit2WebExtension.DOMDOMWindow

Default Value:

None

Flags:

READABLE

read-only WebKit2WebExtension.DOMDOMWindow DOMWindow:opener

WebKit2WebExtension.DOMDOMWindow.props.orientation
Name:

orientation

Type:

Default Value:

0

Flags:

READABLE

read-only int DOMWindow:orientation

WebKit2WebExtension.DOMDOMWindow.props.outer_height
Name:

outer-height

Type:

Default Value:

0

Flags:

READABLE

read-only int DOMWindow:outer-height

WebKit2WebExtension.DOMDOMWindow.props.outer_width
Name:

outer-width

Type:

Default Value:

0

Flags:

READABLE

read-only int DOMWindow:outer-width

WebKit2WebExtension.DOMDOMWindow.props.page_x_offset
Name:

page-x-offset

Type:

Default Value:

0

Flags:

READABLE

read-only int DOMWindow:page-x-offset

WebKit2WebExtension.DOMDOMWindow.props.page_y_offset
Name:

page-y-offset

Type:

Default Value:

0

Flags:

READABLE

read-only int DOMWindow:page-y-offset

WebKit2WebExtension.DOMDOMWindow.props.parent
Name:

parent

Type:

WebKit2WebExtension.DOMDOMWindow

Default Value:

None

Flags:

READABLE

read-only WebKit2WebExtension.DOMDOMWindow DOMWindow:parent

WebKit2WebExtension.DOMDOMWindow.props.screen_left
Name:

screen-left

Type:

Default Value:

0

Flags:

READABLE

read-only int DOMWindow:screen-left

WebKit2WebExtension.DOMDOMWindow.props.screen_top
Name:

screen-top

Type:

Default Value:

0

Flags:

READABLE

read-only int DOMWindow:screen-top

WebKit2WebExtension.DOMDOMWindow.props.screen_x
Name:

screen-x

Type:

Default Value:

0

Flags:

READABLE

read-only int DOMWindow:screen-x

WebKit2WebExtension.DOMDOMWindow.props.screen_y
Name:

screen-y

Type:

Default Value:

0

Flags:

READABLE

read-only int DOMWindow:screen-y

WebKit2WebExtension.DOMDOMWindow.props.scroll_x
Name:

scroll-x

Type:

Default Value:

0

Flags:

READABLE

read-only int DOMWindow:scroll-x

WebKit2WebExtension.DOMDOMWindow.props.scroll_y
Name:

scroll-y

Type:

Default Value:

0

Flags:

READABLE

read-only int DOMWindow:scroll-y

WebKit2WebExtension.DOMDOMWindow.props.self
Name:

self

Type:

WebKit2WebExtension.DOMDOMWindow

Default Value:

None

Flags:

READABLE

read-only WebKit2WebExtension.DOMDOMWindow DOMWindow:self

WebKit2WebExtension.DOMDOMWindow.props.status
Name:

status

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

read-write str DOMWindow:status

WebKit2WebExtension.DOMDOMWindow.props.top
Name:

top

Type:

WebKit2WebExtension.DOMDOMWindow

Default Value:

None

Flags:

READABLE

read-only WebKit2WebExtension.DOMDOMWindow DOMWindow:top

WebKit2WebExtension.DOMDOMWindow.props.window
Name:

window

Type:

WebKit2WebExtension.DOMDOMWindow

Default Value:

None

Flags:

READABLE

read-only WebKit2WebExtension.DOMDOMWindow DOMWindow:window