2 * - by Richard W.M. Jones <rich@annexia.org>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the Free
16 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 * $Id: ml_box.h,v 1.1 2002/08/28 19:50:27 rich Exp $
24 #include <ml_widget.h>
27 typedef struct ml_box *ml_box;
29 /* Function: new_ml_box - monolith box widget
30 * Function: ml_box_pack
32 * The monolith box widget encloses another widget inside a rectangular
35 * @code{new_ml_box} creates a new box widget.
37 * @code{ml_box_pack} packs another widget inside the box. A maximum of
38 * one widget can be packed inside a box, so if you call this function
39 * multiple times, then earlier widgets will be forgotten.
41 extern ml_box new_ml_box (pool pool);
42 extern void ml_box_pack (ml_box, ml_widget);