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.Objects.ObjectExpression

Description

No description available in the introspection data.

Synopsis

Exported types

newtype ObjectExpression Source #

Memory-managed wrapper type.

Constructors

ObjectExpression (ManagedPtr ObjectExpression) 

Instances

Instances details
Eq ObjectExpression Source # 
Instance details

Defined in GI.Gtk.Objects.ObjectExpression

BoxedPtr ObjectExpression Source # 
Instance details

Defined in GI.Gtk.Objects.ObjectExpression

ManagedPtrNewtype ObjectExpression Source # 
Instance details

Defined in GI.Gtk.Objects.ObjectExpression

TypedObject ObjectExpression Source # 
Instance details

Defined in GI.Gtk.Objects.ObjectExpression

Methods

glibType :: IO GType

HasParentTypes ObjectExpression Source # 
Instance details

Defined in GI.Gtk.Objects.ObjectExpression

type ParentTypes ObjectExpression Source # 
Instance details

Defined in GI.Gtk.Objects.ObjectExpression

type ParentTypes ObjectExpression = '[Expression]

class (BoxedPtr o, TypedObject o, IsDescendantOf ObjectExpression o) => IsObjectExpression o Source #

Type class for types which can be safely cast to ObjectExpression, for instance with toObjectExpression.

Instances

Instances details
(BoxedPtr o, TypedObject o, IsDescendantOf ObjectExpression o) => IsObjectExpression o Source # 
Instance details

Defined in GI.Gtk.Objects.ObjectExpression

toObjectExpression :: (MonadIO m, IsObjectExpression o) => o -> m ObjectExpression Source #

Cast to ObjectExpression, 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

Expand

Methods

bind, evaluate, isStatic, ref, unref, watch.

Getters

getObject, getValueType.

Setters

None.

getObject

objectExpressionGetObject Source #

Arguments

:: (HasCallStack, MonadIO m, IsObjectExpression a) 
=> a

expression: an object Expression

-> m (Maybe Object)

Returns: the object, or Nothing

Gets the object that the expression evaluates to.

new

objectExpressionNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsObject a) 
=> a

object: object to watch

-> m Expression

Returns: a new Expression

Creates an expression evaluating to the given object with a weak reference. Once the object is disposed, it will fail to evaluate. This expression is meant to break reference cycles.

If you want to keep a reference to object, use gtk_constant_expression_new().