|
||||
File indexing completed on 2025-01-30 10:26:36
0001 /* 0002 * 0003 Copyright 1989, 1994, 1998 The Open Group 0004 0005 Permission to use, copy, modify, distribute, and sell this software and its 0006 documentation for any purpose is hereby granted without fee, provided that 0007 the above copyright notice appear in all copies and that both that 0008 copyright notice and this permission notice appear in supporting 0009 documentation. 0010 0011 The above copyright notice and this permission notice shall be included in 0012 all copies or substantial portions of the Software. 0013 0014 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 0015 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 0016 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 0017 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 0018 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 0019 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 0020 0021 Except as contained in this notice, the name of The Open Group shall not be 0022 used in advertising or otherwise to promote the sale, use or other dealings 0023 in this Software without prior written authorization from The Open Group. 0024 */ 0025 0026 /* 0027 * SmeBSB.h - Public Header file for SmeBSB object. 0028 * 0029 * This is the public header file for the Athena BSB Sme object. 0030 * It is intended to be used with the simple menu widget. This object 0031 * provides bitmap - string - bitmap style entries. 0032 * 0033 * Date: April 3, 1989 0034 * 0035 * By: Chris D. Peterson 0036 * MIT X Consortium 0037 * kit@expo.lcs.mit.edu 0038 */ 0039 0040 #ifndef _SmeBSB_h 0041 #define _SmeBSB_h 0042 0043 #include <X11/Xmu/Converters.h> 0044 #include <X11/Xaw/Sme.h> 0045 0046 /* BSB Menu Entry Resources: 0047 0048 Name Class RepType Default Value 0049 ---- ----- ------- ------------- 0050 callback Callback Callback NULL 0051 destroyCallback Callback Pointer NULL 0052 font Font XFontStruct * XtDefaultFont 0053 foreground Foreground Pixel XtDefaultForeground 0054 height Height Dimension 0 0055 label Label String Name of entry 0056 leftBitmap LeftBitmap Pixmap None 0057 leftMargin HorizontalMargins Dimension 4 0058 menuName MenuName String NULL 0059 rightBitmap RightBitmap Pixmap None 0060 rightMargin HorizontalMargins Dimension 4 0061 sensitive Sensitive Boolean True 0062 vertSpace VertSpace int 25 0063 width Width Dimension 0 0064 x Position Position 0 0065 y Position Position 0 0066 0067 */ 0068 0069 typedef struct _SmeBSBClassRec *SmeBSBObjectClass; 0070 typedef struct _SmeBSBRec *SmeBSBObject; 0071 0072 extern WidgetClass smeBSBObjectClass; 0073 0074 #define XtNleftBitmap "leftBitmap" 0075 #define XtNleftMargin "leftMargin" 0076 #define XtNrightBitmap "rightBitmap" 0077 #define XtNrightMargin "rightMargin" 0078 #define XtNvertSpace "vertSpace" 0079 0080 #define XtNmenuName "menuName" 0081 #define XtCMenuName "MenuName" 0082 0083 #ifndef XtNfontSet 0084 #define XtNfontSet "fontSet" 0085 #endif 0086 0087 #ifndef XtCFontSet 0088 #define XtCFontSet "FontSet" 0089 #endif 0090 0091 #define XtCLeftBitmap "LeftBitmap" 0092 #define XtCHorizontalMargins "HorizontalMargins" 0093 #define XtCRightBitmap "RightBitmap" 0094 #define XtCVertSpace "VertSpace" 0095 0096 #endif /* _SmeBSB_h */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |