1 /* $XConsortium: TravConT.h /main/5 1995/07/15 20:56:44 drk $ */ 2 /* 3 * Motif 4 * 5 * Copyright (c) 1987-2012, The Open Group. All rights reserved. 6 * 7 * These libraries and programs are free software; you can 8 * redistribute them and/or modify them under the terms of the GNU 9 * Lesser General Public License as published by the Free Software 10 * Foundation; either version 2 of the License, or (at your option) 11 * any later version. 12 * 13 * These libraries and programs are distributed in the hope that 14 * they will be useful, but WITHOUT ANY WARRANTY; without even the 15 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 16 * PURPOSE. See the GNU Lesser General Public License for more 17 * details. 18 * 19 * You should have received a copy of the GNU Lesser General Public 20 * License along with these librararies and programs; if not, write 21 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth 22 * Floor, Boston, MA 02110-1301 USA 23 * 24 */ 25 /* 26 * HISTORY 27 */ 28 #ifndef _XmTravConT_h 29 #define _XmTravConT_h 30 31 #include <Xm/Xm.h> 32 33 #ifdef __cplusplus 34 extern "C" { 35 #endif 36 37 externalref XrmQuark XmQTtraversalControl; 38 39 40 typedef Widget (*XmTraversalRedirectionProc)(Widget old_focus, 41 Widget new_focus, 42 unsigned int focus_policy, 43 XmTraversalDirection direction, 44 unsigned int pass); 45 46 47 /* Version 0: initial release. */ 48 49 typedef struct _XmTraversalControlTraitRec { 50 int version; /* 0 */ 51 XmTraversalRedirectionProc redirect; 52 } XmTraversalControlTraitRec, *XmTraversalControlTrait; 53 54 55 #ifdef __cplusplus 56 } /* Close scope of 'extern "C"' declaration which encloses file. */ 57 #endif 58 59 #endif /* XmTravConT_h */ 60