Go to the first, previous, next, last section, table of contents.

Creating a Container

* container initSize resizeFun component

container :: (Size -> (Size, Rectangle))
	  -> (Size -> Rectangle -> Rectangle) 
	  -> DisplayHandle 
          -> DisplayHandle

* mkContainer initSize resizeFun bground component

mkContainer :: (Size -> (Size,Rectangle))
	    -> (Size -> Rectangle -> Rectangle) 
	    -> Maybe DisplayHandle 
	    -> DisplayHandle
	    -> Component (Container, DisplayHandle)

a generalisation of container, paramterised over the component that should appear behind the contained component. mkContainer also returns a Container handle, through which all the Container operators can be performed.

Go to the first, previous, next, last section, table of contents.