|
||||
File indexing completed on 2025-01-18 10:15:29
0001 /* 0002 * Motif 0003 * 0004 * Copyright (c) 1987-2012, The Open Group. All rights reserved. 0005 * 0006 * These libraries and programs are free software; you can 0007 * redistribute them and/or modify them under the terms of the GNU 0008 * Lesser General Public License as published by the Free Software 0009 * Foundation; either version 2 of the License, or (at your option) 0010 * any later version. 0011 * 0012 * These libraries and programs are distributed in the hope that 0013 * they will be useful, but WITHOUT ANY WARRANTY; without even the 0014 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 0015 * PURPOSE. See the GNU Lesser General Public License for more 0016 * details. 0017 * 0018 * You should have received a copy of the GNU Lesser General Public 0019 * License along with these librararies and programs; if not, write 0020 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth 0021 * Floor, Boston, MA 02110-1301 USA 0022 */ 0023 /* 0024 * TearOffBP.h - Private definitions for TearOffButton widget 0025 * (Used by RowColumn Tear Off Menupanes) 0026 * 0027 */ 0028 0029 #ifndef _XmTearOffBP_h 0030 #define _XmTearOffBP_h 0031 0032 #include <Xm/PushBP.h> 0033 0034 #ifdef __cplusplus 0035 extern "C" { 0036 #endif 0037 0038 /***************************************************************************** 0039 * 0040 * TearOffButton Widget Private Data 0041 * 0042 *****************************************************************************/ 0043 0044 /* New fields for the TearOffButton widget class record */ 0045 typedef struct _XmTearOffButtonClassPart 0046 { 0047 String translations; 0048 } XmTearOffButtonClassPart; 0049 0050 /* Full Class record declaration */ 0051 typedef struct _XmTearOffButtonClassRec { 0052 CoreClassPart core_class; 0053 XmPrimitiveClassPart primitive_class; 0054 XmLabelClassPart label_class; 0055 XmPushButtonClassPart pushbutton_class; 0056 XmTearOffButtonClassPart tearoffbutton_class; 0057 } XmTearOffButtonClassRec; 0058 0059 typedef struct _XmTearOffButtonClassRec *XmTearOffButtonWidgetClass; 0060 0061 externalref XmTearOffButtonClassRec xmTearOffButtonClassRec; 0062 0063 /* New fields for the TearOffButton widget record */ 0064 typedef struct { 0065 Dimension margin; 0066 unsigned char orientation; 0067 unsigned char separator_type; 0068 GC separator_GC; 0069 Boolean set_recompute_size; 0070 } XmTearOffButtonPart; 0071 0072 /***************************************************************************** 0073 * 0074 * Full instance record declaration 0075 * 0076 ****************************************************************************/ 0077 0078 typedef struct _XmTearOffButtonRec { 0079 CorePart core; 0080 XmPrimitivePart primitive; 0081 XmLabelPart label; 0082 XmPushButtonPart pushbutton; 0083 XmTearOffButtonPart tear_off_button; 0084 } XmTearOffButtonRec; 0085 0086 typedef struct _XmTearOffButtonRec *XmTearOffButtonWidget; 0087 0088 /* Class Record Constant */ 0089 0090 externalref WidgetClass xmTearOffButtonWidgetClass; 0091 0092 #ifndef XmIsTearOffButton 0093 #define XmIsTearOffButton(w) XtIsSubclass(w, xmTearOffButtonWidgetClass) 0094 #endif /* XmIsTearOffButton */ 0095 0096 0097 /******** Private Function Declarations ********/ 0098 0099 0100 /******** End Private Function Declarations ********/ 0101 0102 0103 #ifdef __cplusplus 0104 } /* Close scope of 'extern "C"' declaration which encloses file. */ 0105 #endif 0106 0107 #endif /* _XmTearOffButtonP_h */ 0108 /* DON'T ADD ANYTHING AFTER THIS #endif */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |