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 /*********************************************************************** 24 * 25 * PushButton Widget 26 * 27 ***********************************************************************/ 28 29 #ifndef _XmPButtonG_h 30 #define _XmPButtonG_h 31 32 #include <Xm/Xm.h> 33 34 #ifdef __cplusplus 35 extern "C" { 36 #endif 37 38 #ifndef XmIsPushButtonGadget 39 #define XmIsPushButtonGadget(w) XtIsSubclass(w, xmPushButtonGadgetClass) 40 #endif /* XmIsPushButtonGadget */ 41 42 externalref WidgetClass xmPushButtonGadgetClass; 43 44 typedef struct _XmPushButtonGadgetClassRec *XmPushButtonGadgetClass; 45 typedef struct _XmPushButtonGadgetRec *XmPushButtonGadget; 46 typedef struct _XmPushButtonGCacheObjRec *XmPushButtonGCacheObject; 47 48 49 /******** Public Function Declarations ********/ 50 51 extern Widget XmCreatePushButtonGadget( 52 Widget parent, 53 char *name, 54 ArgList arglist, 55 Cardinal argcount) ; 56 57 extern Widget XmVaCreatePushButtonGadget( 58 Widget parent, 59 char *name, 60 ...); 61 62 extern Widget XmVaCreateManagedPushButtonGadget( 63 Widget parent, 64 char *name, 65 ...); 66 67 /******** End Public Function Declarations ********/ 68 69 70 #ifdef __cplusplus 71 } /* Close scope of 'extern "C"' declaration which encloses file. */ 72 #endif 73 74 #endif /* _XmPButtonG_h */ 75 /* DON'T ADD ANYTHING AFTER THIS #endif */ 76