gi-gtk-3.0.32: Gtk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

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 distributeNaturalAllocation.

Synopsis

Exported types

newZeroRequestedSize :: MonadIO m => m RequestedSize Source #

Construct a RequestedSize struct initialized to zero.

Methods

Overloaded methods

Properties

data

A client pointer

clearRequestedSizeData :: MonadIO m => RequestedSize -> m () Source #

Set the value of the “data” field to Nothing. When overloading is enabled, this is equivalent to

clear #data

getRequestedSizeData :: MonadIO m => RequestedSize -> m (Ptr ()) Source #

Get the value of the “data” field. When overloading is enabled, this is equivalent to

get requestedSize #data

setRequestedSizeData :: MonadIO m => RequestedSize -> Ptr () -> m () Source #

Set the value of the “data” field. When overloading is enabled, this is equivalent to

set requestedSize [ #data := value ]

minimumSize

The minimum size needed for allocation in a given orientation

getRequestedSizeMinimumSize :: MonadIO m => RequestedSize -> m Int32 Source #

Get the value of the “minimum_size” field. When overloading is enabled, this is equivalent to

get requestedSize #minimumSize

setRequestedSizeMinimumSize :: MonadIO m => RequestedSize -> Int32 -> m () Source #

Set the value of the “minimum_size” field. When overloading is enabled, this is equivalent to

set requestedSize [ #minimumSize := value ]

naturalSize

The natural size for allocation in a given orientation

getRequestedSizeNaturalSize :: MonadIO m => RequestedSize -> m Int32 Source #

Get the value of the “natural_size” field. When overloading is enabled, this is equivalent to

get requestedSize #naturalSize

setRequestedSizeNaturalSize :: MonadIO m => RequestedSize -> Int32 -> m () Source #

Set the value of the “natural_size” field. When overloading is enabled, this is equivalent to

set requestedSize [ #naturalSize := value ]