Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
Generated during InputSourceTabletPad
mode switches in a group.
Since: 3.22
Synopsis
- newtype EventPadGroupMode = EventPadGroupMode (ManagedPtr EventPadGroupMode)
- newZeroEventPadGroupMode :: MonadIO m => m EventPadGroupMode
- noEventPadGroupMode :: Maybe EventPadGroupMode
- getEventPadGroupModeGroup :: MonadIO m => EventPadGroupMode -> m Word32
- setEventPadGroupModeGroup :: MonadIO m => EventPadGroupMode -> Word32 -> m ()
- getEventPadGroupModeMode :: MonadIO m => EventPadGroupMode -> m Word32
- setEventPadGroupModeMode :: MonadIO m => EventPadGroupMode -> Word32 -> m ()
- getEventPadGroupModeSendEvent :: MonadIO m => EventPadGroupMode -> m Int8
- setEventPadGroupModeSendEvent :: MonadIO m => EventPadGroupMode -> Int8 -> m ()
- getEventPadGroupModeTime :: MonadIO m => EventPadGroupMode -> m Word32
- setEventPadGroupModeTime :: MonadIO m => EventPadGroupMode -> Word32 -> m ()
- getEventPadGroupModeType :: MonadIO m => EventPadGroupMode -> m EventType
- setEventPadGroupModeType :: MonadIO m => EventPadGroupMode -> EventType -> m ()
- clearEventPadGroupModeWindow :: MonadIO m => EventPadGroupMode -> m ()
- getEventPadGroupModeWindow :: MonadIO m => EventPadGroupMode -> m (Maybe Window)
- setEventPadGroupModeWindow :: MonadIO m => EventPadGroupMode -> Ptr Window -> m ()
Exported types
newtype EventPadGroupMode Source #
Memory-managed wrapper type.
Instances
WrappedPtr EventPadGroupMode Source # | |
Defined in GI.Gdk.Structs.EventPadGroupMode wrappedPtrCalloc :: IO (Ptr EventPadGroupMode) # wrappedPtrCopy :: EventPadGroupMode -> IO EventPadGroupMode # wrappedPtrFree :: Maybe (FunPtr (Ptr EventPadGroupMode -> IO ())) # | |
tag ~ AttrSet => Constructible EventPadGroupMode tag Source # | |
Defined in GI.Gdk.Structs.EventPadGroupMode new :: MonadIO m => (ManagedPtr EventPadGroupMode -> EventPadGroupMode) -> [AttrOp EventPadGroupMode tag] -> m EventPadGroupMode # |
newZeroEventPadGroupMode :: MonadIO m => m EventPadGroupMode Source #
Construct a EventPadGroupMode
struct initialized to zero.
noEventPadGroupMode :: Maybe EventPadGroupMode Source #
A convenience alias for Nothing
:: Maybe
EventPadGroupMode
.
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 ]