Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:15:23

0001 /* $XConsortium: Container.h /main/5 1995/07/15 20:50:08 drk $ */
0002 /*
0003  * Motif
0004  *
0005  * Copyright (c) 1987-2012, The Open Group. All rights reserved.
0006  *
0007  * These libraries and programs are free software; you can
0008  * redistribute them and/or modify them under the terms of the GNU
0009  * Lesser General Public License as published by the Free Software
0010  * Foundation; either version 2 of the License, or (at your option)
0011  * any later version.
0012  *
0013  * These libraries and programs are distributed in the hope that
0014  * they will be useful, but WITHOUT ANY WARRANTY; without even the
0015  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
0016  * PURPOSE. See the GNU Lesser General Public License for more
0017  * details.
0018  *
0019  * You should have received a copy of the GNU Lesser General Public
0020  * License along with these librararies and programs; if not, write
0021  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
0022  * Floor, Boston, MA 02110-1301 USA
0023  */
0024 /*
0025  * HISTORY
0026  */
0027 #ifndef _XmContainer_h
0028 #define _XmContainer_h
0029 
0030 #include <Xm/Xm.h>
0031 #include <Xm/Manager.h>
0032 
0033 #ifdef __cplusplus
0034 extern "C" {
0035 #endif
0036 
0037 
0038 
0039 /* Class record constants */
0040 externalref WidgetClass xmContainerWidgetClass;
0041 
0042 typedef struct  _XmContainerClassRec    *XmContainerWidgetClass;
0043 typedef struct  _XmContainerRec *XmContainerWidget;
0044 
0045 #ifndef XmIsContainer
0046 #define XmIsContainer(w) XtIsSubclass(w, xmContainerWidgetClass)
0047 #endif /* XmIsContainer */
0048 
0049 
0050 /********    Public Function Declarations    ********/
0051 extern  Widget  XmCreateContainer(
0052             Widget parent,
0053             String name,
0054             ArgList arglist,
0055             Cardinal argcount);
0056 extern Widget XmVaCreateContainer(
0057                         Widget parent,
0058                         char *name,
0059                         ...);
0060 extern Widget XmVaCreateManagedContainer(
0061                         Widget parent,
0062                         char *name,
0063                         ...);
0064 extern  int XmContainerGetItemChildren(
0065             Widget      wid,
0066             Widget      item,
0067             WidgetList  *item_children);
0068 extern  void    XmContainerRelayout(
0069             Widget  wid);
0070 extern  void    XmContainerReorder(
0071             Widget      wid,
0072             WidgetList  cwid_list,
0073             int     cwid_count);    
0074 extern  Boolean XmContainerCut(
0075                         Widget  wid,
0076                         Time    timestamp);
0077 extern  Boolean XmContainerCopy(
0078                         Widget  wid,
0079                         Time    timestamp);
0080 extern  Boolean XmContainerPaste(
0081                         Widget  wid);
0082 extern  Boolean XmContainerCopyLink(
0083                         Widget  wid,
0084                         Time    timestamp);
0085 extern  Boolean XmContainerPasteLink(
0086                         Widget  wid);
0087 /********    End Public Function Declarations    ********/
0088 
0089 #ifdef __cplusplus
0090 }  /* Close scope of 'extern "C"' declaration which encloses file. */
0091 #endif
0092 
0093 #endif /* _XmContainer_h */
0094 /* DON'T ADD ANYTHING AFTER THIS #endif */