|
||||
File indexing completed on 2025-01-18 10:15:23
0001 /* $XConsortium: ContainerT.h /main/6 1996/02/09 15:05:04 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 0028 #ifndef _XmContainerT_H 0029 #define _XmContainerT_H 0030 0031 #ifdef __cplusplus 0032 extern "C" { 0033 #endif 0034 0035 #include <Xm/Xm.h> 0036 0037 externalref XrmQuark XmQTcontainer; 0038 0039 /* Trait structures and typedefs, place typedefs first */ 0040 0041 /* this one can be expanded in the future */ 0042 typedef struct _XmContainerDataRec { 0043 Mask valueMask ; 0044 0045 Cardinal * detail_order ; 0046 Cardinal detail_order_count ; 0047 XmTabList detail_tablist ; 0048 Dimension first_column_width ; 0049 XtEnum selection_mode ; /* XmNORMAL_MODE, XmADD_MODE */ 0050 Pixel select_color ; 0051 0052 } XmContainerDataRec, *XmContainerData; 0053 0054 #define ContAllValid (0xFFFF) 0055 #define ContDetailOrder (1L<<0) 0056 #define ContDetailTabList (1L<<1) 0057 #define ContFirstColumnWidth (1L<<2) 0058 #define ContSelectionMode (1L<<3) 0059 #define ContSelectColor (1L<<4) 0060 0061 0062 typedef void (*XmContainerGetValuesProc)(Widget w, 0063 XmContainerData contData); 0064 0065 /* Version 0: initial release. */ 0066 0067 typedef struct _XmContainerTraitRec { 0068 int version; /* 0 */ 0069 XmContainerGetValuesProc getValues; 0070 } XmContainerTraitRec, *XmContainerTrait; 0071 0072 0073 #ifdef __cplusplus 0074 } /* Close scope of 'extern "C"' declaration which encloses file. */ 0075 #endif 0076 0077 #endif /* _XmContainerT_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |