Hoogle Search

Within LTS Haskell 24.69 (ghc-9.10.3)

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

  1. getScannerConfigCsetIdentifierNth :: MonadIO m => ScannerConfig -> m (Maybe Text)

    gi-glib GI.GLib.Structs.ScannerConfig

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

    get scannerConfig #csetIdentifierNth
    

  2. getScannerConfigCsetSkipCharacters :: MonadIO m => ScannerConfig -> m (Maybe Text)

    gi-glib GI.GLib.Structs.ScannerConfig

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

    get scannerConfig #csetSkipCharacters
    

  3. sequenceSet :: (HasCallStack, MonadIO m) => SequenceIter -> Ptr () -> m ()

    gi-glib GI.GLib.Structs.Sequence

    Changes the data for the item pointed to by iter to be data. If the sequence has a data destroy function associated with it, that function is called on the existing data that iter pointed to. Since: 2.14

  4. 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.

  5. 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.

  6. sourceSetCanRecurse :: (HasCallStack, MonadIO m) => Source -> Bool -> m ()

    gi-glib GI.GLib.Structs.Source

    Sets whether a source can be called recursively. If canRecurse is True, then while the source is being dispatched then this source will be processed normally. Otherwise, all processing of this source is blocked until the dispatch function returns.

  7. sourceSetFuncs :: (HasCallStack, MonadIO m) => Source -> SourceFuncs -> m ()

    gi-glib GI.GLib.Structs.Source

    Sets the source functions (can be used to override default implementations) of an unattached source. Since: 2.12

  8. sourceSetName :: (HasCallStack, MonadIO m) => Source -> Text -> m ()

    gi-glib GI.GLib.Structs.Source

    Sets a name for the source, used in debugging and profiling. The name defaults to NULL. The source name should describe in a human-readable way what the source does. For example, "X11 event queue" or "GTK repaint idle handler" or whatever it is. It is permitted to call this function multiple times, but is not recommended due to the potential performance impact. For example, one could change the name in the "check" function of a SourceFuncs to include details like the event type in the source name. Use caution if changing the name while another thread may be accessing it with sourceGetName; that function does not copy the value, and changing the value will free it while the other thread may be attempting to use it. Also see sourceSetStaticName. Since: 2.26

  9. sourceSetNameById :: (HasCallStack, MonadIO m) => Word32 -> Text -> m ()

    gi-glib GI.GLib.Structs.Source

    Sets the name of a source using its ID. This is a convenience utility to set source names from the return value of g_idle_add(), g_timeout_add(), etc. It is a programmer error to attempt to set the name of a non-existent source. More specifically: source IDs can be reissued after a source has been destroyed and therefore it is never valid to use this function with a source ID which may have already been removed. An example is when scheduling an idle to run in another thread with g_idle_add(): the idle may already have run and been removed by the time this function is called on its (now invalid) source ID. This source ID may have been reissued, leading to the operation being performed against the wrong source. Since: 2.26

  10. sourceSetPriority :: (HasCallStack, MonadIO m) => Source -> Int32 -> m ()

    gi-glib GI.GLib.Structs.Source

    Sets the priority of a source. While the main loop is being run, a source will be dispatched if it is ready to be dispatched and no sources at a higher (numerically smaller) priority are ready to be dispatched. A child source always has the same priority as its parent. It is not permitted to change the priority of a source once it has been added as a child of another source.

Page 1191 of many | Previous | Next