gi-gdkx11-4.0.4: GdkX11 bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GdkX11.Objects.X11Monitor

Description

No description available in the introspection data.

Synopsis

Exported types

newtype X11Monitor Source #

Memory-managed wrapper type.

class (GObject o, IsDescendantOf X11Monitor o) => IsX11Monitor o Source #

Type class for types which can be safely cast to X11Monitor, for instance with toX11Monitor.

Instances

Instances details
(GObject o, IsDescendantOf X11Monitor o) => IsX11Monitor o Source # 
Instance details

Defined in GI.GdkX11.Objects.X11Monitor

toX11Monitor :: (MonadIO m, IsX11Monitor o) => o -> m X11Monitor Source #

Cast to X11Monitor, for types for which this is known to be safe. For general casts, use castTo.

Methods

getOutput

x11MonitorGetOutput Source #

Arguments

:: (HasCallStack, MonadIO m, IsX11Monitor a) 
=> a

monitor: a GdkMonitor

-> m CULong

Returns: the XID of monitor

Returns the XID of the Output corresponding to monitor.

getWorkarea

x11MonitorGetWorkarea Source #

Arguments

:: (HasCallStack, MonadIO m, IsX11Monitor a) 
=> a

monitor: a GdkMonitor

-> m 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 monitorGetScaleFactor).