Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype X11Monitor = X11Monitor (ManagedPtr X11Monitor)
- class (GObject o, IsDescendantOf X11Monitor o) => IsX11Monitor o
- toX11Monitor :: (MonadIO m, IsX11Monitor o) => o -> m X11Monitor
- x11MonitorGetOutput :: (HasCallStack, MonadIO m, IsX11Monitor a) => a -> m CULong
- x11MonitorGetWorkarea :: (HasCallStack, MonadIO m, IsX11Monitor a) => a -> m Rectangle
Exported types
newtype X11Monitor Source #
Memory-managed wrapper type.
X11Monitor (ManagedPtr X11Monitor) |
Instances
Eq X11Monitor Source # | |
Defined in GI.GdkX11.Objects.X11Monitor (==) :: X11Monitor -> X11Monitor -> Bool # (/=) :: X11Monitor -> X11Monitor -> Bool # | |
GObject X11Monitor Source # | |
Defined in GI.GdkX11.Objects.X11Monitor | |
ManagedPtrNewtype X11Monitor Source # | |
Defined in GI.GdkX11.Objects.X11Monitor toManagedPtr :: X11Monitor -> ManagedPtr X11Monitor | |
TypedObject X11Monitor Source # | |
Defined in GI.GdkX11.Objects.X11Monitor | |
HasParentTypes X11Monitor Source # | |
Defined in GI.GdkX11.Objects.X11Monitor | |
IsGValue (Maybe X11Monitor) Source # | Convert |
Defined in GI.GdkX11.Objects.X11Monitor gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe X11Monitor -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe X11Monitor) | |
type ParentTypes X11Monitor Source # | |
Defined in GI.GdkX11.Objects.X11Monitor type ParentTypes X11Monitor = '[Monitor, Object] |
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
(GObject o, IsDescendantOf X11Monitor o) => IsX11Monitor o Source # | |
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
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, isValid, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getConnector, getData, getDescription, getDisplay, getGeometry, getHeightMm, getManufacturer, getModel, getOutput, getProperty, getQdata, getRefreshRate, getScaleFactor, getSubpixelLayout, getWidthMm, getWorkarea.
Setters
getOutput
:: (HasCallStack, MonadIO m, IsX11Monitor a) | |
=> a |
|
-> m CULong | Returns: the XID of |
Returns the XID of the Output corresponding to monitor
.
getWorkarea
x11MonitorGetWorkarea Source #
:: (HasCallStack, MonadIO m, IsX11Monitor a) | |
=> a |
|
-> 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
).