Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype EnumValueObject = EnumValueObject (ManagedPtr EnumValueObject)
- class (GObject o, IsDescendantOf EnumValueObject o) => IsEnumValueObject o
- toEnumValueObject :: (MonadIO m, IsEnumValueObject o) => o -> m EnumValueObject
- noEnumValueObject :: Maybe EnumValueObject
- enumValueObjectGetName :: (HasCallStack, MonadIO m, IsEnumValueObject a) => a -> m Text
- enumValueObjectGetNick :: (HasCallStack, MonadIO m, IsEnumValueObject a) => a -> m Text
- enumValueObjectGetValue :: (HasCallStack, MonadIO m, IsEnumValueObject a) => a -> m Int32
- enumValueObjectNew :: (HasCallStack, MonadIO m) => EnumValue -> m EnumValueObject
Exported types
newtype EnumValueObject Source #
Memory-managed wrapper type.
Instances
GObject EnumValueObject Source # | |
Defined in GI.Handy.Objects.EnumValueObject gobjectType :: IO GType # | |
HasParentTypes EnumValueObject Source # | |
Defined in GI.Handy.Objects.EnumValueObject | |
type ParentTypes EnumValueObject Source # | |
Defined in GI.Handy.Objects.EnumValueObject |
class (GObject o, IsDescendantOf EnumValueObject o) => IsEnumValueObject o Source #
Type class for types which can be safely cast to EnumValueObject
, for instance with toEnumValueObject
.
Instances
(GObject o, IsDescendantOf EnumValueObject o) => IsEnumValueObject o Source # | |
Defined in GI.Handy.Objects.EnumValueObject |
toEnumValueObject :: (MonadIO m, IsEnumValueObject o) => o -> m EnumValueObject Source #
Cast to EnumValueObject
, for types for which this is known to be safe. For general casts, use castTo
.
noEnumValueObject :: Maybe EnumValueObject Source #
A convenience alias for Nothing
:: Maybe
EnumValueObject
.
Methods
getName
enumValueObjectGetName :: (HasCallStack, MonadIO m, IsEnumValueObject a) => a -> m Text Source #
No description available in the introspection data.
getNick
enumValueObjectGetNick :: (HasCallStack, MonadIO m, IsEnumValueObject a) => a -> m Text Source #
No description available in the introspection data.
getValue
enumValueObjectGetValue :: (HasCallStack, MonadIO m, IsEnumValueObject a) => a -> m Int32 Source #
No description available in the introspection data.
new
enumValueObjectNew :: (HasCallStack, MonadIO m) => EnumValue -> m EnumValueObject Source #
No description available in the introspection data.