Name

Frame —

This container adds a frame around its contents. This is useful to logically separate items in a dialog box.

Synopsis

frameNew:: IO Frame
frameGetLabel:: FrameClass f => f -> IO String
frameSetLabel:: FrameClass f => f -> String -> IO ()
frameSetLabelAlign:: FrameClass f => f -> Float -> IO ()
frameSetLabelWidget:: (FrameClass f, WidgetClass w) => f -> w -> IO ()
frameSetShadowType:: FrameClass f => f -> ShadowType -> IO ()

Constructors

frameNew

Create a new frame without a label.

frameNew

A label can later be set by calling frameSetLabel.

Methods

frameGetLabel

Retrieve the label of the frame.

frameGetLabel:: f:: IO String
f

An exception is thrown if a non-Label widget was set. (EXPORTED)

frameSetLabel

Replace the label of the frame.

frameSetLabel:: f:: String:: IO ()
flabel

frameSetLabelAlign

Specify where the label should be placed.

frameSetLabelAlign:: f:: Float:: IO ()
falign

A value of 0.0 means left justified (the default), a value of 1.0 means right justified.

frameSetLabelWidget

Replace the label with a (label) widget.

frameSetLabelWidget:: f:: w:: IO ()
fw

frameSetShadowType

Set the shadow type of the frame.

frameSetShadowType:: f:: ShadowType:: IO ()
fshadow