4
* Copyright (C) 1998 Rasca Gmelch, Berlin
7
* This library is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Library General Public
9
* License as published by the Free Software Foundation; either
10
* version 2 of the License, or (at your option) any later version.
12
* This library is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Library General Public License for more details.
17
* You should have received a copy of the GNU Library General Public
18
* License along with this library; if not, write to the Free Software
19
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25
#include <X11/CoreP.h>
28
/* new fields for the box widget class record
31
/* XtWidgetProc draw_frame; */
32
XtActionProc tab_action;
35
#define XtInheritTabAction ((XtActionProc) _XtInherit)
38
* full class record declaration
40
typedef struct _XwBoxClassRec {
41
CoreClassPart core_class;
42
CompositeClassPart composite_class;
43
XwBoxClassPart box_class;
47
* instance definitions
54
XtCallbackList tab_callbacks;
55
XtPointer data; /* general purpose data pointer */
56
Dimension hspace, vspace;
57
XtOrientation orientation;
61
Dimension pref_width; /* preferred width and height */
62
Dimension pref_height;
66
* full instance record declaration
68
typedef struct _XwBoxRec {
70
CompositePart composite;
74
extern XwBoxClassRec xwBoxClassRec;