File indexing completed on 2025-01-18 10:15:23
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
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
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
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
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
0085
0086
0087 #ifdef __cplusplus
0088 }
0089 #endif
0090
0091 #endif
0092