Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. getScannerConfigScope0Fallback :: MonadIO m => ScannerConfig -> m Word32

    gi-glib GI.GLib.Structs.ScannerConfig

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

    get scannerConfig #scope0Fallback
    

  2. setScannerConfigScope0Fallback :: MonadIO m => ScannerConfig -> Word32 -> m ()

    gi-glib GI.GLib.Structs.ScannerConfig

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

    set scannerConfig [ #scope0Fallback := value ]
    

  3. sourceSetCallback :: (HasCallStack, MonadIO m) => Source -> SourceFunc -> m ()

    gi-glib GI.GLib.Structs.Source

    Sets the callback function for a source. The callback for a source is called from the source's dispatch function. The exact type of func depends on the type of source; ie. you should not count on func being called with data as its first parameter. Cast func with G_SOURCE_FUNC() to avoid warnings about incompatible function types. See [memory management of sources][mainloop-memory-management] for details on how to handle memory management of data. Typically, you won't use this function. Instead use functions specific to the type of source you are using, such as g_idle_add() or g_timeout_add(). It is safe to call this function multiple times on a source which has already been attached to a context. The changes will take effect for the next time the source is dispatched after this call returns. Note that sourceDestroy for a currently attached source has the effect of also unsetting the callback.

  4. sourceSetCallbackIndirect :: (HasCallStack, MonadIO m) => Source -> Ptr () -> SourceCallbackFuncs -> m ()

    gi-glib GI.GLib.Structs.Source

    Sets the callback function storing the data as a refcounted callback "object". This is used internally. Note that calling sourceSetCallbackIndirect assumes an initial reference count on callbackData, and thus callbackFuncs->unref will eventually be called once more than callbackFuncs->ref. It is safe to call this function multiple times on a source which has already been attached to a context. The changes will take effect for the next time the source is dispatched after this call returns.

  5. module GI.GLib.Structs.SourceCallbackFuncs

    The GSourceCallbackFuncs struct contains functions for managing callback objects.

  6. newtype SourceCallbackFuncs

    gi-glib GI.GLib.Structs.SourceCallbackFuncs

    Memory-managed wrapper type.

  7. SourceCallbackFuncs :: ManagedPtr SourceCallbackFuncs -> SourceCallbackFuncs

    gi-glib GI.GLib.Structs.SourceCallbackFuncs

    No documentation available.

  8. clearSourceCallbackFuncsRef :: MonadIO m => SourceCallbackFuncs -> m ()

    gi-glib GI.GLib.Structs.SourceCallbackFuncs

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

    clear #ref
    

  9. clearSourceCallbackFuncsUnref :: MonadIO m => SourceCallbackFuncs -> m ()

    gi-glib GI.GLib.Structs.SourceCallbackFuncs

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

    clear #unref
    

  10. getSourceCallbackFuncsRef :: MonadIO m => SourceCallbackFuncs -> m (Maybe SourceCallbackFuncsRefFieldCallback)

    gi-glib GI.GLib.Structs.SourceCallbackFuncs

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

    get sourceCallbackFuncs #ref
    

Page 384 of many | Previous | Next