
/*************************************************************************
 * Version 1.00  on  28.12.1995
 * (c) 1995 Pralay Dakua
 *     pralay@teil.soft.net
 *
 * This program is free software; permission hereby granted, free of
 * charge, to any person obtaining a copy of this software and
 * associated documentations to copy, modify and  distribute it under
 * the terms of the GNU General Public License as published by
 * the Free Software Foundation, subject to the following conditions:

 * The above copyright notice and this permission notice shall be included
 * in all copies or substantial portions of the Software.

 * AS THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
 * FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
 * OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
 * PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
 * OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
 * TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU,  SHOULD THE
 * PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
 * REPAIR OR CORRECTION.
 *
 **************************************************************************/


   Class Pointer: xmCenterWidgetClass
   Class Name:    XmCenter
   Include File:  Center.h
   Superclass:    XmManager

    Resources:
       Name                    Type                     Default
       ----                    ----                     -------
       XmNorientation          XmROrientation           XmHORIZONTAL
       XmNjustification        XmRJustification         XmJUSTIFICATION_CENTER
       XmNspacing              XmRDimension             0
       XmNdistributed          XmRBoolean               FALSE 

   Description:
       Center widget layout its children at the center of it. If the 
      XmNorientation is XmHORIZONTAL it layout its children horizontally
      and vertically for XmVERTICAL. XmNspacing specify the space left
      between two children.
       If XmNjustification is XmJUSTIFICATION_CENTER (default) it aligns
      its children keeping the centers of the children in one straight
      line (in case of horizontal orientation this line is horizontal and
      at vertical orientation it's vertical). If justification is 
      XmJUSTIFICATION_BEGINNING, for horizontal orientation all the children
      are top justified and for vertical orientation all are left justified.
      For XmJUSTIFICATION_END children are bottom justified for horizontal
      orientation and right justified for vertical orientation.
       If XmNdistributed is TRUE, instead of keeping its children at the
      center is distridute its children all over its space leaving eqaul
      space between them. In that case it doesn't take the value from
      XmNspacing. 


