Back to home page

EIC code displayed by LXR

 
 

    


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

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 #ifndef _XmCommand_h
0024 #define _XmCommand_h
0025 
0026 #include <Xm/Xm.h>
0027 
0028 #ifdef __cplusplus
0029 extern "C" {
0030 #endif
0031 
0032 /* Class record constants */
0033 
0034 externalref WidgetClass xmCommandWidgetClass;
0035 
0036 typedef struct _XmCommandClassRec * XmCommandWidgetClass;
0037 typedef struct _XmCommandRec      * XmCommandWidget;
0038 
0039 
0040 #ifndef XmIsCommand
0041 #define XmIsCommand(w)  (XtIsSubclass (w, xmCommandWidgetClass))
0042 #endif
0043 
0044 
0045 
0046 /********    Public Function Declarations    ********/
0047 
0048 extern Widget XmCreateCommand( 
0049                         Widget parent,
0050                         String name,
0051                         ArgList al,
0052                         Cardinal ac) ;
0053 extern Widget XmVaCreateCommand(
0054                         Widget parent,
0055                         char *name,
0056                         ...);
0057 extern Widget XmVaCreateManagedCommand(
0058                         Widget parent,
0059                         char *name,
0060                         ...);
0061 extern Widget XmCommandGetChild( 
0062                         Widget widget,
0063 #if NeedWidePrototypes
0064                         unsigned int child) ;
0065 #else
0066                         unsigned char child) ;
0067 #endif /* NeedWidePrototypes */
0068 extern void XmCommandSetValue( 
0069                         Widget widget,
0070                         XmString value) ;
0071 extern void XmCommandAppendValue( 
0072                         Widget widget,
0073                         XmString value) ;
0074 extern void XmCommandError( 
0075                         Widget widget,
0076                         XmString error) ;
0077 extern Widget XmCreateCommandDialog( 
0078                         Widget ds_p,
0079                         String name,
0080                         ArgList fsb_args,
0081                         Cardinal fsb_n) ;
0082 
0083 
0084 /********    End Public Function Declarations    ********/
0085 
0086 
0087 #ifdef __cplusplus
0088 }  /* Close scope of 'extern "C"' declaration which encloses file. */
0089 #endif
0090 
0091 #endif /* _XmCommand_h */
0092 /* DON'T ADD ANYTHING AFTER THIS #endif */