/usr/include/Xm/Ext.h is in libmotif-dev 2.3.4-13.
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 | /*
* 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 _XmExt_h_
#define _XmExt_h_
/************************************************************
* INCLUDE FILES
*************************************************************/
#include <Xm/Xm.h>
#if defined(__cplusplus)
extern "C" {
#endif
typedef Widget (*XmWidgetFunc)(Widget);
/************************************************************
* TYPEDEFS AND DEFINES
*************************************************************/
/*
* General name definitions.
*/
#define XmNbadActionParameters "badActionParameters"
#define XmNbadActionParametersMsg \
"Bad parameters passed to an action routine of widget '%s'."
#define XmNbadMotionParams "badMotionParams"
#define XmNbadMotionParamsMsg \
"%s - Motion Action : must have exactly 1 parameter, either '%s' or '%s'."
#define XmNbadRowPixmap "badRowPixmap"
#define XmNbadRowPixmapMsg "Extended List: Row pixmaps must have depth of 1."
#define XmNbadXlfdFont "badXlfdFont"
#define XmNbadXlfdFontMsg \
"%s: All Xlfd fonts must contain 14 hyphens\n'%s' is not valid."
#define XmNcellNotEmpty "cellNotEmpty"
#define XmNcellNotEmptyMsg "XmIconBox: Cell %s is not empty"
#define XmNcolorNameTooLong "colorNameTooLong"
#define XmNcolorNameTooLongMsg \
"Color name '%s' is too long, truncated to '%s'."
#define XmNcontextSaveFailed "contextSaveFailed"
#define XmNcontextSaveFailedMsg "Internal Error: Could not save context data."
#define XmNconversionFailure "conversionFailure"
#define XmNconversionFailureMsg \
"%s: Unable to perform string to %s conversion."
#define XmNcouldNotFindFamilyData "couldNotFindFamilyData"
#define XmNcouldNotFindFamilyDataMsg \
"Could not find family data for family '%s'."
#define XmNforceGreaterThanZero "forceGreaterThanZero"
#define XmNforceGreaterThanZeroMsg \
"XmNvisibleItemCount must be greater than zero being reset to one (1)."
#define XmNinsertBeforeNotSibling "insertBeforeNotSibling"
#define XmNinsertBeforeNotSiblingMsg "XmHierarchy: InsertBefore Widget\
is not a sibling of '%s'.\nInserting child at end of list."
#define XmNnoComboShell "noComboShell"
#define XmNnoComboShellMsg \
"Combination Box: When using a custom combo box a shell must be provided."
#define XmNnoEmptyCells "noEmptyCells"
#define XmNnoEmptyCellsMsg "XmIconBox: Could not find any empty cells."
#define XmNnoGadgetSupport "noGadgetSupport"
#define XmNnoGadgetSupportMsg "Widget does not support gadget children."
#define XmNpixEditBadImageCreate "pixEditBadImageCreate"
#define XmNpixEditBadImageCreateMsg "Pixmap Editor: Can't allocate image data"
#define XmNsameAsImageOrPix "sameAsImageOrPix"
#define XmNsameAsImageOrPixMsg \
"%s : The bitmapMode resource can only be changed at the same time as the pixmap or image"
#define XmNselfOrOutsideOfApplicationDrop "selfOrOutsideOfApplicationDrop"
#define XmNselfOrOutsideOfApplicationDropMsg \
"Attempt to drop into illegal object."
#define XmNstaticTranslationsMsg \
"Cannot change translation table after initialization."
#define XmNstaticScrollbarsMsg \
"Cannot change scrollbars after initialization."
#define XmNtextVerifyFailed "textVerifyFailed"
#define XmNtextVerifyFailedMsg "Combination Box: Text item validation failed."
#define XmNunexpectedEvent "unexpectedEvent"
#define XmNunexpectedEventMsg "Unexpected Event Type %s.\n"
#define XmNunparsableColor "unparsableColor"
#define XmNunparsableColorMsg \
"Could not parse the color name '%s'."
#define XmNnodeParentIsSelf "nodeParentIsSelf"
#define XmNnodeParentIsSelfMsg \
"The node parent cannot be self referential."
#define XmNstringGetFailed "stringGetFailed"
#define XmNstringGetFailedMsg "Unable to get MB string from XmString."
/************************************************************
* MACROS
*************************************************************/
/************************************************************
* GLOBAL DECLARATIONS
*************************************************************/
/************************************************************
* EXTERNAL DECLARATIONS
*************************************************************/
void XmCopyISOLatin1Lowered(char *, char *);
int XmCompareISOLatin1(char*, char*);
Boolean XmCompareXtWidgetGeometryToWidget(XtWidgetGeometry*, Widget);
Boolean XmCompareXtWidgetGeometry(XtWidgetGeometry*, XtWidgetGeometry*);
#if defined(__cplusplus)
}
#endif
#if defined(VMS) || defined(__VMS)
#include <X11/apienvrst.h>
#endif
#endif /* __Ext_h__ */
|