XApp.MonitorBlanker

g GObject.Object GObject.Object XApp.MonitorBlanker XApp.MonitorBlanker GObject.Object->XApp.MonitorBlanker

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

are_monitors_blanked ()

blank_other_monitors (window)

unblank_monitors ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class XApp.MonitorBlanker(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

XApp.MonitorBlankerClass

classmethod new()
Returns:

a newly created XApp.MonitorBlanker

Return type:

XApp.MonitorBlanker

Creates a new XApp.MonitorBlanker.

are_monitors_blanked()
Returns:

True if monitors are blanked.

Return type:

bool

Returns whether monitors are currently blanked. See XApp.MonitorBlanker.blank_other_monitors().

blank_other_monitors(window)
Parameters:

window (Gtk.Window) – a Gtk.Window

Blanks monitors besides the one where the window is.

unblank_monitors()

Unblanks monitors that were blanked by XApp.MonitorBlanker.blank_other_monitors();