File: Tab.h

package info (click to toggle)
gridengine 8.1.9%2Bdfsg-10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 56,880 kB
  • sloc: ansic: 432,689; java: 87,068; cpp: 31,958; sh: 29,429; jsp: 7,757; perl: 6,336; xml: 5,828; makefile: 4,701; csh: 3,928; ruby: 2,221; tcl: 1,676; lisp: 669; yacc: 519; python: 503; lex: 361; javascript: 200
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__  **/