Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /* $XConsortium: ActivatableT.h /main/5 1995/07/15 20:48:08 drk $ */
0002 /*
0003  * Motif
0004  *
0005  * Copyright (c) 1987-2012, The Open Group. All rights reserved.
0006  *
0007  * These libraries and programs are free software; you can
0008  * redistribute them and/or modify them under the terms of the GNU
0009  * Lesser General Public License as published by the Free Software
0010  * Foundation; either version 2 of the License, or (at your option)
0011  * any later version.
0012  *
0013  * These libraries and programs are distributed in the hope that
0014  * they will be useful, but WITHOUT ANY WARRANTY; without even the
0015  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
0016  * PURPOSE. See the GNU Lesser General Public License for more
0017  * details.
0018  *
0019  * You should have received a copy of the GNU Lesser General Public
0020  * License along with these librararies and programs; if not, write
0021  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
0022  * Floor, Boston, MA 02110-1301 USA
0023  */
0024 /*
0025  * HISTORY
0026  */
0027 #ifndef _XmActivatableT_H
0028 #define _XmActivatableT_H
0029 
0030 #ifdef __cplusplus
0031 extern "C" {
0032 #endif
0033 
0034 #include <Xm/Xm.h>
0035 
0036 externalref XrmQuark XmQTactivatable;
0037 
0038 /* Trait structures and typedefs, place typedefs first */
0039 
0040 typedef void (*XmActivatableCallBackProc)(Widget w, 
0041                       XtCallbackProc activCB,
0042                       XtPointer closure,
0043                       Boolean setunset);
0044 
0045 /* Version 0: initial release. */
0046 
0047 typedef struct _XmActivatableTraitRec {
0048   int               version;    /* 0 */
0049   XmActivatableCallBackProc changeCB;
0050 } XmActivatableTraitRec, *XmActivatableTrait;
0051 
0052 
0053 #ifdef __cplusplus
0054 }  /* Close scope of 'extern "C"' declaration which encloses file. */
0055 #endif
0056 
0057 #endif /* _XmActivatableT_H */