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.
getScannerConfigScope0Fallback :: MonadIO m => ScannerConfig -> m Word32gi-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
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 ]
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.
-
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.
module GI.GLib.Structs.
SourceCallbackFuncs The GSourceCallbackFuncs struct contains functions for managing callback objects.
-
gi-glib GI.GLib.Structs.SourceCallbackFuncs Memory-managed wrapper type.
SourceCallbackFuncs :: ManagedPtr SourceCallbackFuncs -> SourceCallbackFuncsgi-glib GI.GLib.Structs.SourceCallbackFuncs No documentation available.
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
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
-
gi-glib GI.GLib.Structs.SourceCallbackFuncs Get the value of the “ref” field. When overloading is enabled, this is equivalent to
get sourceCallbackFuncs #ref