Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /* 
0002  * Motif
0003  *
0004  * Copyright (c) 1987-2012, The Open Group. All rights reserved.
0005  *
0006  * These libraries and programs are free software; you can
0007  * redistribute them and/or modify them under the terms of the GNU
0008  * Lesser General Public License as published by the Free Software
0009  * Foundation; either version 2 of the License, or (at your option)
0010  * any later version.
0011  *
0012  * These libraries and programs are distributed in the hope that
0013  * they will be useful, but WITHOUT ANY WARRANTY; without even the
0014  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
0015  * PURPOSE. See the GNU Lesser General Public License for more
0016  * details.
0017  *
0018  * You should have received a copy of the GNU Lesser General Public
0019  * License along with these librararies and programs; if not, write
0020  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
0021  * Floor, Boston, MA 02110-1301 USA
0022 */ 
0023 /***********************************************************************
0024  *
0025  * PushButton Widget
0026  *
0027  ***********************************************************************/
0028 
0029 #ifndef _XmPButton_h
0030 #define _XmPButton_h
0031 
0032 #include <Xm/Xm.h>
0033 
0034 #ifdef __cplusplus
0035 extern "C" {
0036 #endif
0037 
0038 #ifndef XmIsPushButton
0039 #define XmIsPushButton(w) XtIsSubclass(w, xmPushButtonWidgetClass)
0040 #endif /* XmIsPushButton */
0041 
0042 /* PushButton Widget */
0043 
0044 externalref WidgetClass xmPushButtonWidgetClass;
0045 
0046 typedef struct _XmPushButtonClassRec *XmPushButtonWidgetClass;
0047 typedef struct _XmPushButtonRec      *XmPushButtonWidget;
0048 
0049 
0050 /********    Public Function Declarations    ********/
0051 
0052 extern Widget XmCreatePushButton( 
0053                         Widget parent,
0054                         char *name,
0055                         ArgList arglist,
0056                         Cardinal argcount) ;
0057 /*
0058  * Variable argument list functions
0059  */
0060 extern Widget XmVaCreatePushButton(
0061                         Widget parent,
0062                         char *name,
0063                         ...);
0064 extern Widget XmVaCreateManagedPushButton(
0065                         Widget parent,
0066                         char *name,
0067                         ...);
0068 /********    End Public Function Declarations    ********/
0069 
0070 
0071 #ifdef __cplusplus
0072 }  /* Close scope of 'extern "C"' declaration which encloses file. */
0073 #endif
0074 
0075 #endif /* _XmPButton_h */
0076 /* DON'T ADD ANYTHING AFTER THIS #endif */