gi-gdk-3.0.10: Gdk bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gdk.Objects.Screen

Contents

Description

 

Synopsis

Exported types

newtype Screen Source #

Constructors

Screen (ManagedPtr Screen) 

Instances

GObject Screen Source # 
IsScreen Screen Source # 
IsObject Screen Source # 
((~) * info (ResolveScreenMethod t Screen), MethodInfo * info Screen p) => IsLabel t (Screen -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> Screen -> p #

((~) * info (ResolveScreenMethod t Screen), MethodInfo * info Screen p) => IsLabelProxy t (Screen -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> Screen -> p

HasAttributeList * Screen Source # 
type SignalList Screen Source # 
type SignalList Screen
type AttributeList Screen Source # 
type AttributeList Screen

class GObject o => IsScreen o Source #

Instances

(GObject a, UnknownAncestorError Constraint Screen a) => IsScreen a Source # 
IsScreen Screen Source # 

Methods

getActiveWindow

data ScreenGetActiveWindowMethodInfo Source #

Instances

((~) * signature (m (Maybe Window)), MonadIO m, IsScreen a) => MethodInfo * ScreenGetActiveWindowMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetActiveWindowMethodInfo a -> signature -> s

getDefault

getDisplay

data ScreenGetDisplayMethodInfo Source #

Instances

((~) * signature (m Display), MonadIO m, IsScreen a) => MethodInfo * ScreenGetDisplayMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetDisplayMethodInfo a -> signature -> s

getFontOptions

data ScreenGetFontOptionsMethodInfo Source #

Instances

((~) * signature (m (Maybe FontOptions)), MonadIO m, IsScreen a) => MethodInfo * ScreenGetFontOptionsMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetFontOptionsMethodInfo a -> signature -> s

screenGetFontOptions :: (MonadIO m, IsScreen a) => a -> m (Maybe FontOptions) Source #

getHeight

data ScreenGetHeightMethodInfo Source #

Instances

((~) * signature (m Int32), MonadIO m, IsScreen a) => MethodInfo * ScreenGetHeightMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetHeightMethodInfo a -> signature -> s

getHeightMm

data ScreenGetHeightMmMethodInfo Source #

Instances

((~) * signature (m Int32), MonadIO m, IsScreen a) => MethodInfo * ScreenGetHeightMmMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetHeightMmMethodInfo a -> signature -> s

getMonitorAtPoint

data ScreenGetMonitorAtPointMethodInfo Source #

Instances

((~) * signature (Int32 -> Int32 -> m Int32), MonadIO m, IsScreen a) => MethodInfo * ScreenGetMonitorAtPointMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetMonitorAtPointMethodInfo a -> signature -> s

getMonitorAtWindow

data ScreenGetMonitorAtWindowMethodInfo Source #

Instances

((~) * signature (b -> m Int32), MonadIO m, IsScreen a, IsWindow b) => MethodInfo * ScreenGetMonitorAtWindowMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetMonitorAtWindowMethodInfo a -> signature -> s

getMonitorGeometry

data ScreenGetMonitorGeometryMethodInfo Source #

Instances

((~) * signature (Int32 -> m Rectangle), MonadIO m, IsScreen a) => MethodInfo * ScreenGetMonitorGeometryMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetMonitorGeometryMethodInfo a -> signature -> s

getMonitorHeightMm

data ScreenGetMonitorHeightMmMethodInfo Source #

Instances

((~) * signature (Int32 -> m Int32), MonadIO m, IsScreen a) => MethodInfo * ScreenGetMonitorHeightMmMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetMonitorHeightMmMethodInfo a -> signature -> s

getMonitorPlugName

data ScreenGetMonitorPlugNameMethodInfo Source #

Instances

((~) * signature (Int32 -> m (Maybe Text)), MonadIO m, IsScreen a) => MethodInfo * ScreenGetMonitorPlugNameMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetMonitorPlugNameMethodInfo a -> signature -> s

getMonitorScaleFactor

data ScreenGetMonitorScaleFactorMethodInfo Source #

Instances

((~) * signature (Int32 -> m Int32), MonadIO m, IsScreen a) => MethodInfo * ScreenGetMonitorScaleFactorMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetMonitorScaleFactorMethodInfo a -> signature -> s

getMonitorWidthMm

data ScreenGetMonitorWidthMmMethodInfo Source #

Instances

((~) * signature (Int32 -> m Int32), MonadIO m, IsScreen a) => MethodInfo * ScreenGetMonitorWidthMmMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetMonitorWidthMmMethodInfo a -> signature -> s

getMonitorWorkarea

data ScreenGetMonitorWorkareaMethodInfo Source #

Instances

((~) * signature (Int32 -> m Rectangle), MonadIO m, IsScreen a) => MethodInfo * ScreenGetMonitorWorkareaMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetMonitorWorkareaMethodInfo a -> signature -> s

getNMonitors

data ScreenGetNMonitorsMethodInfo Source #

Instances

((~) * signature (m Int32), MonadIO m, IsScreen a) => MethodInfo * ScreenGetNMonitorsMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetNMonitorsMethodInfo a -> signature -> s

getNumber

data ScreenGetNumberMethodInfo Source #

Instances

((~) * signature (m Int32), MonadIO m, IsScreen a) => MethodInfo * ScreenGetNumberMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetNumberMethodInfo a -> signature -> s

getPrimaryMonitor

data ScreenGetPrimaryMonitorMethodInfo Source #

Instances

((~) * signature (m Int32), MonadIO m, IsScreen a) => MethodInfo * ScreenGetPrimaryMonitorMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetPrimaryMonitorMethodInfo a -> signature -> s

getResolution

data ScreenGetResolutionMethodInfo Source #

Instances

((~) * signature (m Double), MonadIO m, IsScreen a) => MethodInfo * ScreenGetResolutionMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetResolutionMethodInfo a -> signature -> s

getRgbaVisual

data ScreenGetRgbaVisualMethodInfo Source #

Instances

((~) * signature (m (Maybe Visual)), MonadIO m, IsScreen a) => MethodInfo * ScreenGetRgbaVisualMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetRgbaVisualMethodInfo a -> signature -> s

getRootWindow

data ScreenGetRootWindowMethodInfo Source #

Instances

((~) * signature (m Window), MonadIO m, IsScreen a) => MethodInfo * ScreenGetRootWindowMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetRootWindowMethodInfo a -> signature -> s

getSetting

data ScreenGetSettingMethodInfo Source #

Instances

((~) * signature (Text -> GValue -> m Bool), MonadIO m, IsScreen a) => MethodInfo * ScreenGetSettingMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetSettingMethodInfo a -> signature -> s

screenGetSetting :: (MonadIO m, IsScreen a) => a -> Text -> GValue -> m Bool Source #

getSystemVisual

data ScreenGetSystemVisualMethodInfo Source #

Instances

((~) * signature (m Visual), MonadIO m, IsScreen a) => MethodInfo * ScreenGetSystemVisualMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetSystemVisualMethodInfo a -> signature -> s

getToplevelWindows

data ScreenGetToplevelWindowsMethodInfo Source #

Instances

((~) * signature (m [Window]), MonadIO m, IsScreen a) => MethodInfo * ScreenGetToplevelWindowsMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetToplevelWindowsMethodInfo a -> signature -> s

getWidth

data ScreenGetWidthMethodInfo Source #

Instances

((~) * signature (m Int32), MonadIO m, IsScreen a) => MethodInfo * ScreenGetWidthMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetWidthMethodInfo a -> signature -> s

getWidthMm

data ScreenGetWidthMmMethodInfo Source #

Instances

((~) * signature (m Int32), MonadIO m, IsScreen a) => MethodInfo * ScreenGetWidthMmMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetWidthMmMethodInfo a -> signature -> s

getWindowStack

data ScreenGetWindowStackMethodInfo Source #

Instances

((~) * signature (m [Window]), MonadIO m, IsScreen a) => MethodInfo * ScreenGetWindowStackMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenGetWindowStackMethodInfo a -> signature -> s

height

heightMm

isComposited

data ScreenIsCompositedMethodInfo Source #

Instances

((~) * signature (m Bool), MonadIO m, IsScreen a) => MethodInfo * ScreenIsCompositedMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenIsCompositedMethodInfo a -> signature -> s

listVisuals

data ScreenListVisualsMethodInfo Source #

Instances

((~) * signature (m [Visual]), MonadIO m, IsScreen a) => MethodInfo * ScreenListVisualsMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenListVisualsMethodInfo a -> signature -> s

makeDisplayName

data ScreenMakeDisplayNameMethodInfo Source #

Instances

((~) * signature (m Text), MonadIO m, IsScreen a) => MethodInfo * ScreenMakeDisplayNameMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenMakeDisplayNameMethodInfo a -> signature -> s

screenMakeDisplayName :: (MonadIO m, IsScreen a) => a -> m Text Source #

setFontOptions

data ScreenSetFontOptionsMethodInfo Source #

Instances

((~) * signature (Maybe FontOptions -> m ()), MonadIO m, IsScreen a) => MethodInfo * ScreenSetFontOptionsMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenSetFontOptionsMethodInfo a -> signature -> s

screenSetFontOptions :: (MonadIO m, IsScreen a) => a -> Maybe FontOptions -> m () Source #

setResolution

data ScreenSetResolutionMethodInfo Source #

Instances

((~) * signature (Double -> m ()), MonadIO m, IsScreen a) => MethodInfo * ScreenSetResolutionMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ScreenSetResolutionMethodInfo a -> signature -> s

width

widthMm

Properties

fontOptions

data ScreenFontOptionsPropertyInfo Source #

Instances

AttrInfo ScreenFontOptionsPropertyInfo Source # 

Associated Types

type AttrAllowedOps ScreenFontOptionsPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint ScreenFontOptionsPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint ScreenFontOptionsPropertyInfo :: * -> Constraint

type AttrGetType ScreenFontOptionsPropertyInfo :: *

type AttrLabel ScreenFontOptionsPropertyInfo :: Symbol

type AttrOrigin ScreenFontOptionsPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint ScreenFontOptionsPropertyInfo o => Proxy * ScreenFontOptionsPropertyInfo -> o -> IO (AttrGetType ScreenFontOptionsPropertyInfo)

attrSet :: (AttrBaseTypeConstraint ScreenFontOptionsPropertyInfo o, AttrSetTypeConstraint ScreenFontOptionsPropertyInfo b) => Proxy * ScreenFontOptionsPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint ScreenFontOptionsPropertyInfo o => Proxy * ScreenFontOptionsPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint ScreenFontOptionsPropertyInfo o, AttrSetTypeConstraint ScreenFontOptionsPropertyInfo b) => Proxy * ScreenFontOptionsPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint ScreenFontOptionsPropertyInfo Source # 
type AttrSetTypeConstraint ScreenFontOptionsPropertyInfo = * ~ Ptr ()
type AttrOrigin ScreenFontOptionsPropertyInfo Source # 
type AttrLabel ScreenFontOptionsPropertyInfo Source # 
type AttrLabel ScreenFontOptionsPropertyInfo = "font-options"
type AttrGetType ScreenFontOptionsPropertyInfo Source # 
type AttrGetType ScreenFontOptionsPropertyInfo = Ptr ()
type AttrBaseTypeConstraint ScreenFontOptionsPropertyInfo Source # 
type AttrBaseTypeConstraint ScreenFontOptionsPropertyInfo = IsScreen
type AttrAllowedOps ScreenFontOptionsPropertyInfo Source # 
type AttrAllowedOps ScreenFontOptionsPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

constructScreenFontOptions :: IsScreen o => Ptr () -> IO (GValueConstruct o) Source #

getScreenFontOptions :: (MonadIO m, IsScreen o) => o -> m (Ptr ()) Source #

screenFontOptions :: AttrLabelProxy "fontOptions" Source #

setScreenFontOptions :: (MonadIO m, IsScreen o) => o -> Ptr () -> m () Source #

resolution

data ScreenResolutionPropertyInfo Source #

Instances

AttrInfo ScreenResolutionPropertyInfo Source # 

Associated Types

type AttrAllowedOps ScreenResolutionPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint ScreenResolutionPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint ScreenResolutionPropertyInfo :: * -> Constraint

type AttrGetType ScreenResolutionPropertyInfo :: *

type AttrLabel ScreenResolutionPropertyInfo :: Symbol

type AttrOrigin ScreenResolutionPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint ScreenResolutionPropertyInfo o => Proxy * ScreenResolutionPropertyInfo -> o -> IO (AttrGetType ScreenResolutionPropertyInfo)

attrSet :: (AttrBaseTypeConstraint ScreenResolutionPropertyInfo o, AttrSetTypeConstraint ScreenResolutionPropertyInfo b) => Proxy * ScreenResolutionPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint ScreenResolutionPropertyInfo o => Proxy * ScreenResolutionPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint ScreenResolutionPropertyInfo o, AttrSetTypeConstraint ScreenResolutionPropertyInfo b) => Proxy * ScreenResolutionPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint ScreenResolutionPropertyInfo Source # 
type AttrSetTypeConstraint ScreenResolutionPropertyInfo = * ~ Double
type AttrOrigin ScreenResolutionPropertyInfo Source # 
type AttrLabel ScreenResolutionPropertyInfo Source # 
type AttrLabel ScreenResolutionPropertyInfo = "resolution"
type AttrGetType ScreenResolutionPropertyInfo Source # 
type AttrBaseTypeConstraint ScreenResolutionPropertyInfo Source # 
type AttrBaseTypeConstraint ScreenResolutionPropertyInfo = IsScreen
type AttrAllowedOps ScreenResolutionPropertyInfo Source # 
type AttrAllowedOps ScreenResolutionPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

constructScreenResolution :: IsScreen o => Double -> IO (GValueConstruct o) Source #

screenResolution :: AttrLabelProxy "resolution" Source #

Signals

compositedChanged

data ScreenCompositedChangedSignalInfo Source #

Instances

SignalInfo ScreenCompositedChangedSignalInfo Source # 

Associated Types

type HaskellCallbackType ScreenCompositedChangedSignalInfo :: *

Methods

connectSignal :: GObject o => SignalProxy o ScreenCompositedChangedSignalInfo -> o -> HaskellCallbackType ScreenCompositedChangedSignalInfo -> SignalConnectMode -> IO SignalHandlerId

type HaskellCallbackType ScreenCompositedChangedSignalInfo Source # 

afterScreenCompositedChanged :: (GObject a, MonadIO m) => a -> ScreenCompositedChangedCallback -> m SignalHandlerId Source #

onScreenCompositedChanged :: (GObject a, MonadIO m) => a -> ScreenCompositedChangedCallback -> m SignalHandlerId Source #

monitorsChanged

data ScreenMonitorsChangedSignalInfo Source #

Instances

SignalInfo ScreenMonitorsChangedSignalInfo Source # 

Associated Types

type HaskellCallbackType ScreenMonitorsChangedSignalInfo :: *

Methods

connectSignal :: GObject o => SignalProxy o ScreenMonitorsChangedSignalInfo -> o -> HaskellCallbackType ScreenMonitorsChangedSignalInfo -> SignalConnectMode -> IO SignalHandlerId

type HaskellCallbackType ScreenMonitorsChangedSignalInfo Source # 

afterScreenMonitorsChanged :: (GObject a, MonadIO m) => a -> ScreenMonitorsChangedCallback -> m SignalHandlerId Source #

onScreenMonitorsChanged :: (GObject a, MonadIO m) => a -> ScreenMonitorsChangedCallback -> m SignalHandlerId Source #

sizeChanged

data ScreenSizeChangedSignalInfo Source #

Instances

SignalInfo ScreenSizeChangedSignalInfo Source # 

Associated Types

type HaskellCallbackType ScreenSizeChangedSignalInfo :: *

Methods

connectSignal :: GObject o => SignalProxy o ScreenSizeChangedSignalInfo -> o -> HaskellCallbackType ScreenSizeChangedSignalInfo -> SignalConnectMode -> IO SignalHandlerId

type HaskellCallbackType ScreenSizeChangedSignalInfo Source # 

afterScreenSizeChanged :: (GObject a, MonadIO m) => a -> ScreenSizeChangedCallback -> m SignalHandlerId Source #

onScreenSizeChanged :: (GObject a, MonadIO m) => a -> ScreenSizeChangedCallback -> m SignalHandlerId Source #