Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf/xpdf/XPDFTree.h
blob: 432b4ff7630c3ff23a2a501852db3f26441c94e5 (plain)
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
//========================================================================
//
// XPDFTree.h
//
// Copyright 2002-2003 Glyph & Cog, LLC
//
//========================================================================

#ifndef XPDFTREE_H
#define XPDFTREE_H

#include <Xm/Xm.h>

extern "C" {

externalref WidgetClass xpdfTreeWidgetClass;

typedef struct _XPDFTreeClassRec *XPDFTreeWidgetClass;
typedef struct _XPDFTreeRec      *XPDFTreeWidget;

#ifndef XPDFIsTree
#define XPDFIsTree(w) XtIsSubclass(w, xpdfTreeWidgetClass)
#endif

#define XPDFNentryParent       "entryParent"
#define XPDFNentryExpanded     "entryExpanded"
#define XPDFNentryPosition     "entryPosition"
#define XPDFNselectionCallback "selectionCallback"

#define XPDFCentryParent       "EntryParent"
#define XPDFCentryExpanded     "EntryExpanded"
#define XPDFCentryPosition     "EntryPosition"

typedef struct {
  int reason;
  XEvent *event;
  Widget selectedItem;
} XPDFTreeSelectCallbackStruct;

extern Widget XPDFCreateTree(Widget parent, char *name,
			     ArgList argList, Cardinal argCount);

} // extern "C"

#endif