GdkX11.X11Monitor

g GObject.Object GObject.Object Gdk.Monitor Gdk.Monitor GObject.Object->Gdk.Monitor GdkX11.X11Monitor GdkX11.X11Monitor Gdk.Monitor->GdkX11.X11Monitor

Subclasses:

None

Methods

Inherited:

Gdk.Monitor (13), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_output ()

get_workarea ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

Gdk.Monitor (13)

Signals

Inherited:

Gdk.Monitor (1), GObject.Object (1)

Fields

Inherited:

Gdk.Monitor (1), GObject.Object (1)

Class Details

class GdkX11.X11Monitor(**kwargs)
Bases:

Gdk.Monitor

Abstract:

No

Structure:

GdkX11.X11MonitorClass

get_output()[source]
Returns:

the XID of self

Return type:

int

Returns the XID of the Output corresponding to self.

Deprecated since version 4.18.

get_workarea()[source]
Returns:

a GdkRectangle to be filled with the monitor workarea

Return type:

workarea: Gdk.Rectangle

Retrieves the size and position of the “work area” on a monitor within the display coordinate space.

The returned geometry is in ”application pixels”, not in ”device pixels” (see [method`Gdk`.Monitor.get_scale_factor]).

Deprecated since version 4.18.