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.

  1. typeModuleRegisterEnum :: (HasCallStack, MonadIO m, IsTypeModule a) => Maybe a -> Text -> EnumValue -> m GType

    gi-gobject GI.GObject.Objects.TypeModule

    Looks up or registers an enumeration that is implemented with a particular type plugin. If a type with name typeName was previously registered, the GType identifier for the type is returned, otherwise the type is newly registered, and the resulting GType identifier returned. As long as any instances of the type exist, the type plugin will not be unloaded. Since 2.56 if module is Nothing this will call typeRegisterStatic instead. This can be used when making a static build of the module. Since: 2.6

  2. cClosureMarshalVOID_ENUM :: (HasCallStack, MonadIO m) => GClosure a -> GValue -> Word32 -> GValue -> Ptr () -> Ptr () -> m ()

    gi-gobject GI.GObject.Structs.CClosure

    A ClosureMarshal function for use with signals with a single argument with an enumerated type.

  3. module GI.GObject.Structs.EnumClass

    The class of an enumeration type holds information about its possible values.

  4. newtype EnumClass

    gi-gobject GI.GObject.Structs.EnumClass

    Memory-managed wrapper type.

  5. EnumClass :: ManagedPtr EnumClass -> EnumClass

    gi-gobject GI.GObject.Structs.EnumClass

    No documentation available.

  6. clearEnumClassValues :: MonadIO m => EnumClass -> m ()

    gi-gobject GI.GObject.Structs.EnumClass

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

    clear #values
    

  7. getEnumClassGTypeClass :: MonadIO m => EnumClass -> m TypeClass

    gi-gobject GI.GObject.Structs.EnumClass

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

    get enumClass #gTypeClass
    

  8. getEnumClassMaximum :: MonadIO m => EnumClass -> m Int32

    gi-gobject GI.GObject.Structs.EnumClass

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

    get enumClass #maximum
    

  9. getEnumClassMinimum :: MonadIO m => EnumClass -> m Int32

    gi-gobject GI.GObject.Structs.EnumClass

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

    get enumClass #minimum
    

  10. getEnumClassNValues :: MonadIO m => EnumClass -> m Word32

    gi-gobject GI.GObject.Structs.EnumClass

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

    get enumClass #nValues
    

Page 184 of many | Previous | Next