1 /* 2 * Motif 3 * 4 * Copyright (c) 1987-2012, The Open Group. All rights reserved. 5 * 6 * These libraries and programs are free software; you can 7 * redistribute them and/or modify them under the terms of the GNU 8 * Lesser General Public License as published by the Free Software 9 * Foundation; either version 2 of the License, or (at your option) 10 * any later version. 11 * 12 * These libraries and programs are distributed in the hope that 13 * they will be useful, but WITHOUT ANY WARRANTY; without even the 14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 15 * PURPOSE. See the GNU Lesser General Public License for more 16 * details. 17 * 18 * You should have received a copy of the GNU Lesser General Public 19 * License along with these librararies and programs; if not, write 20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth 21 * Floor, Boston, MA 02110-1301 USA 22 */ 23 #ifndef _XmLabelG_h 24 #define _XmLabelG_h 25 26 #include <Xm/Xm.h> 27 28 #ifdef __cplusplus 29 extern "C" { 30 #endif 31 32 /* Widget class and record definitions */ 33 34 35 externalref WidgetClass xmLabelGadgetClass; 36 37 typedef struct _XmLabelGadgetClassRec * XmLabelGadgetClass; 38 typedef struct _XmLabelGadgetRec * XmLabelGadget; 39 typedef struct _XmLabelGCacheObjRec * XmLabelGCacheObject; 40 41 /*fast subclass define */ 42 #ifndef XmIsLabelGadget 43 #define XmIsLabelGadget(w) XtIsSubclass(w, xmLabelGadgetClass) 44 #endif /* XmIsLabelGadget */ 45 46 47 /******** Public Function Declarations ********/ 48 49 extern Widget XmCreateLabelGadget( 50 Widget parent, 51 char *name, 52 Arg *arglist, 53 Cardinal argCount) ; 54 extern Widget XmVaCreateLabelGadget( 55 Widget parent, 56 char *name, 57 ...); 58 extern Widget XmVaCreateManagedLabelGadget( 59 Widget parent, 60 char *name, 61 ...); 62 /******** End Public Function Declarations ********/ 63 64 65 #ifdef __cplusplus 66 } /* Close scope of 'extern "C"' declaration which encloses file. */ 67 #endif 68 69 #endif /* _XmLabelG_h */ 70 /* DON'T ADD ANYTHING AFTER THIS #endif */ 71