| 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.Structs.ExpressionWatch
Description
No description available in the introspection data.
Synopsis
- newtype ExpressionWatch = ExpressionWatch (ManagedPtr ExpressionWatch)
- expressionWatchEvaluate :: (HasCallStack, MonadIO m) => ExpressionWatch -> GValue -> m Bool
- expressionWatchRef :: (HasCallStack, MonadIO m) => ExpressionWatch -> m ExpressionWatch
- expressionWatchUnref :: (HasCallStack, MonadIO m) => ExpressionWatch -> m ()
- expressionWatchUnwatch :: (HasCallStack, MonadIO m) => ExpressionWatch -> m ()
Exported types
newtype ExpressionWatch Source #
Memory-managed wrapper type.
Constructors
| ExpressionWatch (ManagedPtr ExpressionWatch) | 
Instances
| Eq ExpressionWatch Source # | |
| Defined in GI.Gtk.Structs.ExpressionWatch Methods (==) :: ExpressionWatch -> ExpressionWatch -> Bool # (/=) :: ExpressionWatch -> ExpressionWatch -> Bool # | |
| BoxedPtr ExpressionWatch Source # | |
| Defined in GI.Gtk.Structs.ExpressionWatch Methods boxedPtrCopy :: ExpressionWatch -> IO ExpressionWatch boxedPtrFree :: ExpressionWatch -> IO () | |
| ManagedPtrNewtype ExpressionWatch Source # | |
| Defined in GI.Gtk.Structs.ExpressionWatch Methods toManagedPtr :: ExpressionWatch -> ManagedPtr ExpressionWatch | |
Methods
Click to display all available methods, including inherited ones
evaluate
expressionWatchEvaluate Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => ExpressionWatch | 
 | 
| -> GValue | 
 | 
| -> m Bool | Returns:  | 
Evaluates the watched expression and on success stores the result
 in value.
This is equivalent to calling expressionEvaluate with the
 expression and this pointer originally used to create watch.
ref
Arguments
| :: (HasCallStack, MonadIO m) | |
| => ExpressionWatch | 
 | 
| -> m ExpressionWatch | Returns: the  | 
Acquires a reference on the given ExpressionWatch.
unref
Arguments
| :: (HasCallStack, MonadIO m) | |
| => ExpressionWatch | 
 | 
| -> m () | 
Releases a reference on the given ExpressionWatch.
If the reference was the last, the resources associated to self are
 freed.
unwatch
expressionWatchUnwatch Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => ExpressionWatch | 
 | 
| -> m () | 
Stops watching an expression that was established via expressionWatch.