[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
       OpenLayoutWindowTagList -- open a window at a suitable size for layout
       OpenLayoutWindowTags -- Varags stub for OpenLayoutWindowTagList

   SYNOPSIS
       window = OpenLayoutWindowTagList( layout, screen, taglist )

       struct window *openlayoutwindowtaglist( struct gadget *,
               struct screen *, struct taglist * )

       window = OpenLayoutWindowTags( layout, screen, tag, ... )

       struct window *openlayoutwindowtags( struct gadget *,
               struct screen *, tag, ... )

   FUNCTION
       Determines the minimum size that will fit a layout and opens the window
       at that size. The sizing limits of the window will be set according to
       the layout's limits, and the layout will be added to the window,
       making it relative to window size. The layout will fit the whole inner
       size of the window. It will not be rendered, so you must call
       refreshgadgets(), possibly after adding your border gadgets.

       This function will set InnerWidth, InnerHeight, and the screen for the
       window. Other tags you have to pass yourself.

   INPUTS
       layout -- the layout hierarcy for the window
       screen -- pointer to the screen the window will be opened on
       taglist -- the additional tags for the window.

   RESULTS
       A pointer to the opened window or NULL if the open failed.