gi-gdk-3.0.23: Gdk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gdk.Structs.EventPadGroupMode

Description

Generated during InputSourceTabletPad mode switches in a group.

Since: 3.22

Synopsis

Exported types

newtype EventPadGroupMode Source #

Memory-managed wrapper type.

Constructors

EventPadGroupMode (ManagedPtr EventPadGroupMode) 

Instances

Instances details
Eq EventPadGroupMode Source # 
Instance details

Defined in GI.Gdk.Structs.EventPadGroupMode

BoxedPtr EventPadGroupMode Source # 
Instance details

Defined in GI.Gdk.Structs.EventPadGroupMode

CallocPtr EventPadGroupMode Source # 
Instance details

Defined in GI.Gdk.Structs.EventPadGroupMode

ManagedPtrNewtype EventPadGroupMode Source # 
Instance details

Defined in GI.Gdk.Structs.EventPadGroupMode

tag ~ 'AttrSet => Constructible EventPadGroupMode tag Source # 
Instance details

Defined in GI.Gdk.Structs.EventPadGroupMode

Methods

new :: MonadIO m => (ManagedPtr EventPadGroupMode -> EventPadGroupMode) -> [AttrOp EventPadGroupMode tag] -> m EventPadGroupMode

newZeroEventPadGroupMode :: MonadIO m => m EventPadGroupMode Source #

Construct a EventPadGroupMode struct initialized to zero.

Methods

Overloaded methods

Properties

group

the pad group that is switching mode. A InputSourceTabletPad device may have one or more groups containing a set of buttons/rings/strips each.

getEventPadGroupModeGroup :: MonadIO m => EventPadGroupMode -> m Word32 Source #

Get the value of the “group” field. When overloading is enabled, this is equivalent to

get eventPadGroupMode #group

setEventPadGroupModeGroup :: MonadIO m => EventPadGroupMode -> Word32 -> m () Source #

Set the value of the “group” field. When overloading is enabled, this is equivalent to

set eventPadGroupMode [ #group := value ]

mode

The new mode of group. Different groups in a InputSourceTabletPad device may have different current modes.

getEventPadGroupModeMode :: MonadIO m => EventPadGroupMode -> m Word32 Source #

Get the value of the “mode” field. When overloading is enabled, this is equivalent to

get eventPadGroupMode #mode

setEventPadGroupModeMode :: MonadIO m => EventPadGroupMode -> Word32 -> m () Source #

Set the value of the “mode” field. When overloading is enabled, this is equivalent to

set eventPadGroupMode [ #mode := value ]

sendEvent

True if the event was sent explicitly.

getEventPadGroupModeSendEvent :: MonadIO m => EventPadGroupMode -> m Int8 Source #

Get the value of the “send_event” field. When overloading is enabled, this is equivalent to

get eventPadGroupMode #sendEvent

setEventPadGroupModeSendEvent :: MonadIO m => EventPadGroupMode -> Int8 -> m () Source #

Set the value of the “send_event” field. When overloading is enabled, this is equivalent to

set eventPadGroupMode [ #sendEvent := value ]

time

the time of the event in milliseconds.

getEventPadGroupModeTime :: MonadIO m => EventPadGroupMode -> m Word32 Source #

Get the value of the “time” field. When overloading is enabled, this is equivalent to

get eventPadGroupMode #time

setEventPadGroupModeTime :: MonadIO m => EventPadGroupMode -> Word32 -> m () Source #

Set the value of the “time” field. When overloading is enabled, this is equivalent to

set eventPadGroupMode [ #time := value ]

type

the type of the event (EventTypePadGroupMode).

getEventPadGroupModeType :: MonadIO m => EventPadGroupMode -> m EventType Source #

Get the value of the “type” field. When overloading is enabled, this is equivalent to

get eventPadGroupMode #type

setEventPadGroupModeType :: MonadIO m => EventPadGroupMode -> EventType -> m () Source #

Set the value of the “type” field. When overloading is enabled, this is equivalent to

set eventPadGroupMode [ #type := value ]

window

the window which received the event.

clearEventPadGroupModeWindow :: MonadIO m => EventPadGroupMode -> m () Source #

Set the value of the “window” field to Nothing. When overloading is enabled, this is equivalent to

clear #window

getEventPadGroupModeWindow :: MonadIO m => EventPadGroupMode -> m (Maybe Window) Source #

Get the value of the “window” field. When overloading is enabled, this is equivalent to

get eventPadGroupMode #window

setEventPadGroupModeWindow :: MonadIO m => EventPadGroupMode -> Ptr Window -> m () Source #

Set the value of the “window” field. When overloading is enabled, this is equivalent to

set eventPadGroupMode [ #window := value ]