Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
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 AccelKey = AccelKey (ManagedPtr AccelKey)
- newZeroAccelKey :: MonadIO m => m AccelKey
- getAccelKeyAccelFlags :: MonadIO m => AccelKey -> m Word32
- setAccelKeyAccelFlags :: MonadIO m => AccelKey -> Word32 -> m ()
- getAccelKeyAccelKey :: MonadIO m => AccelKey -> m Word32
- setAccelKeyAccelKey :: MonadIO m => AccelKey -> Word32 -> m ()
- getAccelKeyAccelMods :: MonadIO m => AccelKey -> m [ModifierType]
- setAccelKeyAccelMods :: MonadIO m => AccelKey -> [ModifierType] -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq AccelKey Source # | |
BoxedPtr AccelKey Source # | |
Defined in GI.Gtk.Structs.AccelKey boxedPtrCopy :: AccelKey -> IO AccelKey boxedPtrFree :: AccelKey -> IO () | |
CallocPtr AccelKey Source # | |
Defined in GI.Gtk.Structs.AccelKey boxedPtrCalloc :: IO (Ptr AccelKey) | |
ManagedPtrNewtype AccelKey Source # | |
Defined in GI.Gtk.Structs.AccelKey toManagedPtr :: AccelKey -> ManagedPtr AccelKey | |
tag ~ 'AttrSet => Constructible AccelKey tag Source # | |
Methods
Properties
accelFlags
The accelerator flags
getAccelKeyAccelFlags :: MonadIO m => AccelKey -> m Word32 Source #
Get the value of the “accel_flags
” field.
When overloading is enabled, this is equivalent to
get
accelKey #accelFlags
setAccelKeyAccelFlags :: MonadIO m => AccelKey -> Word32 -> m () Source #
Set the value of the “accel_flags
” field.
When overloading is enabled, this is equivalent to
set
accelKey [ #accelFlags:=
value ]
accelKey
The accelerator keyval
getAccelKeyAccelKey :: MonadIO m => AccelKey -> m Word32 Source #
Get the value of the “accel_key
” field.
When overloading is enabled, this is equivalent to
get
accelKey #accelKey
setAccelKeyAccelKey :: MonadIO m => AccelKey -> Word32 -> m () Source #
Set the value of the “accel_key
” field.
When overloading is enabled, this is equivalent to
set
accelKey [ #accelKey:=
value ]
accelMods
The accelerator modifiers
getAccelKeyAccelMods :: MonadIO m => AccelKey -> m [ModifierType] Source #
Get the value of the “accel_mods
” field.
When overloading is enabled, this is equivalent to
get
accelKey #accelMods
setAccelKeyAccelMods :: MonadIO m => AccelKey -> [ModifierType] -> m () Source #
Set the value of the “accel_mods
” field.
When overloading is enabled, this is equivalent to
set
accelKey [ #accelMods:=
value ]