Name

Layout —

A layout widget can hold several widgets at arbitrary positions.

Synopsis

layoutNew:: Maybe Adjustment -> Maybe Adjustment -> IO Layout
layoutGetHAdjustment:: LayoutClass l => l -> IO Adjustment
layoutGetVAdjustment:: LayoutClass l => l -> IO Adjustment
layoutMove:: (LayoutClass l, WidgetClass w) => l -> w -> Int -> Int -> IO ()
layoutPut:: (LayoutClass l, WidgetClass w) => l -> w -> Int -> Int -> IO ()
layoutSetHAdjustment:: LayoutClass l => l -> Adjustment -> IO ()
layoutSetSize:: LayoutClass l => l -> Int -> Int -> IO ()
layoutSetVAdjustment:: LayoutClass l => l -> Adjustment -> IO ()
onSetScrollAdjustments:: LayoutClass l => l -> (Adjustment -> Adjustment -> IO ()) -> IO (ConnectId l)

Constructors

layoutNew

Create a new layout widget.

layoutNew:: Maybe Adjustment:: Maybe Adjustment:: IO Layout
vAdjhAdj

Methods

layoutGetHAdjustment

Retrieve the horizontal Adjustment object from the layout.

layoutGetHAdjustment:: l:: IO Adjustment
l

layoutGetVAdjustment

Retrieve the vertical Adjustment object from the layout.

layoutGetVAdjustment:: l:: IO Adjustment
l

layoutMove

Move an existing widget within the container.

layoutMove:: l:: w:: Int:: Int:: IO ()
lwidgetxy

layoutPut

Insert a widget into the layout container.

layoutPut:: l:: w:: Int:: Int:: IO ()
lwidgetxy

layoutSetHAdjustment

Set the horizontal adjustment object.

layoutSetHAdjustment:: l:: Adjustment:: IO ()
ladj

layoutSetSize

Set the size of the layout widget.

layoutSetSize:: l:: Int:: Int:: IO ()
lwidthheight

layoutSetVAdjustment

Set the vertical adjustment object.

layoutSetVAdjustment:: l:: Adjustment:: IO ()
ladj

Signals

onSetScrollAdjustments

In case the adjustments are replaced, this signal is emitted.

onSetScrollAdjustments:: l:: (Adjustment -> Adjustment -> IO ()):: IO (ConnectId l)