gtk2hsContentsIndex
Layout
Description
A layout widget can hold several widgets at arbitrary positions.
Synopsis
layoutNew :: Maybe Adjustment -> Maybe Adjustment -> IO Layout
layoutPut :: (LayoutClass l, WidgetClass w) => l -> w -> Int -> Int -> IO ()
layoutMove :: (LayoutClass l, WidgetClass w) => l -> w -> Int -> Int -> IO ()
layoutSetSize :: LayoutClass l => l -> Int -> Int -> IO ()
layoutGetSize :: LayoutClass l => l -> IO (Int, Int)
layoutGetHAdjustment :: LayoutClass l => l -> IO Adjustment
layoutGetVAdjustment :: LayoutClass l => l -> IO Adjustment
layoutSetHAdjustment :: LayoutClass l => l -> Adjustment -> IO ()
layoutSetVAdjustment :: LayoutClass l => l -> Adjustment -> IO ()
onSetScrollAdjustments :: LayoutClass l => l -> (Adjustment -> Adjustment -> IO ()) -> IO (ConnectId l)
afterSetScrollAdjustments :: LayoutClass l => l -> (Adjustment -> Adjustment -> IO ()) -> IO (ConnectId l)
Documentation
layoutNew :: Maybe Adjustment -> Maybe Adjustment -> IO Layout
Create a new layout widget.
layoutPut :: (LayoutClass l, WidgetClass w) => l -> w -> Int -> Int -> IO ()
Insert a widget into the layout container.
layoutMove :: (LayoutClass l, WidgetClass w) => l -> w -> Int -> Int -> IO ()
Move an existing widget within the container.
layoutSetSize :: LayoutClass l => l -> Int -> Int -> IO ()
Set the size of the layout widget.
layoutGetSize :: LayoutClass l => l -> IO (Int, Int)
Get the size of the layout widget.
layoutGetHAdjustment :: LayoutClass l => l -> IO Adjustment
Retrieve the horizontal Adjustment object from the layout.
layoutGetVAdjustment :: LayoutClass l => l -> IO Adjustment
Retrieve the vertical Adjustment object from the layout.
layoutSetHAdjustment :: LayoutClass l => l -> Adjustment -> IO ()
Set the horizontal adjustment object.
layoutSetVAdjustment :: LayoutClass l => l -> Adjustment -> IO ()
Set the vertical adjustment object.
onSetScrollAdjustments :: LayoutClass l => l -> (Adjustment -> Adjustment -> IO ()) -> IO (ConnectId l)
In case the adjustments are replaced, this signal is emitted.
afterSetScrollAdjustments :: LayoutClass l => l -> (Adjustment -> Adjustment -> IO ()) -> IO (ConnectId l)
Produced by Haddock version 0.6