home *** CD-ROM | disk | FTP | other *** search
- /* DEC/CMS REPLACEMENT HISTORY, Element DECWDWTAPPLPROG.H */
- /* 9 31-MAR-1988 12:07:22 TREGGIARI "BL7.3 UPDATE" */
- /* 8 24-MAR-1988 15:46:40 TREGGIARI "Replace with completely new version" */
- /* *7 27-FEB-1988 18:18:37 GEORGE "Add copyright" */
- /* *6 8-FEB-1988 14:04:18 TREGGIARI "Fix misspelling of DwtToggle routines" */
- /* *5 7-JAN-1988 13:03:53 TREGGIARI "Replace with completely new version" */
- /* *4 5-JAN-1988 15:36:35 TREGGIARI "Replace with completely new version" */
- /* *3 18-DEC-1987 14:05:52 TREGGIARI "Replace with completely new version" */
- /* *2 2-NOV-1987 17:13:35 TREGGIARI "Replace with completely new version" */
- /* *1 2-NOV-1987 14:52:44 ORGOVAN "Initial Entry" */
- /* DEC/CMS REPLACEMENT HISTORY, Element DECWDWTAPPLPROG.H */
- /*
- *****************************************************************************
- ** *
- ** COPYRIGHT (c) 1988 BY *
- ** DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. *
- ** ALL RIGHTS RESERVED *
- ** *
- ** THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND COPIED *
- ** ONLY IN ACCORDANCE WITH THE TERMS OF SUCH LICENSE AND WITH THE *
- ** INCLUSION OF THE ABOVE COPYRIGHT NOTICE. THIS SOFTWARE OR ANY OTHER *
- ** COPIES THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY *
- ** OTHER PERSON. NO TITLE TO AND OWNERSHIP OF THE SOFTWARE IS HEREBY *
- ** TRANSFERRED. *
- ** *
- ** THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE *
- ** AND SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT *
- ** CORPORATION. *
- ** *
- ** DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE OR RELIABILITY OF ITS *
- ** SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL. *
- ** *
- *****************************************************************************
- **++
- ** FACILITY:
- **
- ** < to be supplied >
- **
- ** ABSTRACT:
- **
- ** < to be supplied >
- **
- ** ENVIRONMENT:
- **
- ** < to be supplied >
- **
- ** MODIFICATION HISTORY:
- **
- ** < to be supplied >
- **
- **--
- **/
-
- #define DECHINTS
-
- #include <decw$include/Xlib.h>
- #include <decw$include/Intrinsic.h>
- #include <decw$include/Shell.h>
-
- /* these definitions are duplicates of stuff in DECwDwtWidgetProg.h */
- /* but have different definitions to make certain data structures */
- /* opaque to the application programmer */
-
-
- #ifndef WIDGETPROG
-
- typedef long *DwtTextSource;
-
- #endif
-
- /* end of duplicate definitions */
-
- /* definition for cut and paste */
-
- typedef struct {
- int DataId;
- int PrivateId;
- } DwtClipboardPendingRec, *DwtClipboardPendingList;
-
- /*
- * Enumerated constants and assocated resource manager stuff for
- * use with type converters
- */
- /* alignments */
-
- #define DwtRAlignment "Alignment"
- #define DwtCAlignment "Alignment"
-
- #define DwtAlignmentCenter 1
- #define DwtAlignmentBeginning 2
- #define DwtAlignmentEnd 3
-
- /* label type */
-
- #define DwtRLabelType "LabelType"
- #define DwtCLabelType "LabelType"
-
- #define DwtText 1
- #define DwtPixmap 2
- #define DwtText16 3
- #define DwtTextWithAccelerator 4
- #define DwtText16WithAccelerator 5
-
- #define DwtRLabelArray "LabelArray"
-
- /* togglebutton shapes */
- #define DwtRectangular 1
- #define DwtOval 2
-
- /* orientations */
- #define DwtROrientation "Orientation"
- #define DwtCOrientation "Orientation"
-
- #define DwtOrientationVertical 1
- #define DwtOrientationHorizontal 2
-
- /* dialog styles */
- #define DwtRStyle "Style"
- #define DwtCStyle "Style"
- #define DwtModal 1
- #define DwtModeless 2
- #define DwtWorkarea 3
-
- /* menu types */
- #define DwtRMenuType "MenuType"
- #define DwtCMenuType "MenuType"
-
- #define DwtMenuBarType 0
- #define DwtMenuWorkArea 1
- #define DwtMenuPulldown 2
- #define DwtMenuPopup 3
- #define DwtMenuOption 5
-
- /* menu packing styles */
- #define DwtNmenuPacking "menuPacking"
- #define DwtCMenuPacking "MenuPacking"
- #define DwtRMenuPacking "MenuPacking"
-
- #define DwtMenuPackingTight 0
- #define DwtMenuPackingColumn 1
- #define DwtMenuPackingNone 2
-
- /* file selection */
- #define DwtVMS 1
- #define DwtUNIX 2
- #define DwtMSDOS 3
-
- /* caution box */
- #define DwtNdefaultPushbutton "defaultPushbutton"
- #define DwtCDefaultPushbutton "DefaultPushbutton"
-
- #define DwtYesButton 0
- #define DwtNoButton 1
- #define DwtCancelButton 2
-
-
- /* font unit positioning */
- #define DwtNunits "units"
- #define DwtNfontX "fontX"
- #define DwtNfontY "fontY"
-
- #define DwtFontUnits 0
- #define DwtPixelUnits 1
-
- #define DwtCUnits "Units"
- #define DwtCFontX "FontX"
- #define DwtCFontY "FontY"
-
- /* cut and paste */
- #define ClipboardSuccess 1
- #define ClipboardTruncate 2
- #define ClipboardFail 3
- #define ClipboardLocked 4
- #define ClipboardNoData 5
-
- /*
- * resource names
- */
-
- #define DwtNmenuAlignment "menuAlignment"
- #define DwtNradioAlwaysOne "radioAlwaysOne"
- #define DwtNconformToText "conformToText"
- #define DwtNentryAlignment "entryAlignment"
- #define DwtNadjustMargin "adjustMargin"
- #define DwtNmenuRadio "menuRadio"
- #define DwtNmenuIsHomogeneous "menuIsHomogeneous"
- #define DwtNmenuEntryClass "menuEntryClass"
- #define DwtNmenuNumColumns "menuNumColumns"
- #define DwtNmenuType "menuType"
- #define DwtNallowtopresize "allowTopResizeRequest"
- #define DwtNalignment "alignment"
- #define DwtNfont "font"
- #define DwtNforeground "foreground"
- #define DwtNlabel "label"
- #define DwtNlabelType "labelType"
- #define DwtNmarginHeight "marginHeight"
- #define DwtNmarginWidth "marginWidth"
- #define DwtNmarginLeft "marginLeft"
- #define DwtNmarginRight "marginRight"
- #define DwtNmarginTop "marginTop"
- #define DwtNmarginBottom "marginBottom"
- #define DwtNpixmap "pixmap"
- #define DwtNstyle "style"
- #define DwtNselection "selection"
- #define DwtNspacing "spacing"
- #define DwtNtranslations "translations"
- #define DwtNoverrideRedirect "overrideRedirect"
-
- #define DwtNcallback "callback" /* remove ?? */
- #define DwtNexposeCallback "exposeCallback"
- #define DwtNentryCallback "entryCallback"
- #define DwtNselectCallback "selectCallback"
- #define DwtNmapCallback "mapCallback"
- #define DwtNunmapCallback "unmapCallback"
- #define DwtNhelpCallback "helpCallback"
- #define DwtNarmCallback "armCallback"
- #define DwtNdisarmCallback "disarmCallback"
- #define DwtNvalueChangedCallback "valueChangedCallback"
- #define DwtNactivateCallback "activateCallback"
- #define DwtNfocusCallback "focusCallback"
- #define DwtNunitIncCallback "unitIncCallback"
- #define DwtNunitDecCallback "unitDecCallback"
- #define DwtNpageIncCallback "pageIncCallback"
- #define DwtNpageDecCallback "pageDecCallback"
- #define DwtNdragCallback "dragCallback"
- #define DwtNtoTopCallback "toTopCallback"
- #define DwtNtoBottomCallback "toBottomCallback"
- #define DwtNtoPositionCallback "toPositionCallback"
- #define DwtNyesCallback "yesCallback"
- #define DwtNnoCallback "noCallback"
- #define DwtNcancelCallback "cancelCallback"
-
- #define DwtNhelpIcon "helpIcon"
- #define DwtNtitle "title"
- #define DwtNtitleType "titleType"
- #define DwtNorientation "orientation"
- #define DwtNentryBorder "entryBorder"
- #define DwtNstate "state"
- #define DwtNvisibleWhenOff "visibleWhenOff"
- #define DwtNshape "shape"
- #define DwtNbackgroundPixmap "backgroundPixmap"
- #define DwtNborderPixmap "borderPixmap"
- #define DwtNpullingCallback "pullingCallback"
- #define DwtNsubMenuId "subMenuId"
- #define DwtNcommandWindow "commandWindow"
- #define DwtNworkWindow "workWindow"
- #define DwtNmenuBar "menuBar"
- #define DwtNhorizontalScrollBar "horizontalScrollBar"
- #define DwtNverticalScrollBar "verticalScrollBar"
- #define DwtNshown "shown"
- #define DwtNinc "inc"
- #define DwtNpageInc "pageInc"
- #define DwtNmaxValue "maxValue"
- #define DwtNminValue "minValue"
- #define DwtNtranslations1 "translations1"
- #define DwtNtranslations2 "translations2"
- #define DwtNtext16 "text16"
- #define DwtNyesLabel "yesLabel"
- #define DwtNyesLabelType "yesLabelType"
- #define DwtNnoLabel "noLabel"
- #define DwtNnoLabelType "noLabelType"
- #define DwtNcancelLabel "cancelLabel"
- #define DwtNcancelLabelType "cancelLabelType"
- #define DwtNokLabel "okLabel"
- #define DwtNokLabelType "okLabelType"
- #define DwtNdefaultPosition "defaultPosition"
- #define DwtNtextMergeTranslations "textMergeTranslations"
- #define DwtNbackground "background"
- #define DwtNmaxLabel "maxLabel"
- #define DwtNminLabel "minLabel"
- #define DwtNmaxLabelType "maxLabelType"
- #define DwtNminLabelType "minLabelType"
- #define DwtNsliderLabel "sliderLabel"
- #define DwtNsliderLabelType "sliderLabelType"
- #define DwtNscaleWidth "scaleWidth"
- #define DwtNscaleHeight "scaleHeight"
- #define DwtNdecimalPoints "decimalPoints"
- #define DwtNshowValue "showValue"
- #define DwtNshowValueAutomatic "showValueAutomatic"
- #define DwtNslider "slider"
- #define DwtNsliderPixmap "sliderPixmap"
- #define DwtNcompressExposure "compressExposure"
- #define DwtNcompressMotion "compressMotion"
- #define DwtNdefaultButton "defaultButton"
- #define DwtNcancelButton "cancelButton"
- #define DwtNpropagateColors "propagateColors"
- #define DwtNhighlight "highlight"
- #define DwtNhighlightPixmap "highlightPixmap"
- #define DwtNpixmapOn "pixmapOn"
- #define DwtNpixmapOff "pixmapOff"
- #define DwtNhotSpotPixmap "hotSpotPixmap"
- #define DwtNautoUnmanage "autoUnmanage"
-
- #define DwtNcreateCallback "createCallback" /* used by DRM only */
-
- #define DwtNancestorSensitive "ancestorSensitive" /* cover Xt versions */
- #define DwtNdestroyCallback "destroyCallback"
- #define DwtNx "x"
- #define DwtNy "y"
- #define DwtNheight "height"
- #define DwtNwidth "width"
- #define DwtNdepth "depth"
- #define DwtNborderWidth "borderWidth"
- #define DwtNborder "border"
- #define DwtNsensitive "sensitive"
- #define DwtNvalue "value"
- #define DwtNmappedWhenManaged "mappedWhenManaged"
-
- #define DwtNeditable "editable"
- #define DwtNmaxLength "maxLength"
-
- #define DwtNwordWrap "wordWrap"
- #define DwtNblinkRate "blinkRate"
- #define DwtNcols "cols"
- #define DwtNrows "rows"
- #define DwtNresizeWidth "resizeWidth"
- #define DwtNresizeHeight "resizeHeight"
-
- #define DwtNtopPosition "topPosition"
- #define DwtNoutput "output"
- #define DwtNinput "input"
- #define DwtNsource "source"
- #define DwtNautoShowInsertPoint "autoShowInsertPoint"
- #define DwtNinsertionPosition "insertionPosition"
- #define DwtNitems "items"
- #define DwtNitemsCount "itemsCount"
- #define DwtNselectedItems "selectedItems"
- #define DwtNselectedItemsCount "selectedItemsCount"
- #define DwtNvisibleItemsCount "visibleItemsCount"
- #define DwtNresize "resize"
- #define DwtNsingleSelection "singleSelection"
- #define DwtNsingleCallback "singleCallback"
- #define DwtNsingleConfirmCallback "singleConfirmCallback"
- #define DwtNextendCallback "extendCallback"
- #define DwtNextendConfirmCallback "extendConfirmCallback"
- #define DwtNbordHighlight "bordHighlight"
- #define DwtNfillHighlight "fillHighlight"
-
- #define DwtNsystemPreference "systemPreference"
- #define DwtNdirMask "dirMask"
- #define DwtNread "read"
- #define DwtNwrite "write"
- #define DwtNexecute "execute"
- #define DwtNdelete "delete"
- #define DwtNfileSearchProc "fileSearchProc"
- #define DwtNdone "done"
- #define DwtNlistUpdated "listUpdated"
- #define DwtNfiles "files"
- #define DwtNfileCount "fileCount"
-
- #define DwtNprompt "prompt"
- #define DwtNlines "lines"
- #define DwtNhistory "history"
- #define DwtNpromptType "promptType"
- #define DwtNhistoryType "historyType"
- #define DwtNtTranslation "tTranslation"
- #define DwtNcommandEnteredCallback "commandEnteredCallback"
-
- /*
- * resource classes
- */
-
-
- #define DwtCHighlight "Highlight"
- #define DwtCHighlightPixmap "HighlightPixmap"
- #define DwtCPropagateColors "PropagateColors"
-
- #define DwtCMenuAlignment "MenuAlignment"
- #define DwtCRadioAlwaysOne "RadioAlwaysOne"
- #define DwtCConformToText "ConformToText"
- #define DwtCEntryBorder "EntryBorder"
- #define DwtCAdjustMargin "AdjustMargin"
- #define DwtCMenuWidget "MenuWidget"
- #define DwtCMenuRadio "MenuRadio"
- #define DwtCMenuIsHomogeneous "MenuIsHomogeneous"
- #define DwtCMenuEntryClass "MenuEntryClass"
- #define DwtCMenuNumColumns "MenuNumColumns"
- #define DwtCHelpIcon "HelpIcon"
-
- #define DwtCTextPosition "TextPosition"
- #define DwtCOutput "Output"
- #define DwtCInput "Input"
- #define DwtCSource "Source"
- #define DwtCAutoShowInsertPoint "AutoShowInsertPoint"
- #define DwtCTranslations "Translations"
- #define DwtCInsertionPosition "InsertionPosition"
- #define DwtCCompress "Compress"
-
- #define DwtCFont "Font"
- #define DwtCWordWrap "WordWrap"
- #define DwtCBlinkRate "BlinkRate"
- #define DwtCForeground "Foreground"
- #define DwtCMarginWidth "MarginWidth"
- #define DwtCMarginHeight "MarginHeight"
- #define DwtCMarginLeft "MarginLeft"
- #define DwtCMarginRight "MarginRight"
- #define DwtCMarginTop "MarginTop"
- #define DwtCMarginBottom "MarginBottom"
- #define DwtCCols "Cols"
- #define DwtCRows "Rows"
- #define DwtCResizeWidth "ResizeWidth"
- #define DwtCResizeHeight "ResizeHeight"
-
- #define DwtCValue "Value"
- #define DwtCEditable "Editable"
- #define DwtCMaxLength "MaxLength"
-
- #define DwtCText16 "Text16"
- #define DwtCSelection "Selection"
- #define DwtCState "State"
- #define DwtCShown "Shown"
- #define DwtCInc "Inc"
- #define DwtCPageInc "PageInc"
- #define DwtCMaxValue "MaxValue"
- #define DwtCMinValue "MinValue"
- #define DwtCTranslations1 "Translations1"
- #define DwtCTranslations2 "Translations2"
- #define DwtCDefaultPosition "DefaultPosition"
-
- #define DwtCItems "Items"
- #define DwtCSelectedItems "SelectedItems"
- #define DwtCItemsCount "ItemsCount"
- #define DwtCSelectedItemsCount "SelectedItemsCount"
- #define DwtCVisibleItemsCount "VisibleItemsCount"
- #define DwtCResize "Resize"
- #define DwtCSingleSelection "SingleSelection"
-
- #define DwtCScaleWidth "ScaleWidth"
- #define DwtCScaleHeight "ScaleHeight"
- #define DwtCDecimalPoints "DecimalPoints"
- #define DwtCShowValue "ShowValue"
- #define DwtCShowValueAutomatic "ShowValueAutomatic"
- #define DwtCSlider "Slider"
- #define DwtCSliderPixmap "SliderPixmap"
- #define DwtCBordHighlight "BordHighlight"
- #define DwtCFillHighlight "FillHighlight"
- #define DwtCAutoUnmanage "AutoUnmanage"
-
- #define DwtCSpacing "Spacing"
- #define DwtCVisibleWhenOff "VisibleWhenOff"
- #define DwtCShape "Shape"
-
- /* ------> Additonal classes for File Selection Widget */
-
- #define DwtCSystemPreference "SystemPreference"
- #define DwtCDirMask "DirMask"
- #define DwtCRead "Read"
- #define DwtCWrite "Write"
- #define DwtCExecute "Execute"
- #define DwtCDelete "Delete"
- #define DwtCLabel "Label"
- #define DwtCTitle "Title"
- #define DwtCFileSearchProc "FileSearchProc"
- #define DwtCDone "Done"
- #define DwtCListUpdated "ListUpdated"
- #define DwtCFiles "Files"
- #define DwtCFileCount "FileCount"
-
- /* ------> Additonal classes for Command Box Widget */
-
- #define DwtCPrompt "Prompt"
- #define DwtCLines "Lines"
- #define DwtCHistory "History"
- #define DwtCPromptType "PromptType"
- #define DwtCHistoryType "HistoryType"
-
-
- /*
- * resource representation types
- */
-
- #define DwtRMenuWidget "MenuWidget"
- #define DwtRFunction "Function"
- #define DwtRTranslationTable "TranslationTable"
- #define DwtRItems "Items"
- #define DwtRSelectedItems "SelectedItems"
- #define DwtRInt "Int"
- #define DwtRCompress "Compress"
-
-
- /*
- * callback reasons
- */
-
- #define DwtCRUnitInc 0
- #define DwtCRUnitDec 1
- #define DwtCRPageInc 2
- #define DwtCRPageDec 3
- #define DwtCRScrollStart 4
- #define DwtCRDrag 5
- #define DwtCRScrollEnd 6
- #define DwtCRToTop 7
- #define DwtCRToBottom 8
- #define DwtCRCancel 9
- #define DwtCRActivate 10
- #define DwtCRArm 11
- #define DwtCRDisarm 12
- #define DwtCRValueChanged 13
- #define DwtCRNo 14
- #define DwtCRToPosition 15
- #define DwtCRMap 16
- #define DwtCRUnmap 17
- #define DwtCRPullDown 18
- #define DwtCRFocus 19
- #define DwtCRSingle 20
- #define DwtCRSingleConfirm 21
- #define DwtCRExtend 22
- #define DwtCRExtendConfirm 23
- #define DwtCRCommandEntered 24
- #define DwtCRCreate 25
- #define DwtCRHelpRequested 26
- #define DwtCRHelp 26
- #define DwtCRSelection 27
- #define DwtCRClipboardDataRequest 28
- #define DwtCRClipboardDataDelete 29
- #define DwtCRYes 30
- #define DwtCRExpose 31
-
-
-
-
- /*
- * typedefs and other DecW support structs
- */
-
- typedef void (*VoidProc) ();
-
-
- /*
- * the externally visible callback structure, not the same as the
- * toolkit's internal (intrinsic) callback struct
- */
-
- typedef struct
- {
- VoidProc proc;
- int tag;
- }
- DwtCallback, *DwtCallbackPtr;
-
- typedef long DwtTextPosition;
-
-
-
- /*
- * the application is returned these structs on callbacks
- */
-
-
- typedef struct /* returned by menu */
- {
- int reason;
- Widget s_widget;
- char *s_tag;
- char *s_callbackstruct;
- } DwtMenuCallbackStruct;
-
-
- typedef struct /* returned by scroll bar */
- { int reason;
- int value;
- } DwtScrollBarCallbackStruct;
-
-
- typedef struct /* returned by toggle button */
- { int reason;
- int value;
- } DwtTogglebuttonCallbackStruct;
-
- typedef struct
- {
- int reason;
- XExposeEvent *event;
- Window w;
- } DwtWindowCallbackStruct; /* returned by window widget */
-
- typedef struct /* returned by scroll bar */
- { int reason;
- int value;
- } DwtScaleCallbackStruct;
-
- typedef struct /* returned by list box */
- { int reason;
- char *item;
- int item_length;
- int item_number;
- } DwtListBoxCallbackStruct;
-
- typedef struct {
- int reason;
- Widget s_widget;
- char *s_tag;
- char *s_callbackstruct;
- } DwtRadioBoxCallbackStruct;
-
- typedef struct /* returned by file select */
- { int reason;
- char *value;
- int value_len;
- char *dirmask;
- int dirmask_len;
- } DwtFileSelectionCallbackStruct;
-
- typedef struct /* returned by command box */
- { int reason;
- int length;
- char * value;
- } DwtCommandWindowCallbackStruct;
-
-
-
- /*
- * externals for library routines go here
- */
-
- /*----------------------------------*/
- /* Cut and Paste external routines */
- /*----------------------------------*/
-
- /* Commented out for now */
-
- extern int DwtBeginCopyToClipboard();
- extern int DwtCopyToClipboard();
- extern int DwtEndCopyToClipboard();
- extern void DwtCancelCopyToClipboard();
- extern int DwtReCopyToClipboard();
- extern int DwtUndoCopyToClipboard();
- extern int DwtClipboardLock();
- extern int DwtClipboardUnlock();
- extern int DwtCopyFromClipboard();
- extern int DwtInquireNextPasteCount();
- extern int DwtInquireNextPasteFormat();
- extern int DwtInquireNextPasteLength();
- extern int DwtListPendingItems();
-
- /*----------------------------------*/
- /* Label widget external routines */
- /*----------------------------------*/
-
- extern Widget DwtLabel();
- extern Widget DwtLabelCreate();
-
- /*---------------------------------------*/
- /* Pushbutton widget external routines */
- /*---------------------------------------*/
-
- extern Widget DwtPushButton();
- extern Widget DwtPushButtonCreate();
-
- /*-----------------------------------*/
- /* Toggle widget external routines */
- /*-----------------------------------*/
-
- extern Widget DwtToggleButton();
- extern Widget DwtToggleButtonCreate();
- extern unsigned int DwtToggleButtonGetState();
- extern void DwtToggleButtonSetState();
-
- /*--------------------------------------*/
- /* Radio box widget external routines */
- /*--------------------------------------*/
-
- extern Widget DwtRadioBox();
- extern Widget DwtRadioBoxCreate();
-
- /*---------------------------------------*/
- /* Dialog box widget external routines */
- /*---------------------------------------*/
-
- extern Widget DwtDialogBox();
- extern Widget DwtDialogBoxCreate();
-
- /*---------------------------------*/
- /* Menu widget external routines */
- /*---------------------------------*/
-
- extern Widget DwtMenu();
- extern Widget DwtMenuCreate();
-
- /*------------------------------------*/
- /* Menubar widget external routines */
- /*------------------------------------*/
-
- extern Widget DwtMenuBar();
- extern Widget DwtMenuBarCreate();
-
- /*--------------------------------------*/
- /* Pulldown widget external routines */
- /*--------------------------------------*/
-
- extern Widget DwtPullDownMenuEntry();
- extern Widget DwtPullDownMenuEntryCreate();
-
- /*----------------------------------------*/
- /* Scroll bar widget external routines */
- /*----------------------------------------*/
-
- extern Widget DwtScrollBar();
- extern Widget DwtScrollBarCreate();
- extern void DwtScrollBarGetSlider();
- extern void DwtScrollBarSetSlider();
-
- /*--------------------------------------*/
- /* List box widget external routines */
- /*--------------------------------------*/
-
- extern Widget DwtListBox();
- extern Widget DwtListBoxCreate();
- extern void DwtListBoxAddItem();
- extern void DwtListBoxDeleteItem();
-
- /*-----------------------------------------*/
- /* Main window widget external routines */
- /*-----------------------------------------*/
-
- extern Widget DwtMainWindow();
- extern Widget DwtMainWindowCreate();
- extern void DwtMainSetAreas();
-
- /*--------------------------------------------*/
- /* Command window widget external routines */
- /*--------------------------------------------*/
-
- extern Widget DwtCommandWindow();
- extern Widget DwtCommandWindowCreate();
- extern void DwtCommandSet();
- extern void DwtCommandAppend();
- extern void DwtCommandErrorMessage();
- extern void DwtCommandPopup();
-
- /*-----------------------------------------*/
- /* Message box widget external routines */
- /*-----------------------------------------*/
-
- extern Widget DwtMessageBox();
- extern Widget DwtMessageBoxCreate();
-
- /*--------------------------------------------*/
- /* File selection widget external routines */
- /*--------------------------------------------*/
-
- extern Widget DwtFileSelection();
- extern Widget DwtFileSelectionCreate();
-
- /*-----------------------------------------*/
- /* Caution box widget external routines */
- /*-----------------------------------------*/
-
- extern Widget DwtCautionBox();
- extern Widget DwtCautionBoxCreate();
-
- /*-----------------------------------*/
- /* Scale widget external routines */
- /*-----------------------------------*/
-
- extern Widget DwtScale();
- extern Widget DwtScaleCreate();
- extern int DwtGetSlider();
- extern void DwtSetSlider();
-
- /*--------------------------------------*/
- /* Work box widget external routines */
- /*--------------------------------------*/
-
- extern Widget DwtWorkBox();
- extern Widget DwtWorkBoxCreate();
- extern void DwtWorkSetScale();
-
- /*---------------------------------------*/
- /* Separator widget external routines */
- /*---------------------------------------*/
-
- extern Widget DwtSeparator();
- extern Widget DwtSeparatorCreate();
-
- /*------------------------------------*/
- /* Option widget external routines */
- /*------------------------------------*/
-
- extern Widget DwtOptionMenu();
- extern Widget DwtOptionMenuCreate();
-
- /*----------------------------------*/
- /* Pane widget external routines */
- /*----------------------------------*/
-
- extern Widget DwtPane();
- extern Widget DwtPaneCreate();
- extern void DwtPaneAddWidget();
-
- /*---------------------------------------------*/
- /* Color selection widget external routines */
- /*---------------------------------------------*/
-
- extern Widget DwtColorSelection();
- extern Widget DwtColorSelectionCreate();
-
- /*-----------------------------------*/
- /* S text widget external routines */
- /*-----------------------------------*/
-
- extern Widget DwtSText();
- extern Widget DwtTextCreate(); /* <- one of these, */
- extern Widget DwtSTextCreate(); /* <- but not both */
- extern char *DwtSTextGetString();
- extern void DwtSTextSetString();
- extern void DwtSTextReplace();
- extern unsigned int DwtSTextGetEditable();
- extern void DwtSTextSetEditable();
- extern int DwtSTextGetMaxLength();
- extern void DwtSTextSetMaxLength();
- extern char *DwtSTextGetSelection();
- extern void DwtSTextSetSelection();
-
- /*-----------------------------------*/
- /* Text widget external routines */
- /*-----------------------------------*/
-
- extern DwtTextPosition DwtTextGetTopPosition();
- extern void DwtTextSetTopPosition();
- extern DwtTextPosition DwtTextGetInsertionPosition();
- extern void DwtTextSetInsertionPosition();
- extern DwtTextSource DwtTextGetSource();
- extern void DwtTextSetSource();
- extern void DwtTextShowPosition();
- extern void DwtTextScroll();
- extern void DwtTextDisableRedisplay();
- extern void DwtTextEnableRedisplay();
-
-
- /*-----------------------------------*/
- /* window widget external routines */
- /*-----------------------------------*/
-
- extern Widget DwtWindow();
- extern Widget DwtWindowCreate();
-
- /*-----------------------------------------*/
- /* scrollwindow widget external routines */
- /*-----------------------------------------*/
-
- extern Widget DwtScrollWindow();
- extern Widget DwtScrollWindowCreate();
- extern void DwtScrollWindowSetAreas();
-
-
-
-