Yet another attempted fix for 434383: menus showing up as blocks.
[nedit.git] / util / managedList.h
blob0d527754baa2eb61a4591072a352b6c856fee113
1 /* $Id: managedList.h,v 1.3 2001/02/26 23:38:03 edg Exp $ */
2 Widget CreateManagedList(Widget parent, char *name, Arg *args,
3 int argC, void **itemList, int *nItems, int maxItems, int nColumns,
4 void *(*getDialogDataCB)(void *, int, int *, void *),
5 void *getDialogDataArg, void (*setDialogDataCB)(void *, void *),
6 void *setDialogDataArg, void (*freeItemCB)(void *));
7 Widget ManageListAndButtons(Widget listW,
8 Widget deleteBtn, Widget copyBtn, Widget moveUpBtn,
9 Widget moveDownBtn, void **itemList, int *nItems,
10 int maxItems, void *(*getDialogDataCB)(void *, int, int *, void *),
11 void *getDialogDataArg, void (*setDialogDataCB)(void *, void *),
12 void *setDialogDataArg, void (*freeItemCB)(void *));
13 int UpdateManagedList(Widget listW, int explicitRequest);
14 int ManagedListSelectedIndex(Widget listW);
15 void ChangeManagedListData(Widget listW);
16 void SelectManagedListItem(Widget listW, int itemIndex);
17 void AddDeleteConfirmCB(Widget listW, int (*deleteConfirmCB)(int, void *),
18 void *deleteConfirmArg);