Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /* $XConsortium: TravConT.h /main/5 1995/07/15 20:56:44 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 /*
0026  * HISTORY
0027  */
0028 #ifndef _XmTravConT_h
0029 #define _XmTravConT_h
0030 
0031 #include <Xm/Xm.h>
0032 
0033 #ifdef __cplusplus
0034 extern "C" {
0035 #endif
0036 
0037 externalref XrmQuark XmQTtraversalControl;
0038 
0039 
0040 typedef Widget (*XmTraversalRedirectionProc)(Widget               old_focus,
0041                          Widget               new_focus,
0042                          unsigned int         focus_policy,
0043                          XmTraversalDirection direction,
0044                          unsigned int         pass);
0045 
0046 
0047 /* Version 0: initial release. */
0048 
0049 typedef struct _XmTraversalControlTraitRec {
0050   int               version;    /* 0 */
0051   XmTraversalRedirectionProc    redirect;
0052 } XmTraversalControlTraitRec, *XmTraversalControlTrait;
0053 
0054 
0055 #ifdef __cplusplus
0056 }  /* Close scope of 'extern "C"' declaration which encloses file. */
0057 #endif
0058 
0059 #endif /* XmTravConT_h */