gi-gtk-4.0.4: Gtk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gtk.Structs.ExpressionWatch

Description

No description available in the introspection data.

Synopsis

Exported types

newtype ExpressionWatch Source #

Memory-managed wrapper type.

Constructors

ExpressionWatch (ManagedPtr ExpressionWatch) 

Instances

Instances details
Eq ExpressionWatch Source # 
Instance details

Defined in GI.Gtk.Structs.ExpressionWatch

BoxedPtr ExpressionWatch Source # 
Instance details

Defined in GI.Gtk.Structs.ExpressionWatch

ManagedPtrNewtype ExpressionWatch Source # 
Instance details

Defined in GI.Gtk.Structs.ExpressionWatch

Methods

Click to display all available methods, including inherited ones

Expand

Methods

evaluate, ref, unref, unwatch.

Getters

None.

Setters

None.

evaluate

expressionWatchEvaluate Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ExpressionWatch

watch: a ExpressionWatch

-> GValue

value: an empty Value to be set

-> m Bool

Returns: True if the expression could be evaluated and value was set

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

expressionWatchRef Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ExpressionWatch

watch: a ExpressionWatch

-> m ExpressionWatch

Returns: the Expression with an additional reference

Acquires a reference on the given ExpressionWatch.

unref

expressionWatchUnref Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ExpressionWatch

watch: a 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

watch: watch to release

-> m () 

Stops watching an expression that was established via expressionWatch.