Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
enumGetValueByName :: (HasCallStack, MonadIO m) => EnumClass -> Text -> m (Maybe EnumValue)gi-gobject GI.GObject.Functions Looks up a EnumValue by name.
enumGetValueByNick :: (HasCallStack, MonadIO m) => EnumClass -> Text -> m (Maybe EnumValue)gi-gobject GI.GObject.Functions Looks up a EnumValue by nickname.
enumRegisterStatic :: (HasCallStack, MonadIO m) => Text -> EnumValue -> m GTypegi-gobject GI.GObject.Functions Registers a new static enumeration type with the name name. It is normally more convenient to let [glib-mkenums][glib-mkenums], generate a my_enum_get_type() function from a usual C enumeration definition than to write one yourself using enumRegisterStatic.
enumToString :: (HasCallStack, MonadIO m) => GType -> Int32 -> m Textgi-gobject GI.GObject.Functions Pretty-prints value in the form of the enum’s name. This is intended to be used for debugging purposes. The format of the output may change in the future. Since: 2.54
-
gi-gobject GI.GObject.Functions Creates a new ParamSpecEnum instance specifying a G_TYPE_ENUM property. See g_param_spec_internal() for details on property names.
module GI.GObject.Objects.
ParamSpecEnum A ParamSpec derived structure that contains the meta data for enum properties.
class (BoxedPtr o, TypedObject o, IsDescendantOf ParamSpecEnum o) =>
IsParamSpecEnum ogi-gobject GI.GObject.Objects.ParamSpecEnum Type class for types which can be safely cast to ParamSpecEnum, for instance with toParamSpecEnum.
-
gi-gobject GI.GObject.Objects.ParamSpecEnum Memory-managed wrapper type.
ParamSpecEnum :: ManagedPtr ParamSpecEnum -> ParamSpecEnumgi-gobject GI.GObject.Objects.ParamSpecEnum No documentation available.
toParamSpecEnum :: (MonadIO m, IsParamSpecEnum o) => o -> m ParamSpecEnumgi-gobject GI.GObject.Objects.ParamSpecEnum Cast to ParamSpecEnum, for types for which this is known to be safe. For general casts, use castTo.