Reset parser in grace_set_project().
[grace.git] / src / TabP.h
blob8eeef50efb537d9c65050b2635072c87d1669f8a
2 /*************************************************************************
3 * Version 1.1 on July-30-1997
4 * (c) 1997 Pralay Dakua (pkanti@hotmail.com)
5 *
6 * This is a free software and permission to use, modify, distribute,
7 * selling and using for commercial purpose is hereby granted provided
8 * that THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE
9 * INCLUDED IN ALL COPIES AND THEIR SUPPORTING DOCUMENTATIONS.
11 * There is no warranty for this software. In no event Pralay Dakua
12 * will be liable for merchantability and fitness of the software and
13 * damages due to this software.
15 * Author:
16 * Pralay Dakua (pkanti@hotmail.com)
18 **************************************************************************/
20 #ifndef __TABP_H__
21 #define __TABP_H__
23 #include <Xm/XmP.h>
24 #include <Xm/ManagerP.h>
25 #include "Tab.h"
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
31 typedef struct _XmTabClassPart {
32 XtPointer extension;
33 } XmTabClassPart;
35 typedef struct _XmTabClassRec {
36 CoreClassPart core_class;
37 CompositeClassPart composite_class;
38 ConstraintClassPart constraint_class;
39 XmManagerClassPart manager_class;
40 XmTabClassPart tab_class;
41 } XmTabClassRec;
43 extern XmTabClassRec xmTabClassRec;
45 typedef struct _XmTabPart {
46 XtCallbackList value_changed_callback;
47 Widget active_tab;
48 XmFontList tab_font_list;
49 Boolean resize_children;
50 Dimension cut_size;
51 Dimension raise;
52 Dimension tab_height;
53 Dimension margin_width;
54 Dimension margin_height;
55 GC normal_gc;
56 } XmTabPart;
58 typedef struct _XmTabRec {
59 CorePart core;
60 CompositePart composite;
61 ConstraintPart constraint;
62 XmManagerPart manager;
63 XmTabPart tab;
64 } XmTabRec;
66 typedef struct _XmTabConstraintPart {
67 XmString tab_label;
68 XRectangle tab_rect;
69 } XmTabConstraintPart;
71 typedef struct _XmTabConstraintRec {
72 XmManagerConstraintPart manager;
73 XmTabConstraintPart tab;
74 } XmTabConstraintRec;
76 #ifdef __cplusplus
77 } /* Close scope of 'extern "C"' declaration which encloses file. */
78 #endif
80 #endif /** __TABP_H__ **/