| Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Gtk.Structs.RequestedSize
Description
Represents a request of a screen object in a given orientation. These are primarily used in container implementations when allocating a natural size for children calling. See gtk_distribute_natural_allocation().
- newtype RequestedSize = RequestedSize (ForeignPtr RequestedSize)
- newZeroRequestedSize :: MonadIO m => m RequestedSize
- noRequestedSize :: Maybe RequestedSize
- requestedSizeReadData :: RequestedSize -> IO (Ptr ())
- requestedSizeReadMinimumSize :: RequestedSize -> IO Int32
- requestedSizeReadNaturalSize :: RequestedSize -> IO Int32
Exported types
newtype RequestedSize Source
Constructors
| RequestedSize (ForeignPtr RequestedSize) |
Instances
| ((~) * info (ResolveRequestedSizeMethod t RequestedSize), MethodInfo * info RequestedSize p) => IsLabel t (RequestedSize -> p) Source | |
| ((~) * info (ResolveRequestedSizeMethod t RequestedSize), MethodInfo * info RequestedSize p) => IsLabelProxy t (RequestedSize -> p) Source | |
newZeroRequestedSize :: MonadIO m => m RequestedSize Source
Construct a RequestedSize struct initialized to zero.
Properties
Data
requestedSizeReadData :: RequestedSize -> IO (Ptr ()) Source