File: Tab.h

package info (click to toggle)
gridengine 6.2-4
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 51,532 kB
  • ctags: 51,172
  • sloc: ansic: 418,155; java: 37,080; sh: 22,593; jsp: 7,699; makefile: 5,292; csh: 4,244; xml: 2,901; cpp: 2,086; perl: 1,895; tcl: 1,188; lisp: 669; ruby: 642; yacc: 393; lex: 266
file content (67 lines) | stat: -rw-r--r-- 1,892 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67

/************************************************************************* 
 * Version 1.0  on  15-May-1997
 * (c) 1997 Pralay Dakua (pkanti@hotmail.com)
 *     
 * This is a free software and permission to use, modify, distribute,
 * selling and using for commercial purpose is hereby granted provided
 * that THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE
 * INCLUDED IN ALL COPIES AND THEIR SUPPORTING DOCUMENTATIONS.
 *
 * There is no warranty for this software. In no event Pralay Dakua
 * will be liable for merchantability and fitness of the software and 
 * damages due to this software.
 *
 * Author:
 * Pralay Dakua (pkanti@hotmail.com)
 *
 **************************************************************************/

#ifndef __TAB_H__
#define __TAB_H__

#include <Xm/Xm.h>

#ifdef __cplusplus
extern "C" {
#endif

extern WidgetClass xmTabWidgetClass;

typedef struct _XmTabClassRec *XmTabWidgetClass;
typedef struct _XmTabRec *XmTabWidget;

#define XmNtabFontList "tabFontList"
#define XmCTabFontList "TabFontList"

#define XmNresizeChildren "resizeChildren"
#define XmCResizeChildren "ResizeChildren"

#define XmNtabsPerRow "tabsPerRow"
#define XmCTabsPerRow "TabsPerRow"

/***** constraint resource name//representations ****/

#define XmNtabLabel "tabLabel"
#define XmCTabLabel "TabLabel"

typedef struct {
	int reason;
	XEvent *event;
	Widget tab_child;
	XmString tab_label;
}XmTabCallbackStruct;

extern void XmTabSetTabWidget(Widget, Widget, Boolean);
extern Widget XmTabGetTabWidget(Widget);
extern Widget XmCreateTabWidget(Widget, String, ArgList, Cardinal);
extern void XmTabDeleteFolder(Widget w, Widget folder);
extern void XmTabAddFolder(Widget w, Widget folder);
extern void XmTabDeleteFolderByLabel(Widget w, String label);

#ifdef __cplusplus
}  /* Close scope of 'extern "C"' declaration which encloses file. */
#endif

#endif /**  __TAB_H__  **/