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.
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
type
BindingTransformFunc = Binding -> GValue -> GValue -> IO Boolgi-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
type
BindingTransformFunc_WithClosures = Binding -> GValue -> GValue -> Ptr () -> IO Boolgi-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
type
C_BindingTransformFunc = Ptr Binding -> Ptr GValue -> Ptr GValue -> Ptr () -> IO CIntgi-gobject GI.GObject.Callbacks Type for the callback on the (unwrapped) C side.
type
C_ValueTransform = Ptr GValue -> Ptr GValue -> IO ()gi-gobject GI.GObject.Callbacks Type for the callback on the (unwrapped) C side.
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.
drop_closures_BindingTransformFunc :: BindingTransformFunc -> BindingTransformFunc_WithClosuresgi-gobject GI.GObject.Callbacks A simple wrapper that ignores the closure arguments.
-
gi-gobject GI.GObject.Callbacks Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
-
gi-gobject GI.GObject.Callbacks Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
-
gi-gobject GI.GObject.Callbacks Wrap the callback into a GClosure.