| 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.PropertyExpression
Description
No description available in the introspection data.
Synopsis
- newtype PropertyExpression = PropertyExpression (ManagedPtr PropertyExpression)
- class (BoxedPtr o, TypedObject o, IsDescendantOf PropertyExpression o) => IsPropertyExpression o
- toPropertyExpression :: (MonadIO m, IsPropertyExpression o) => o -> m PropertyExpression
- propertyExpressionGetExpression :: (HasCallStack, MonadIO m, IsPropertyExpression a) => a -> m Expression
- propertyExpressionGetPspec :: (HasCallStack, MonadIO m, IsPropertyExpression a) => a -> m GParamSpec
- propertyExpressionNew :: (HasCallStack, MonadIO m, IsExpression a) => GType -> Maybe a -> Text -> m Expression
- propertyExpressionNewForPspec :: (HasCallStack, MonadIO m, IsExpression a) => Maybe a -> GParamSpec -> m Expression
Exported types
newtype PropertyExpression Source #
Memory-managed wrapper type.
Constructors
| PropertyExpression (ManagedPtr PropertyExpression) | 
Instances
| Eq PropertyExpression Source # | |
| Defined in GI.Gtk.Objects.PropertyExpression Methods (==) :: PropertyExpression -> PropertyExpression -> Bool # (/=) :: PropertyExpression -> PropertyExpression -> Bool # | |
| BoxedPtr PropertyExpression Source # | |
| Defined in GI.Gtk.Objects.PropertyExpression Methods boxedPtrCopy :: PropertyExpression -> IO PropertyExpression boxedPtrFree :: PropertyExpression -> IO () | |
| ManagedPtrNewtype PropertyExpression Source # | |
| Defined in GI.Gtk.Objects.PropertyExpression Methods toManagedPtr :: PropertyExpression -> ManagedPtr PropertyExpression | |
| TypedObject PropertyExpression Source # | |
| Defined in GI.Gtk.Objects.PropertyExpression | |
| HasParentTypes PropertyExpression Source # | |
| Defined in GI.Gtk.Objects.PropertyExpression | |
| type ParentTypes PropertyExpression Source # | |
| Defined in GI.Gtk.Objects.PropertyExpression | |
class (BoxedPtr o, TypedObject o, IsDescendantOf PropertyExpression o) => IsPropertyExpression o Source #
Type class for types which can be safely cast to PropertyExpression, for instance with toPropertyExpression.
Instances
| (BoxedPtr o, TypedObject o, IsDescendantOf PropertyExpression o) => IsPropertyExpression o Source # | |
| Defined in GI.Gtk.Objects.PropertyExpression | |
toPropertyExpression :: (MonadIO m, IsPropertyExpression o) => o -> m PropertyExpression Source #
Cast to PropertyExpression, 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
Methods
bind, evaluate, isStatic, ref, unref, watch.
Getters
getExpression, getPspec, getValueType.
Setters
None.
getExpression
propertyExpressionGetExpression Source #
Arguments
| :: (HasCallStack, MonadIO m, IsPropertyExpression a) | |
| => a | 
 | 
| -> m Expression | Returns: the object expression | 
Gets the expression specifying the object of a property expression.
getPspec
propertyExpressionGetPspec Source #
Arguments
| :: (HasCallStack, MonadIO m, IsPropertyExpression a) | |
| => a | 
 | 
| -> m GParamSpec | Returns: the  | 
Gets the ParamSpec specifying the property of
 a property expression.
new
propertyExpressionNew Source #
Arguments
| :: (HasCallStack, MonadIO m, IsExpression a) | |
| => GType | 
 | 
| -> Maybe a | 
 | 
| -> Text | 
 | 
| -> m Expression | Returns: a new  | 
Creates an expression that looks up a property via the
 given expression or the this argument when expression
 is Nothing.
If the resulting object conforms to thisType, its property
 named propertyName will be queried.
 Otherwise, this expression's evaluation will fail.
The given thisType must have a property with propertyName.
newForPspec
propertyExpressionNewForPspec Source #
Arguments
| :: (HasCallStack, MonadIO m, IsExpression a) | |
| => Maybe a | 
 | 
| -> GParamSpec | 
 | 
| -> m Expression | Returns: a new  | 
Creates an expression that looks up a property via the
 given expression or the this argument when expression
 is Nothing.
If the resulting object conforms to thisType, its
 property specified by pspec will be queried.
 Otherwise, this expression's evaluation will fail.