/usr/include/Xm/TabList.h is in libmotif-dev 2.3.4-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 | /*
* Motif
*
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
*
* These libraries and programs are free software; you can
* redistribute them and/or modify them under the terms of the GNU
* Lesser General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option)
* any later version.
*
* These libraries and programs are distributed in the hope that
* they will be useful, but WITHOUT ANY WARRANTY; without even the
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU Lesser General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with these librararies and programs; if not, write
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
* Floor, Boston, MA 02110-1301 USA
*
*/
#ifndef _Xm_TabList_h_
#define _Xm_TabList_h_
#include <Xm/Xm.h>
#ifdef __cplusplus
extern "C" {
#endif
#define XmCOLOR_DYNAMIC ((Pixel)-1)
#define XmPIXMAP_DYNAMIC ((Pixmap) 3)
#define XmTAB_LAST_POSITION -1
#define XmTAB_NOT_FOUND -1
#define XmTAB_LABEL_STRING (1L<<0)
#define XmTAB_LABEL_PIXMAP (1L<<1)
#define XmTAB_PIXMAP_PLACEMENT (1L<<2)
#define XmTAB_BACKGROUND (1L<<3)
#define XmTAB_FOREGROUND (1L<<4)
#define XmTAB_VALUE_MODE (1L<<5)
#define XmTAB_LABEL_ALIGNMENT (1L<<6)
#define XmTAB_STRING_DIRECTION (1L<<7)
#define XmTAB_BACKGROUND_PIXMAP (1L<<8)
#define XmTAB_SENSITIVE (1L<<9)
#define XmTAB_ALL_FLAGS (XmTAB_LABEL_STRING|XmTAB_LABEL_PIXMAP|\
XmTAB_PIXMAP_PLACEMENT|XmTAB_BACKGROUND|\
XmTAB_FOREGROUND|XmTAB_VALUE_MODE|\
XmTAB_LABEL_ALIGNMENT|XmTAB_STRING_DIRECTION|\
XmTAB_BACKGROUND_PIXMAP|XmTAB_SENSITIVE)
typedef struct _XmTabAttributeRec {
XmString label_string; /* default: NULL */
XmStringDirection string_direction; /* default: XmSTRING_DIRECTION_L_TO_R*/
Pixmap label_pixmap; /* default: XmUNSPECIFIED_PIXMAP */
int label_alignment; /* default: XmALIGNEMENT_CENTER */
XmPixmapPlacement pixmap_placement; /* default: XmPIXMAP_RIGHT */
Pixel foreground; /* default: XmCOLOR_DYNAMIC */
Pixel background; /* default: XmCOLOR_DYNAMIC */
Pixmap background_pixmap;/* default: XmPIXMAP_DYNAMIC */
Boolean sensitive; /* default: True */
XmTabValueMode value_mode; /* default: XmTAB_VALUE_COPY */
} XmTabAttributeRec, * XmTabAttributes;
typedef struct _XmTabbedStackListRec *XmTabbedStackList;
XmTabbedStackList XmTabbedStackListCreate(
#ifndef _NO_PROTO
void
#endif
);
XmTabbedStackList XmTabbedStackListCopy(
#ifndef _NO_PROTO
XmTabbedStackList
#endif
);
void XmTabbedStackListFree(
#ifndef _NO_PROTO
XmTabbedStackList
#endif
);
void XmTabbedStackListRemove(
#ifndef _NO_PROTO
XmTabbedStackList, int
#endif
);
int XmTabbedStackListInsert(
#ifndef _NO_PROTO
XmTabbedStackList, int, XtValueMask, XmTabAttributes
#endif
);
int XmTabbedStackListAppend(
#ifndef _NO_PROTO
XmTabbedStackList, XtValueMask, XmTabAttributes
#endif
);
void XmTabbedStackListModify(
#ifndef _NO_PROTO
XmTabbedStackList, int, XtValueMask, XmTabAttributes
#endif
);
void XmTabbedStackListQuery(
#ifndef _NO_PROTO
XmTabbedStackList, int, XmTabAttributes
#endif
);
int XmTabbedStackListFind(
#ifndef _NO_PROTO
XmTabbedStackList, XmString
#endif
);
void XmTabbedStackListSimpleRemove(
#ifndef _NO_PROTO
XmTabbedStackList, XmString
#endif
);
int XmTabbedStackListSimpleInsert(
#ifndef _NO_PROTO
XmTabbedStackList, int, XmString
#endif
);
int XmTabbedStackListSimpleAppend(
#ifndef _NO_PROTO
XmTabbedStackList, XmString
#endif
);
void XmTabbedStackListSimpleModify(
#ifndef _NO_PROTO
XmTabbedStackList, int, XmString
#endif
);
XmString XmTabbedStackListSimpleQuery(
#ifndef _NO_PROTO
XmTabbedStackList, int
#endif
);
XmTabResult XmTabbedStackListCompare(
#ifndef _NO_PROTO
XmTabbedStackList, XmTabbedStackList
#endif
);
void XmTabAttibutesFree(
#ifndef _NO_PROTO
XmTabAttributes
#endif
);
#ifdef __cplusplus
} /* Closes scope of 'extern "C"' declaration */
#endif
#endif
|