1 /* $XConsortium: MoveMenuListUiItem.hh /main/3 1996/04/21 19:45:22 drk $ */
5 * RESTRICTED CONFIDENTIAL INFORMATION:
7 * The information in this document is subject to special
8 * restrictions in a confidential disclosure agreement bertween
9 * HP, IBM, Sun, USL, SCO and Univel. Do not distribute this
10 * document outside HP, IBM, Sun, USL, SCO, or Univel wihtout
11 * Sun's specific written approval. This documment and all copies
12 * and derivative works thereof must be returned or destroyed at
15 * Copyright 1993 Sun Microsystems, Inc. All rights reserved.
21 #include <X11/Intrinsic.h>
23 #ifndef _MOVEMENULISTUIITEM_HH
24 #define _MOVEMENULISTUIITEM_HH
26 void handleMMSelection(Widget, XtPointer, XtPointer);
28 // CLASS MoveMenuListUiItem
29 // derived class for prop sheet glue items for textfield
30 ///////////////////////////////////////////////////////////
31 class MoveMenuListUiItem : public ListUiItem {
34 MoveMenuListUiItem(Widget w, int source, char *search_key, Widget w_list);
35 virtual ~MoveMenuListUiItem(){;}; // we don't alloc any memory
36 virtual void writeFromUiToSource();
37 virtual void writeFromSourceToUi();
38 Widget getEntryFieldWidget(){ return entry_field_widget;};
39 DtVirtArray<PropStringPair *> *getItemList(){ return list_items; };
41 virtual void handleAddButtonPress();
42 virtual void handleChangeButtonPress();
43 virtual void handleDeleteButtonPress();
47 DtVirtArray<PropStringPair *> *list_items;
48 DtVirtArray<char *> *deleted_items;
49 Widget entry_field_widget;