|
Graphics.UI.Gtk.Abstract.Container |
|
|
|
|
Description |
This abstract widget implements the basis for turning serveral widgets
into one compound widget.
|
|
Synopsis |
|
|
|
Documentation |
|
data Container |
|
|
class WidgetClass o => ContainerClass o |
|
|
castToContainer :: GObjectClass obj => obj -> Container |
|
containerAdd :: (ContainerClass c, WidgetClass w) => c -> w -> IO () |
Add a widget to the container.
- Only useful for simple
containers like Window. Use boxPackStart or tableAttach in other cases. A
widget may not be added to more than one container.
|
|
containerRemove :: (ContainerClass c, WidgetClass w) => c -> w -> IO () |
Removes a present widget from the container.
|
|
containerForeach :: ContainerClass c => c -> ContainerForeachCB -> IO () |
Do something for each widget in the container.
|
|
containerGetChildren :: ContainerClass c => c -> IO [Widget] |
Returns the the container's children.
|
|
data DirectionType |
Editing direction
| Constructors | DirTabForward | | DirTabBackward | | DirUp | | DirDown | | DirLeft | | DirRight | |
| Instances | |
|
|
containerSetFocusChild :: (ContainerClass c, WidgetClass w) => c -> w -> IO () |
Give the focus to a specific child of the
container.
|
|
containerSetFocusChain :: ContainerClass c => c -> [Widget] -> IO () |
Sets a focus chain, overriding the one computed automatically by GTK+.
|
|
containerGetFocusChain :: ContainerClass c => c -> IO (Maybe [Widget]) |
Retrieves the focus chain of the container, if one has been set explicitly.
|
|
containerUnsetFocusChain :: ContainerClass c => c -> IO () |
Removes a focus chain explicitly set with containerSetFocusChain.
|
|
containerSetFocusVAdjustment :: (ContainerClass c, AdjustmentClass a) => c -> a -> IO () |
Install an adjustment widget that is queried when focus is changed.
|
|
containerGetFocusVAdjustment :: ContainerClass c => c -> IO (Maybe Adjustment) |
Retrieves the vertical focus adjustment for the container, or Nothing if
none has been set.
|
|
containerSetFocusHAdjustment :: (ContainerClass c, AdjustmentClass a) => c -> a -> IO () |
Install an adjustment widget that is queried when focus is changed.
|
|
containerGetFocusHAdjustment :: ContainerClass c => c -> IO (Maybe Adjustment) |
Retrieves the horizontal focus adjustment for the container, or Nothing if
none has been set.
|
|
containerResizeChildren :: ContainerClass c => c -> IO () |
Make the container resize its children.
|
|
containerSetBorderWidth :: ContainerClass c => c -> Int -> IO () |
Set the amount of empty space around the outside of the container.
The border width of a container is the amount of space to leave around the
outside of the container. The border is added on all sides of the container.
|
|
containerGetBorderWidth :: ContainerClass c => c -> IO Int |
Retrieves the border width of the container. See containerSetBorderWidth.
|
|
containerChildSetProperty |
|
|
containerChildGetProperty |
|
|
onAdd :: ContainerClass con => con -> (Widget -> IO ()) -> IO (ConnectId con) |
This signal is called each time a new widget is added
to this container.
|
|
afterAdd :: ContainerClass con => con -> (Widget -> IO ()) -> IO (ConnectId con) |
|
onCheckResize :: ContainerClass con => con -> IO () -> IO (ConnectId con) |
This signal is called when the widget is
resized.
|
|
afterCheckResize :: ContainerClass con => con -> IO () -> IO (ConnectId con) |
|
onFocus :: ContainerClass con => con -> (DirectionType -> IO DirectionType) -> IO (ConnectId con) |
This signal is called if the container receives the
input focus.
|
|
afterFocus :: ContainerClass con => con -> (DirectionType -> IO DirectionType) -> IO (ConnectId con) |
|
onRemove :: ContainerClass con => con -> (Widget -> IO ()) -> IO (ConnectId con) |
This signal is called for each widget that is
removed from the container.
|
|
afterRemove :: ContainerClass con => con -> (Widget -> IO ()) -> IO (ConnectId con) |
|
onSetFocusChild :: ContainerClass con => con -> (Widget -> IO ()) -> IO (ConnectId con) |
This signal is called if a child in the
container receives the input focus.
|
|
afterSetFocusChild :: ContainerClass con => con -> (Widget -> IO ()) -> IO (ConnectId con) |
|
Produced by Haddock version 0.6 |