Back to home page

EIC code displayed by LXR

 
 

    


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

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 #ifndef _XmIconButton_h
0026 #define _XmIconButton_h
0027 
0028 #if defined(VMS) || defined(__VMS)
0029 #include <X11/apienvset.h>
0030 #endif
0031 
0032 #include <Xm/Ext.h>
0033 
0034 /************************************************************
0035 *   INCLUDE FILES
0036 *************************************************************/
0037 
0038 /************************************************************
0039 *   TYPEDEFS AND DEFINES
0040 *************************************************************/
0041 
0042 #if defined(__cplusplus)
0043 extern "C" {
0044 #endif
0045 
0046 typedef struct _XmIconButtonClassRec    *XmIconButtonWidgetClass;
0047 typedef struct _XmIconButtonRec         *XmIconButtonWidget;
0048 
0049 
0050 /************************************************************
0051 *   MACROS
0052 *************************************************************/
0053 
0054 /************************************************************
0055 *   GLOBAL DECLARATIONS
0056 *************************************************************/
0057 
0058 typedef struct _XmIconButtonCallbackInfo {
0059     Boolean state;      /* The current state of the icon button. */
0060     XEvent * event;     /* The event that caused this action. */
0061 } XmIconButtonCallbackInfo;
0062 
0063 /************************************************************
0064 *   EXTERNAL DECLARATIONS
0065 *************************************************************/
0066 
0067 /*  Function Name: XmCreateIconButton
0068  *  Description: Creation Routine for UIL and ADA.
0069  *  Arguments: parent - the parent widget.
0070  *                 name - the name of the widget.
0071  *                 args, num_args - the number and list of args.
0072  *  Returns: The Widget created.
0073  */
0074 
0075 Widget XmCreateIconButton(
0076 #ifndef _NO_PROTO
0077 Widget, String, ArgList, Cardinal
0078 #endif
0079 );
0080 
0081 extern WidgetClass xmIconButtonWidgetClass;
0082 
0083 #if defined(__cplusplus)
0084 }
0085 #endif
0086 
0087 #if defined(VMS) || defined(__VMS)
0088 #include <X11/apienvrst.h>
0089 #endif
0090 
0091 #endif /* _XmIconButton_h */