File indexing completed on 2025-01-18 10:15:29
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028 #ifndef _XmToggleG_h
0029 #define _XmToggleG_h
0030
0031 #include <Xm/Xm.h>
0032
0033 #ifdef __cplusplus
0034 extern "C" {
0035 #endif
0036
0037
0038 externalref WidgetClass xmToggleButtonGadgetClass;
0039
0040 typedef struct _XmToggleButtonGadgetClassRec *XmToggleButtonGadgetClass;
0041 typedef struct _XmToggleButtonGadgetRec *XmToggleButtonGadget;
0042 typedef struct _XmToggleButtonGCacheObjRec *XmToggleButtonGCacheObject;
0043
0044
0045
0046 #ifndef XmIsToggleButtonGadget
0047 #define XmIsToggleButtonGadget(w) XtIsSubclass(w, xmToggleButtonGadgetClass)
0048 #endif
0049
0050
0051
0052
0053 Boolean XmToggleButtonGadgetGetState(
0054 Widget w);
0055 void XmToggleButtonGadgetSetState(
0056 Widget w,
0057 #if NeedWidePrototypes
0058 int newstate,
0059 int notify) ;
0060 #else
0061 Boolean newstate,
0062 Boolean notify);
0063 #endif
0064
0065 Boolean XmToggleButtonGadgetSetValue(
0066 Widget w,
0067 #if NeedWidePrototypes
0068 int newstate,
0069 int notify);
0070 #else
0071 XmToggleButtonState newstate,
0072 Boolean notify);
0073 #endif
0074
0075 Widget XmCreateToggleButtonGadget(
0076 Widget parent,
0077 char *name,
0078 Arg *arglist,
0079 Cardinal argCount);
0080 Widget XmVaCreateToggleButtonGadget(
0081 Widget parent,
0082 char *name,
0083 ...);
0084 Widget XmVaCreateManagedToggleButtonGadget(
0085 Widget parent,
0086 char *name,
0087 ...);
0088
0089
0090
0091 #ifdef __cplusplus
0092 }
0093 #endif
0094
0095 #endif
0096