gi-gdk-0.3.18.13: 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.Device

Contents

Description

 

Synopsis

Exported types

newtype Device Source

Constructors

Device (ForeignPtr Device) 

Instances

GObject Device Source 
((~) * info (ResolveDeviceMethod t Device), MethodInfo * info Device p) => IsLabel t (Device -> p) Source 

Methods

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

((~) * info (ResolveDeviceMethod t Device), MethodInfo * info Device p) => IsLabelProxy t (Device -> p) Source 

Methods

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

type ParentTypes Device Source 
type AttributeList Device Source 
type SignalList Device Source 

class GObject o => DeviceK o Source

Instances

Methods

deviceGetAssociatedDevice

deviceGetAxisUse

deviceGetDeviceType

deviceGetDisplay

deviceGetHasCursor

deviceGetKey

deviceGetLastEventWindow

deviceGetMode

deviceGetNAxes

deviceGetNKeys

deviceGetName

data DeviceGetNameMethodInfo Source

Instances

((~) (TYPE Lifted) signature (m Text), MonadIO m, DeviceK a) => MethodInfo (TYPE Lifted) DeviceGetNameMethodInfo a signature Source 

deviceGetPosition

deviceGetPositionDouble

deviceGetProductId

deviceGetSource

deviceGetVendorId

deviceGetWindowAtPosition

deviceGetWindowAtPositionDouble

deviceGrab

data DeviceGrabMethodInfo Source

Instances

((~) (TYPE Lifted) signature (b -> GrabOwnership -> Bool -> [EventMask] -> Maybe c -> Word32 -> m GrabStatus), MonadIO m, DeviceK a, WindowK b, CursorK c) => MethodInfo (TYPE Lifted) DeviceGrabMethodInfo a signature Source 

Methods

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

deviceGrab :: (MonadIO m, DeviceK a, WindowK b, CursorK c) => a -> b -> GrabOwnership -> Bool -> [EventMask] -> Maybe c -> Word32 -> m GrabStatus Source

deviceGrabInfoLibgtkOnly

deviceGrabInfoLibgtkOnly :: (MonadIO m, DisplayK a, DeviceK b) => a -> b -> m (Bool, Window, Bool) Source

Deprecated: (Since version 3.16)The symbol was never meant to be used outside of GTK+

deviceListAxes

data DeviceListAxesMethodInfo Source

Instances

((~) (TYPE Lifted) signature (m [Atom]), MonadIO m, DeviceK a) => MethodInfo (TYPE Lifted) DeviceListAxesMethodInfo a signature Source 

deviceListAxes :: (MonadIO m, DeviceK a) => a -> m [Atom] Source

deviceListSlaveDevices

deviceSetAxisUse

deviceSetAxisUse :: (MonadIO m, DeviceK a) => a -> Word32 -> AxisUse -> m () Source

deviceSetKey

data DeviceSetKeyMethodInfo Source

Instances

((~) (TYPE Lifted) signature (Word32 -> Word32 -> [ModifierType] -> m ()), MonadIO m, DeviceK a) => MethodInfo (TYPE Lifted) DeviceSetKeyMethodInfo a signature Source 

deviceSetKey :: (MonadIO m, DeviceK a) => a -> Word32 -> Word32 -> [ModifierType] -> m () Source

deviceSetMode

deviceUngrab

data DeviceUngrabMethodInfo Source

Instances

((~) (TYPE Lifted) signature (Word32 -> m ()), MonadIO m, DeviceK a) => MethodInfo (TYPE Lifted) DeviceUngrabMethodInfo a signature Source 

deviceUngrab :: (MonadIO m, DeviceK a) => a -> Word32 -> m () Source

deviceWarp

data DeviceWarpMethodInfo Source

Instances

((~) (TYPE Lifted) signature (b -> Int32 -> Int32 -> m ()), MonadIO m, DeviceK a, ScreenK b) => MethodInfo (TYPE Lifted) DeviceWarpMethodInfo a signature Source 

Methods

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

deviceWarp :: (MonadIO m, DeviceK a, ScreenK b) => a -> b -> Int32 -> Int32 -> m () Source

Properties

AssociatedDevice

DeviceManager

Display

HasCursor

InputMode

InputSource

NAxes

Name

ProductId

Type

VendorId

Signals

Changed

type DeviceChangedCallbackC = Ptr () -> Ptr () -> IO () Source