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 #ifndef NEDIT_MANAGEDLIST_H_INCLUDED
28 #define NEDIT_MANAGEDLIST_H_INCLUDED
29
30 #include <X11/Intrinsic.h>
31
32 Widget CreateManagedList(Widget parent,
char *name, Arg *args,
33 int argC,
void **itemList,
int *nItems,
int maxItems,
int nColumns,
34 void *(*getDialogDataCB)(
void *,
int,
int *,
void *),
35 void *getDialogDataArg,
void (*setDialogDataCB)(
void *,
void *),
36 void *setDialogDataArg,
void (*freeItemCB)(
void *));
37 Widget ManageListAndButtons(Widget listW,
38 Widget deleteBtn, Widget copyBtn, Widget moveUpBtn,
39 Widget moveDownBtn,
void **itemList,
int *nItems,
40 int maxItems,
void *(*getDialogDataCB)(
void *,
int,
int *,
void *),
41 void *getDialogDataArg,
void (*setDialogDataCB)(
void *,
void *),
42 void *setDialogDataArg,
void (*freeItemCB)(
void *));
43 int UpdateManagedList(Widget listW,
int explicitRequest);
44 int ManagedListSelectedIndex(Widget listW);
45 void ChangeManagedListData(Widget listW);
46 void SelectManagedListItem(Widget listW,
int itemIndex);
47 void AddDeleteConfirmCB(Widget listW,
int (*deleteConfirmCB)(
int,
void *),
48 void *deleteConfirmArg);
49
50 #endif
51