| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte | 
|---|---|
| License | LGPL-2.1 | 
| Maintainer | Iñaki García Etxebarria | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
GI.Gtk.Objects.CClosureExpression
Contents
Description
No description available in the introspection data.
Synopsis
- newtype CClosureExpression = CClosureExpression (ManagedPtr CClosureExpression)
- class (BoxedPtr o, TypedObject o, IsDescendantOf CClosureExpression o) => IsCClosureExpression o
- toCClosureExpression :: (MonadIO m, IsCClosureExpression o) => o -> m CClosureExpression
- cClosureExpressionNew :: (HasCallStack, MonadIO m) => GType -> Maybe ClosureMarshal -> [Expression] -> Callback -> m Expression
Exported types
newtype CClosureExpression Source #
Memory-managed wrapper type.
Constructors
| CClosureExpression (ManagedPtr CClosureExpression) | 
Instances
| Eq CClosureExpression Source # | |
| Defined in GI.Gtk.Objects.CClosureExpression Methods (==) :: CClosureExpression -> CClosureExpression -> Bool # (/=) :: CClosureExpression -> CClosureExpression -> Bool # | |
| BoxedPtr CClosureExpression Source # | |
| Defined in GI.Gtk.Objects.CClosureExpression Methods boxedPtrCopy :: CClosureExpression -> IO CClosureExpression boxedPtrFree :: CClosureExpression -> IO () | |
| ManagedPtrNewtype CClosureExpression Source # | |
| Defined in GI.Gtk.Objects.CClosureExpression Methods toManagedPtr :: CClosureExpression -> ManagedPtr CClosureExpression | |
| TypedObject CClosureExpression Source # | |
| Defined in GI.Gtk.Objects.CClosureExpression | |
| HasParentTypes CClosureExpression Source # | |
| Defined in GI.Gtk.Objects.CClosureExpression | |
| type ParentTypes CClosureExpression Source # | |
| Defined in GI.Gtk.Objects.CClosureExpression | |
class (BoxedPtr o, TypedObject o, IsDescendantOf CClosureExpression o) => IsCClosureExpression o Source #
Type class for types which can be safely cast to CClosureExpression, for instance with toCClosureExpression.
Instances
| (BoxedPtr o, TypedObject o, IsDescendantOf CClosureExpression o) => IsCClosureExpression o Source # | |
| Defined in GI.Gtk.Objects.CClosureExpression | |
toCClosureExpression :: (MonadIO m, IsCClosureExpression o) => o -> m CClosureExpression Source #
Cast to CClosureExpression, for types for which this is known to be safe. For general casts, use castTo.
Methods
Click to display all available methods, including inherited ones
new
cClosureExpressionNew Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => GType | 
 | 
| -> Maybe ClosureMarshal | 
 | 
| -> [Expression] | 
 | 
| -> Callback | 
 | 
| -> m Expression | Returns: a new  | 
This function is a variant of closureExpressionNew that
 creates a Closure by calling g_cclosure_new() with the given
 callbackFunc, userData and userDestroy.