| 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.ObjectExpression
Contents
Description
No description available in the introspection data.
Synopsis
- newtype ObjectExpression = ObjectExpression (ManagedPtr ObjectExpression)
- class (BoxedPtr o, TypedObject o, IsDescendantOf ObjectExpression o) => IsObjectExpression o
- toObjectExpression :: (MonadIO m, IsObjectExpression o) => o -> m ObjectExpression
- objectExpressionGetObject :: (HasCallStack, MonadIO m, IsObjectExpression a) => a -> m (Maybe Object)
- objectExpressionNew :: (HasCallStack, MonadIO m, IsObject a) => a -> m Expression
Exported types
newtype ObjectExpression Source #
Memory-managed wrapper type.
Constructors
| ObjectExpression (ManagedPtr ObjectExpression) |
Instances
| Eq ObjectExpression Source # | |
Defined in GI.Gtk.Objects.ObjectExpression Methods (==) :: ObjectExpression -> ObjectExpression -> Bool # (/=) :: ObjectExpression -> ObjectExpression -> Bool # | |
| BoxedPtr ObjectExpression Source # | |
Defined in GI.Gtk.Objects.ObjectExpression Methods boxedPtrCopy :: ObjectExpression -> IO ObjectExpression boxedPtrFree :: ObjectExpression -> IO () | |
| ManagedPtrNewtype ObjectExpression Source # | |
Defined in GI.Gtk.Objects.ObjectExpression Methods toManagedPtr :: ObjectExpression -> ManagedPtr ObjectExpression | |
| TypedObject ObjectExpression Source # | |
Defined in GI.Gtk.Objects.ObjectExpression | |
| HasParentTypes ObjectExpression Source # | |
Defined in GI.Gtk.Objects.ObjectExpression | |
| type ParentTypes ObjectExpression Source # | |
Defined in GI.Gtk.Objects.ObjectExpression | |
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
| (BoxedPtr o, TypedObject o, IsDescendantOf ObjectExpression o) => IsObjectExpression o Source # | |
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
getObject
objectExpressionGetObject Source #
Arguments
| :: (HasCallStack, MonadIO m, IsObjectExpression a) | |
| => a |
|
| -> m (Maybe Object) | Returns: the object, or |
Gets the object that the expression evaluates to.
new
Arguments
| :: (HasCallStack, MonadIO m, IsObject a) | |
| => a |
|
| -> m Expression | Returns: a new |
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().