| Copyright | Will Thompson and Iñaki García Etxebarria | 
|---|---|
| License | LGPL-2.1 | 
| Maintainer | Iñaki García Etxebarria | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
GI.Clutter.Objects.BinLayout
Description
The BinLayout structure contains only private data
 and should be accessed using the provided API
Since: 1.2
Synopsis
- newtype BinLayout = BinLayout (ManagedPtr BinLayout)
 - class (GObject o, IsDescendantOf BinLayout o) => IsBinLayout o
 - toBinLayout :: (MonadIO m, IsBinLayout o) => o -> m BinLayout
 - binLayoutAdd :: (HasCallStack, MonadIO m, IsBinLayout a, IsActor b) => a -> b -> BinAlignment -> BinAlignment -> m ()
 - binLayoutGetAlignment :: (HasCallStack, MonadIO m, IsBinLayout a, IsActor b) => a -> Maybe b -> m (BinAlignment, BinAlignment)
 - binLayoutNew :: (HasCallStack, MonadIO m) => BinAlignment -> BinAlignment -> m BinLayout
 - binLayoutSetAlignment :: (HasCallStack, MonadIO m, IsBinLayout a, IsActor b) => a -> Maybe b -> BinAlignment -> BinAlignment -> m ()
 - constructBinLayoutXAlign :: (IsBinLayout o, MonadIO m) => BinAlignment -> m (GValueConstruct o)
 - getBinLayoutXAlign :: (MonadIO m, IsBinLayout o) => o -> m BinAlignment
 - setBinLayoutXAlign :: (MonadIO m, IsBinLayout o) => o -> BinAlignment -> m ()
 - constructBinLayoutYAlign :: (IsBinLayout o, MonadIO m) => BinAlignment -> m (GValueConstruct o)
 - getBinLayoutYAlign :: (MonadIO m, IsBinLayout o) => o -> m BinAlignment
 - setBinLayoutYAlign :: (MonadIO m, IsBinLayout o) => o -> BinAlignment -> m ()
 
Exported types
Memory-managed wrapper type.
Instances
| Eq BinLayout Source # | |
| GObject BinLayout Source # | |
Defined in GI.Clutter.Objects.BinLayout  | |
| ManagedPtrNewtype BinLayout Source # | |
Defined in GI.Clutter.Objects.BinLayout Methods toManagedPtr :: BinLayout -> ManagedPtr BinLayout  | |
| TypedObject BinLayout Source # | |
Defined in GI.Clutter.Objects.BinLayout  | |
| HasParentTypes BinLayout Source # | |
Defined in GI.Clutter.Objects.BinLayout  | |
| IsGValue (Maybe BinLayout) Source # | Convert   | 
Defined in GI.Clutter.Objects.BinLayout Methods gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe BinLayout -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe BinLayout)  | |
| type ParentTypes BinLayout Source # | |
Defined in GI.Clutter.Objects.BinLayout  | |
class (GObject o, IsDescendantOf BinLayout o) => IsBinLayout o Source #
Type class for types which can be safely cast to BinLayout, for instance with toBinLayout.
Instances
| (GObject o, IsDescendantOf BinLayout o) => IsBinLayout o Source # | |
Defined in GI.Clutter.Objects.BinLayout  | |
toBinLayout :: (MonadIO m, IsBinLayout o) => o -> m BinLayout Source #
Methods
Click to display all available methods, including inherited ones
Methods
add, allocate, beginAnimation, bindProperty, bindPropertyFull, childGetProperty, childSetProperty, endAnimation, findChildProperty, forceFloating, freezeNotify, getv, isFloating, layoutChanged, listChildProperties, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getAlignment, getAnimationProgress, getChildMeta, getData, getPreferredHeight, getPreferredWidth, getProperty, getQdata.
Setters
setAlignment, setContainer, setData, setDataFull, setProperty.
add
Arguments
| :: (HasCallStack, MonadIO m, IsBinLayout a, IsActor b) | |
| => a | 
  | 
| -> b | 
  | 
| -> BinAlignment | 
  | 
| -> BinAlignment | 
  | 
| -> m () | 
Deprecated: (Since version 1.12)Use actorAddChild instead.
Adds a Actor to the container using self and
 sets the alignment policies for it
This function is equivalent to containerAddActor
 and layoutManagerChildSetProperty but it does not
 require a pointer to the Container associated to the
 BinLayout
Since: 1.2
getAlignment
binLayoutGetAlignment Source #
Arguments
| :: (HasCallStack, MonadIO m, IsBinLayout a, IsActor b) | |
| => a | 
  | 
| -> Maybe b | 
  | 
| -> m (BinAlignment, BinAlignment) | 
Deprecated: (Since version 1.12)Use the Actor:xAlign and the  Actor:yAlign properties of Actor instead.
Retrieves the horizontal and vertical alignment policies for
 a child of self
If child is Nothing the default alignment policies will be returned
 instead
Since: 1.2
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => BinAlignment | 
  | 
| -> BinAlignment | 
  | 
| -> m BinLayout | Returns: the newly created layout manager  | 
Creates a new BinLayout layout manager
Since: 1.2
setAlignment
binLayoutSetAlignment Source #
Arguments
| :: (HasCallStack, MonadIO m, IsBinLayout a, IsActor b) | |
| => a | 
  | 
| -> Maybe b | 
  | 
| -> BinAlignment | 
  | 
| -> BinAlignment | 
  | 
| -> m () | 
Deprecated: (Since version 1.12)Use the Actor:xAlign and  Actor:yAlign properties of Actor instead.
Sets the horizontal and vertical alignment policies to be applied
 to a child of self
If child is Nothing then the xAlign and yAlign values will
 be set as the default alignment policies
Since: 1.2
Properties
xAlign
The default horizontal alignment policy for actors managed
 by the BinLayout
Since: 1.2
constructBinLayoutXAlign :: (IsBinLayout o, MonadIO m) => BinAlignment -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “x-align” property. This is rarely needed directly, but it is used by new.
getBinLayoutXAlign :: (MonadIO m, IsBinLayout o) => o -> m BinAlignment Source #
Get the value of the “x-align” property.
 When overloading is enabled, this is equivalent to
get binLayout #xAlign
setBinLayoutXAlign :: (MonadIO m, IsBinLayout o) => o -> BinAlignment -> m () Source #
Set the value of the “x-align” property.
 When overloading is enabled, this is equivalent to
setbinLayout [ #xAlign:=value ]
yAlign
The default vertical alignment policy for actors managed
 by the BinLayout
Since: 1.2
constructBinLayoutYAlign :: (IsBinLayout o, MonadIO m) => BinAlignment -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “y-align” property. This is rarely needed directly, but it is used by new.
getBinLayoutYAlign :: (MonadIO m, IsBinLayout o) => o -> m BinAlignment Source #
Get the value of the “y-align” property.
 When overloading is enabled, this is equivalent to
get binLayout #yAlign
setBinLayoutYAlign :: (MonadIO m, IsBinLayout o) => o -> BinAlignment -> m () Source #
Set the value of the “y-align” property.
 When overloading is enabled, this is equivalent to
setbinLayout [ #yAlign:=value ]