Hoogle Search

Within LTS Haskell 24.39 (ghc-9.10.3)

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

  1. treeForeachNode :: (HasCallStack, MonadIO m) => Tree -> TraverseNodeFunc -> m ()

    gi-glib GI.GLib.Structs.Tree

    Calls the given function for each of the nodes in the Tree. The function is passed the pointer to the particular node, and the given data parameter. The tree traversal happens in-order. The tree may not be modified while iterating over it (you can't add/remove items). To remove all items matching a predicate, you need to add each item to a list in your TraverseFunc as you walk over the tree, then walk the list and remove each item. Since: 2.68

  2. type BindingTransformFunc = Binding -> GValue -> GValue -> IO Bool

    gi-gobject GI.GObject.Callbacks

    A function to be called to transform fromValue to toValue. If this is the transformTo function of a binding, then fromValue is the sourceProperty on the source object, and toValue is the targetProperty on the target object. If this is the transformFrom function of a BindingFlagsBidirectional binding, then those roles are reversed. Since: 2.26

  3. type BindingTransformFunc_WithClosures = Binding -> GValue -> GValue -> Ptr () -> IO Bool

    gi-gobject GI.GObject.Callbacks

    A function to be called to transform fromValue to toValue. If this is the transformTo function of a binding, then fromValue is the sourceProperty on the source object, and toValue is the targetProperty on the target object. If this is the transformFrom function of a BindingFlagsBidirectional binding, then those roles are reversed. Since: 2.26

  4. type C_BindingTransformFunc = Ptr Binding -> Ptr GValue -> Ptr GValue -> Ptr () -> IO CInt

    gi-gobject GI.GObject.Callbacks

    Type for the callback on the (unwrapped) C side.

  5. type C_ValueTransform = Ptr GValue -> Ptr GValue -> IO ()

    gi-gobject GI.GObject.Callbacks

    Type for the callback on the (unwrapped) C side.

  6. type ValueTransform = GValue -> GValue -> IO ()

    gi-gobject GI.GObject.Callbacks

    The type of value transformation functions which can be registered with g_value_register_transform_func(). destValue will be initialized to the correct destination type.

  7. drop_closures_BindingTransformFunc :: BindingTransformFunc -> BindingTransformFunc_WithClosures

    gi-gobject GI.GObject.Callbacks

    A simple wrapper that ignores the closure arguments.

  8. dynamic_BindingTransformFunc :: (HasCallStack, MonadIO m, IsBinding a) => FunPtr C_BindingTransformFunc -> a -> GValue -> GValue -> Ptr () -> m Bool

    gi-gobject GI.GObject.Callbacks

    Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

  9. dynamic_ValueTransform :: (HasCallStack, MonadIO m) => FunPtr C_ValueTransform -> GValue -> GValue -> m ()

    gi-gobject GI.GObject.Callbacks

    Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

  10. genClosure_BindingTransformFunc :: MonadIO m => BindingTransformFunc -> m (GClosure C_BindingTransformFunc)

    gi-gobject GI.GObject.Callbacks

    Wrap the callback into a GClosure.

Page 533 of many | Previous | Next