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 base widget class record
31
/* XtWidgetProc draw_frame; */
32
XtActionProc tab_action;
33
XtActionProc focus_action;
34
XtActionProc getfocus_action;
37
#define XtInheritTabAction ((XtActionProc) _XtInherit)
38
#define XtInheritFocusAction ((XtActionProc) _XtInherit)
39
#define XtInheritGetFocusAction ((XtActionProc) _XtInherit)
42
* full class record declaration
44
typedef struct _XwBaseClassRec {
45
CoreClassPart core_class;
46
XwBaseClassPart base_class;
50
* instance definitions
54
Pixel foreground_pixel;
55
Pixel highlight_pixel;
56
Pixel shadow_top_pixel;
57
Pixel shadow_bottom_pixel;
58
Pixel not_sensitive_pixel;
59
Dimension shadow_width;
63
XtCallbackList tab_callbacks;
66
XtPointer data; /* general purpose data pointer */
68
/* private Widget state */
75
* full instance record declaration
77
typedef struct _XwBaseRec {
82
extern XwBaseClassRec xwBaseClassRec;