DTHELPQUICKDIALOG(3)
๐ DtHelpQuickDialog ๐
DtHelpQuickDialog โ from the library call section, and yes bestie sheโs a whole widget class. ๐ซถ
๐ธ NAME ๐ธ
DtHelpQuickDialog โ DtHelpQuickDialog widget class
โจ SYNOPSIS โจ
#include &<Dt/HelpQuickD.h>
๐ฆ DESCRIPTION ๐ฆ
Okay so the DtHelpQuickDialog widget gives users a constrained set of functionality for viewing and and navigating structured online information (XCDE help volumes). Itโs giving focused but powerful. ๐
That functionality includes text and graphics rendering, embedded hypertext links and limited navigation methods to move through online help information. The widget supports rendering of XCDE help volume, system manual pages, text files and character string values.
When the user resizes the window, the DtHelpQuickDialog widget dynamically reformats its contents to fit the new window size if the DtNhelpType of the contents is DtHELP_TYPE_TOPIC or DtHELP_TYPE_DYNAMIC_STRING. If the DtNhelpType of the contents is DtHELP_TYPE_STRING, DtHELP_TYPE_MAN_PAGE or DtHELP_TYPE_FILE, the contents are not reformatted. Instead, scroll bars may appear when the user resizes the window smaller than the help contents. The exact scrollbar behavior is controlled by the DtNscrollBarPolicy resource.
Users can re-specify certain resources for the automatically created widget contained within the DtHelpQuickDialog hierarchy. The following is the name of the widget:
Display Area-DisplayArea
The DtHelpQuickDialog widget honors all default and user-specified resource settings, with one exception. In the case where an error occurs due to a non-valid request, the widget posts the proper error message in its display area, and modifies the DtNhelpType to reflect the current contents of the display area (that is, a string message). Applications and users should set the DtNhelpType to the appropriate value with each setting of the help value.
๐ Classes ๐
The DtHelpQuickDialog widget inherits behavior and resources from the Core, Composite, Constraint, XmManager and XmBulletinBoard classes.
The class pointer is dtHelpQuickDialogClass.
The class name is DtHelpQuickDialog.
๐ New Resources ๐
To reference a resource by name or by class in a .Xdefaults file, the application must remove the DtN or DtC prefix and use the remaining letters. To specify one of the defined values for a resource in a .Xdefaults file, the application must remove the Dt prefix and use the remaining letters (in either lower case or upper case, but including any underscores between words). The codes in the access column indicate if the given resource can be set at creation time (C), set by using XtSetValues (S), retrieved by using XtGetValues (G), or is not applicable (N/A).
๐ DtHelpQuickDialog Resource Set ๐
DtNbackLabelStringโ Class:DtCBackLabelString; Type:XmString; Default:Back Track; Access:CSG.DtNcloseCallbackโ Class:DtCCloseBtnCallback; Type:XtCallbackList; Default:NULL; Access:C.DtNcloseLabelStringโ Class:DtCcloseLabelString; Type:XmString; Default:Close; Access:CSG.DtNcolumnsโ Class:DtCColumns; Type:Dimension; Default:50; Access:CSG.DtNexecutionPolicyโ Class:DtCExecutionPolicy; Type:unsigned char; Default:DtHELP_EXECUTE_QUERY_UNALIASED; Access:CSG.DtNhelpFileโ Class:DtCHelpFile; Type:char *; Default:NULL; Access:CSG.DtNhelpLabelStringโ Class:DtCHelpLabelString; Type:XmString; Default:Help; Access:CSG.DtNhelpOnHelpVolumeโ Class:DtCHelpOnHelpVolume; Type:char *; Default:See Definition; Access:C.DtNhelpPrintโ Class:DtCHelpPrint; Type:char *; Default:See Definition; Access:CSG.DtNhelpTypeโ Class:DtCHelpType; Type:unsigned char; Default:DtHELP_TYPE_TOPIC; Access:CSG.DtNhelpVolumeโ Class:DtCHelpVolume; Type:char *; Default:NULL; Access:CSG.DtNhyperLinkCallbackโ Class:DtCHyperLinkCallback; Type:XtCallbackList; Default:NULL; Access:C.DtNlocationIdโ Class:DtCLocationId; Type:char *; Default:See Definition; Access:CSG.DtNmanPageโ Class:DtCManPage; Type:char *; Default:NULL; Access:CSG.DtNminimizeButtonsโ Class:DtCMinimizeButtons; Type:Boolean; Default:True; Access:C.DtNmoreLabelStringโ Class:DtCMoreLabelString; Type:XmString; Default:More; Access:CSG.DtNpaperSizeโ Class:DtCPaperSize; Type:unsigned char; Default:See Definition; Access:C.DtNprinterโ Class:DtCPrinter; Type:char *; Default:NULL; Access:CSG.DtNprintLabelStringโ Class:DtCPrintLabelString; Type:XmString; Default:Print...; Access:CSG.DtNrowsโ Class:DtCRows; Type:Dimension; Default:15; Access:CSG.DtNscrollBarPolicyโ Class:DtCScrollBarPolicy; Type:unsigned char; Default:DtHELP_AS_NEEDED_SCROLLBARS; Access:C.DtNstringDataโ Class:DtCStringData; Type:char *; Default:NULL; Access:CSG.DtNtopicTitleโ Class:DtCTopicTitle; Type:char *; Default:NULL; Access:CSG.DtNbackLabelStringโ Specifies the string label for the Back button.DtNcloseCallbackโ Specifies the list of callbacks called when the application activates the Close button. The callback reason isDtCR_HELP_CLOSE.DtNcloseLabelStringโ Specifies the string label for the Close button.DtNcolumnsโ Specifies the number of columns of text to display in theDtHelpQuickDialogwidget display area.DtNexecutionPolicyโ Specifies how to handle โExecuteโ hypertext link types and embedded scripts. The default value is set toDtHELP_EXECUTE_QUERY_UNALIASEDand supports different semantics based on the usage of a command alias. Refer to the XCDE Help System Author's and Programmer's Guide for more information on command alias usage. With the default value and no command alias, a query dialog will be posted upon user selection of an execute hypertext link. The dialog will show the command that has been specified and give the user the option toExecute Anyway,Don't Executeor request help for more information. When a command alias is present for the selected link, the command will execute silently, and no query dialog will be posted. Other values for this resource areDtHELP_EXECUTE_NONE,DtHELP_EXECUTE_ALLandDtHELP_EXECUTE_QUERY_ALL.DtHELP_EXECUTE_NONEforces all execute hypertext links to be ignored.DtHELP_EXECUTE_ALLallows all execute hypertext links to be executed silently upon link selection by the user, andDtHELP_EXECUTE_QUERY_ALLforces the query dialog to be posted with every link invocation.DtNhelpFileโ Specifies the absolute pathname of a text file to be read and displayed. This resource is used when theDtNhelpTypeis set toDtHELP_TYPE_FILE. The topic title is required in order to maintain an accurate and descriptive history list.DtNhelpLabelStringโ Specifies the string label for the Help button.DtNhelpOnHelpVolumeโ Specifies the help volume that contains the help topics for the help user interface components in the widget. This is displayed in an instance of theDtHelpQuickDialogwidget when the user requests help from within the widget. The default value for this resource isHelp4Help, which refers to the default supported help volume. This resource supports absolute pathnames and pathless help volume names. When just a volume name is used, the volume must be placed or linked to one of the default search locations, or one of the two help search path environment variables must be properly set. See the ENVIRONMENT VARIABLES section for more information on setting and modifying these variables.DtNhelpPrintโ Specifies the location of thedthelpprintutility used to print help topics, manual pages, files or help messages from theDtHelpQuickDialogwidget. This value defaults to/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/bin/dthelpprint.DtNhelpTypeโ okay so this one is literally the vibe check for what kind of help content youโre showing, bestie ๐ . When the value isDtHELP_TYPE_TOPIC, theDtNlocationIdandDtNhelpVolumeresources are used and the requested help topic is displayed. When the value isDtHELP_TYPE_STRINGorDtHELP_TYPE_DYNAMIC_STRING, theDtNstringDataresource is used and the requested string is displayed. When the value isDtHELP_TYPE_FILE, theDtNhelpFileresource is used and the requested text file is displayed. When the value isDtHELP_TYPE_MAN, theDtNmanPageresource is used and the requested system manual page is displayed. The initial default value isDtHELP_TYPE_TOPIC; however, each time there is a request to display a help topic, text file, manual page or text string, the user should resetDtNhelpTypeto the proper type. No cap, that reset part matters โ donโt just set it once and ghost it ๐ญ.DtNhelpVolumeโ specifies the help volume to use, aka which help book weโre flipping open ๐. This resource is used in conjunction with theDtNlocationIdresource to display help topics. It supports absolute pathnames and pathless help volume names. When using just a volume name, the volume must be placed in or linked to one of the default search locations, or one of the two help search path environment variables must be properly set. See the ENVIRONMENT VARIABLES section for more information on setting and modifying these variables โ iykyk, thatโs where the search-path lore lives ๐ธ.DtNhyperLinkCallbackโ specifies the callback called when a client-specific hypertext link type is activated in the display area of theDtHelpQuickDialogwidget. Links are activated when the user presses mouse button 1 over a hypertext link, or presses KActivate with the keyboard focus on the hypertext link item. The callback reason isDtCR_HELP_LINK_ACTIVATE.DtNhyperLinkCallbackallows applications to register a callback procedure used to process one of four hypertext link types:DtHELP_LINK_APP_DEFINE,DtHELP_LINK_TOPIC,DtHELP_LINK_MAN_PAGEorDtHELP_LINK_TEXT_FILE. For theDtHELP_LINK_TOPIC, the callback is made only when thewindowHintvalue in the callback structure isDtHELP_NEW_WINDOW. That last bit is the drama gate โ donโt expect the callback unless that hint matches, fr fr ๐ .DtNlocationIdโ specifies a help topic to display. Applications reference topics within a help volume using a location ID. Location IDs are author-defined at help volume creation time. Applications use these location IDs to display the desired help topic. The default value for this resource is_HOMETOPIC, which refers to the help volumeโs top level topic.DtNhelpVolumemust be set to the help volume in which the corresponding location ID resides, andDtNhelpTypemust be set toDtHELP_TYPE_TOPIC. Basically: location ID is the exact address, and you gotta set the volume and type too or itโs giving โsent to the wrong group chatโ energy ๐.DtNmanPageโ specifies the system manual page to display in the currentDtHelpQuickDialogwidget. This resource is used when theDtNhelpTypeis set toDtHELP_TYPE_MAN_PAGE. Yes bestie, thatโs the exact spelling in the page โ keep it exactly as written, no autocorrect energy ๐.DtNminimizeButtonsโ sets the buttons to the width of the widest button and the height of the tallest button ifFalse. IfTrue, button width and height are not modified. SoFalse= matchy-matchy button sizes,True= leave โem as they are. Periodt ๐.DtNmoreLabelStringโ specifies the string label for the More button. Cute, simple, iconic โจ.DtNpaperSizeโ controls the value used in the Help-Print dialog for paper size. The default value is set toDtHELP_PAPERSIZE_LETTER. Other supported values for this resource are:DtHELP_PAPERSIZE_LEGAL,DtHELP_PAPERSIZE_EXECUTIVE,DtHELP_PAPERSIZE_A4,DtHELP_PAPERSIZE_B5. Paper size menu said โknow your options,โ and honestly same ๐.DtNprinterโ specifies the printer name used to print within theDtHelpQuickDialogwidget. If the value isNULL, the default value is taken from theLPDESTenvironment variable. So if you leave it blank, itโs not abandoned โ itโs just lettingLPDESTchoose the printer for you ๐จ๏ธ.DtNprintLabelStringโ specifies the string label for the Print button. Another label resource, another slay โจ.DtNrowsโ specifies the number of rows of text to display in the display area of theDtHelpQuickDialogwidget. Rows = how much text vertical real estate youโre giving it, no cap ๐.DtNscrollBarPolicyโ controls the automatic placement of scroll bars in the text display area. If it is set toDtHELP_AS_NEEDED_SCROLLBARS, the scroll bars are displayed only if the display area exceeds the clip area in one or both dimensions. A resource value ofDtHELP_STATIC_SCROLLBARScauses the display area to display the scroll bars whenever theDtHelpQuickDialogwidget is managed, regardless of the relationship between the clip window and the display area. A value ofDtHELP_NO_SCROLLBARSremoves scroll bars from theDtHelpQuickDialogwidget. The default value isDtHELP_AS_NEEDED_SCROLLBARS. So: as-needed, always-on, or none โ pick your scroll bar era ๐.DtNstringDataโ specifies the string data (char *) to display in the currentDtHelpQuickDialogwidget. This resource is used when theDtNhelpTypeis set toDtHELP_TYPE_STRING. String data stays string data โ donโt overthink it, bestie ๐ซถ.DtNtopicTitleโ specifies the topic title (char *) to be used in conjunction with either theDtNstringDataorDtNhelpFileresource. The topic title is required in order to maintain an accurate and descriptive history list. The topic title is also used as the default heading for the banner page and page header when printing. When printing help topics, this resource may be ignored. So itโs the name tag for history and print headers โ lowkey important, highkey cute ๐.
๐ซถ Inherited Resources ๐
okay so real talk โ our girl DtHelpQuickDialog didn't invent any of this from scratch. She's literally standing on the shoulders of her named superclasses, and she inherits behavior and resources from all of them. For a full rundown on each individual resource, go read the man page for that superclass โ that's where the deep lore lives, iykyk. ๐โจ
Below is the complete drip inventory, straight from the source. Every resource, every class, every type, every default, every access code โ nothing skipped, bestie. ๐
๐ธ XmBulletinBoard Resource Set ๐ธ
XmNallowOverlapโ classXmCAllowOverlap, typeBoolean, defaultTrue, accessCSGXmNautoUnmanageโ classXmCAutoUnmanage, typeBoolean, defaultTrue, accessCGXmNbuttonFontListโ classXmCButtonFontList, typeXmFontList, defaultdynamic, accessCSGXmNcancelButtonโ classXmCWidget, typeWidget, defaultdynamic, accessSGXmNdefaultButtonโ classXmCWidget, typeWidget, defaultdynamic, accessSGXmNdefaultPositionโ classXmCDefaultPosition, typeBoolean, defaultTrue, accessCSGXmNdialogStyleโ classXmCDialogStyle, typeunsigned char, defaultdynamic, accessCSGXmNdialogTitleโ classXmCDialogTitle, typeXmString, defaultNULL, accessCSGXmNfocusCallbackโ classXmCCallback, typeXtCallbackList, defaultNULL, accessCXmNlabelFontListโ classXmCLabelFontList, typeXmFontList, defaultdynamic, accessCSGXmNmapCallbackโ classXmCCallback, typeXtCallbackList, defaultNULL, accessCXmNmarginHeightโ classXmCMarginHeight, typeDimension, default10, accessCSGXmNmarginWidthโ classXmCMarginWidth, typeDimension, default10, accessCSGXmNnoResizeโ classXmCNoResize, typeBoolean, defaultFalse, accessCSGXmNresizePolicyโ classXmCResizePolicy, typeunsigned char, defaultXmRESIZE_ANY, accessCSGXmNshadowTypeโ classXmCShadowType, typeunsigned char, defaultXmSHADOW_OUT, accessCSGXmNtextFontListโ classXmCTextFontList, typeXmFontList, defaultdynamic, accessCSGXmNtextTranslationsโ classXmCTranslations, typeXtTranslations, defaultNULL, accessCXmNunmapCallbackโ classXmCCallback, typeXtCallbackList, defaultNULL, accessC
๐ฆ XmManager Resource Set ๐ฆ
XmNbottomShadowColorโ classXmCBottomShadowColor, typePixel, defaultdynamic, accessCSGXmNbottomShadowPixmapโ classXmCBottomShadowPixmap, typePixmap, defaultXmUNSPECIFIED_PIXMAP, accessCSGXmNforegroundโ classXmCForeground, typePixel, defaultdynamic, accessCSGXmNhelpCallbackโ classXmCCallback, typeXtCallbackList, defaultNULL, accessCXmNhighlightColorโ classXmCHighlightColor, typePixel, defaultdynamic, accessCSGXmNhighlightPixmapโ classXmCHighlightPixmap, typePixmap, defaultdynamic, accessCSGXmNinitialFocusโ classXmCInitialFocus, typeWidget, defaultdynamic, accessCSGXmNnavigationTypeโ classXmCNavigationType, typeXmNavigationType, defaultXmTAB_GROUP, accessCSGXmNshadowThicknessโ classXmCShadowThickness, typeDimension, defaultdynamic, accessCSGXmNstringDirectionโ classXmCStringDirection, typeXmStringDirection, defaultdynamic, accessCGXmNtopShadowColorโ classXmCTopShadowColor, typePixel, defaultdynamic, accessCSGXmNtopShadowPixmapโ classXmCTopShadowPixmap, typePixmap, defaultdynamic, accessCSGXmNtraversalOnโ classXmCTraversalOn, typeBoolean, defaultTrue, accessCSGXmNunitTypeโ classXmCUnitType, typeunsigned char, defaultdynamic, accessCSGXmNuserDataโ classXmCUserData, typeXtPointer, defaultNULL, accessCSG
๐ Composite Resource Set ๐
XmNchildrenโ classXmCReadOnly, typeWidgetList, defaultNULL, accessGXmNinsertPositionโ classXmCInsertPosition, typeXtOrderProc, defaultNULL, accessCSGXmNnumChildrenโ classXmCReadOnly, typeCardinal, default0, accessG
๐ Core Resource Set ๐
XmNacceleratorsโ classXmCAccelerators, typeXtAccelerators, defaultdynamic, accessN/AXmNancestorSensitiveโ classXmCSensitive, typeBoolean, defaultdynamic, accessGXmNbackgroundโ classXmCBackground, typePixel, defaultdynamic, accessCSGXmNbackgroundPixmapโ classXmCPixmap, typePixmap, defaultXmUNSPECIFIED_PIXMAP, accessCSGXmNborderColorโ classXmCBorderColor, typePixel, defaultXtDefaultForeground, accessCSGXmNborderPixmapโ classXmCPixmap, typePixmap, defaultXmUNSPECIFIED_PIXMAP, accessCSGXmNborderWidthโ classXmCBorderWidth, typeDimension, default0, accessCSGXmNcolormapโ classXmCColormap, typeColormap, defaultdynamic, accessCGXmNdepthโ classXmCDepth, typeint, defaultdynamic, accessCGXmNdestroyCallbackโ classXmCCallback, typeXtCallbackList, defaultNULL, accessCXmNheightโ classXmCHeight, typeDimension, defaultdynamic, accessCSGXmNinitialResourcesPersistentโ classXmCInitialResourcesPersistent, typeBoolean, defaultTrue, accessCXmNmappedWhenManagedโ classXmCMappedWhenManaged, typeBoolean, defaultTrue, accessCSGXmNscreenโ classXmCScreen, typeScreen *, defaultdynamic, accessCGXmNsensitiveโ classXmCSensitive, typeBoolean, defaultTrue, accessCSGXmNtranslationsโ classXmCTranslations, typeXtTranslations, defaultdynamic, accessCSGXmNwidthโ classXmCWidth, typeDimension, defaultdynamic, accessCSGXmNxโ classXmCPosition, typePosition, default0, accessCSG
โฆand the resource table wraps up with this last row, bestie โ copying it exactly because we do not mess with resource specs:
โ XmNy โ XmCPosition โ Position โ 0 โ CSG โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโ
๐ฌ Callback Information ๐ฌ
A pointer to this struct gets passed to every callback, and it's giving โhere's everything you need, no capโ:
typedef struct {
int reason;
XEvent *event;
char *locationId;
char *helpVolume;
char *specification;
int hyperType;
int windowHint;
} DtHelpDialogCallbackStruct;
reasonโ tells you why the callback got invoked.eventโ points to theXEventthat triggered the callback.locationIdโ indicates theDtNlocationIdfor the current topic. This value isNULLwhenever thehyperTypevalue is notDtHELP_LINK_TOPICorDtHELP_LINK_APP_DEFINE.helpVolumeโ indicates the current help volume. This value returnsNULLwhenever thehyperTypevalue is notDtHELP_LINK_TOPICorDtHELP_LINK_APP_DEFINE.specificationโ indicates any author-defined data contained within the selected hypertext link. This value returnsNULLif no author-defined data was given. For hyperlinks of typeDtHELP_MAN_PAGE, thespecificationargument contains the name of the manual page. For hyperlinks of typeDtHELP_LINK_TEXT_FILE, thespecificationargument contains that name of the file.hyperTypeโ indicates the hypertext link type. Possible values are:DtHELP_LINK_TOPIC,DtHELP_LINK_MAN_PAGE,DtHELP_LINK_APP_DEFINEorDtHELP_LINK_TEXT_FILE.windowHintโ indicates a hint for the type of window (current window,DtHelpQuickDialogwidget window or new window) to use. This value contains one of the following three types:DtHELP_POPUP_WINDOW,DtHELP_CURRENT_WINDOWorDtHELP_NEW_WINDOW.
๐ฎ Additional Behavior ๐ฎ
The DtHelpQuickDialog widget has the extra behavior described below, and honestly some of these are lowkey iconic:
&<MAny> &<KCancel>โ calls the active callbacks for the Close button. If a&<BDrag>for either a selection or scrollbar movement is in process, theKCancelaborts that action.&<KSpace>,&<KActivate>or&<BSelect>in Display Area Text โ invokes the hypertext link that contains the current selection.&<DoubleClick>in Display Area Text โ ignored. literally nothing. ๐&<BDrag>in Display Area Text โ selects the text from the drag start point to the drag end point. Moving and holding the&<BDrag>outside the topic tree or display area, scrolls the window, selecting the newly exposed text.&<Close Button Activated>โ closes theDtHelpQuickDialogwidget, and calls theDtNcloseCallbackcallbacks with reasonDtCR_HELP_CLOSE.&<Backtrack Button Activated>โ forces theDtHelpQuickDialogwidget to display the data previously displayed in the dialog. If the current item was the first item displayed in theDtHelpQuickDialogwidget, the Backtrack button is insensitive.&<Print Button Activated>โ forces theDtHelpQuickDialogwidget to display the Help-Print dialog.&<Help Button Activated>โ forces theDtHelpQuickDialogwidget to display the Help-On-Help dialog.&<MCtrl>or&<MShift>&<BSelect>in Display Area Hypertext Link Text /&<MCtrl>&<KSpace>in Display Area Hypertext Link Text /&<MCtrl>&<KActivate>in Display Area Hypertext Link Text โ invokes theDtNhyperLinkCallbackfor theDtHelpQuickDialogwidget, honoring all existing link settings, but forces thewindowHinttoDtHELP_NEW_WINDOW. If noDtNhyperLinkCallbackwas supplied, the hypertext link is handled internally.&<KSelectAll>in Display Area โ selects all text within the display area.&<KDeSelectAll>in Display Area โ deselects all text within the display area.&<KUp>or&<KLeft>in Display Area โ moves the traversal highlight up or left to the next hypertext link item.&<KDown>or&<KRight>in Display Area โ moves the traversal highlight down or right to the next hypertext item.&<KCopy>in the Display Area โ copies the currently selected text to the clipboard.&<KPageDown>or&<MCtrl>&<KDown>in the Display Area โ displays the next page of text.&<KPageLeft>or&<MCtrl>&<KLeft>in Display Area โ scrolls the information to the left.&<KPageRight>or&<MCtrl>&<KRight>in Display Area โ scrolls the information to the right.&<KPageUp>or&<MCtrl>&<KUp>in Display Area โ displays the previous page of information.&<KBeginData>in the Display Area โ displays the first page of information.&<KEndData>in the Display Area โ displays the last page of information.
๐ง Virtual Bindings ๐ง
The bindings for virtual keys are implementation-dependent. For information about bindings for virtual buttons and keys, see VirtualBindings(3).
๐ ENVIRONMENT VARIABLES ๐
The DtHelpQuickDialog widget uses two environment variables for locating help volumes within the desktop environment:
DTHELPSEARCHPATHโ the system search path environment variable for locating help volumes on local and remote NFS mounted systems.DTHELPUSERSEARCHPATHโ the search path environment variable for locating user-specific help volumes on local and remote NFS mounted systems.
The environment variables contain colon-separated lists of directory paths. Each directory path can contain both environment variable names as well as special field descriptors that are expanded at runtime.
Field descriptors consist of a percent-sign character (%) followed by a single character. Field descriptors and their substitution values are:
%Hโ replaced with the current volume name being searched for.%Lโ replaced with the current value of theLANGenvironment variable.%%โ replaced with a single%.
The default value for DTHELPUSERSEARCHPATH is:
$HOME/.dt/help/$DTUSERSESSION/%H:
$HOME/.dt/help/$DTUSERSESSION/%H.sdl:
$HOME/.dt/help/$DTUSERSESSION/%H.hv:
$HOME/.dt/help/%H:
$HOME/.dt/help/%H.sdl:
$HOME/.dt/help/%H.hv
The DTHELPUSERSEARCHPATH is first searched for the requested volume. If the volume is not found, the DTHELPSEARCHPATH value is searched.
The default value for DTHELPSEARCHPATH path is:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/etc/appconfig/help/%L/%H:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/etc/appconfig/help/%L/%H.sdl:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/etc/appconfig/help/%L/%H.hv:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/etc/appconfig/help/C/%H:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/etc/appconfig/help/C/%H.sdl:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/etc/appconfig/help/C/%H.hv:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/appconfig/help/%L/%H:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/appconfig/help/%L/%H.sdl:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/appconfig/help/%L/%H.hv:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/appconfig/help/C/%H:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/appconfig/help/C/%H.sdl:
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/appconfig/help/C/%H.hv
๐ ๏ธ APPLICATION USAGE ๐ ๏ธ
The following messages can be generated as a result of an error or improperly set resource value in the DtHelpQuickDialog widget. These messages are displayed in the widget's display area as well as standard error.
๐ญ Error Messages ๐ญ
String data could not be formatted.โ the error occurred when formatting help information of typeDtHELP_TYPE_STRING.Dynamic string data could not be formatted.โ the error occurred when formatting help information of typeDtHELP_TYPE_DYNAMIC_STRING.Man Page could not be formatted. The requested man page is either not present, or corrupt." 10โ the error occurred when formatting help information of typeDtHELP_TYPE_MAN_PAGE.Text file could not be formatted. The requested text file is either not present, or corrupt." 10โ the error occurred when formatting help information of typeDtHELP_TYPE_FILE.Non-supported DtNhelpType value used.โ the application used a non-supportedDtNhelpType.Help topic could not be formatted.โ the application attempted to access a corrupt runtime help file.No DtNhyperLinkCallback supplied for widget.โ a hypertext link of typeDtHELP_NEW_WINDOWis selected, but the application has not supplied a hypertext callback to handle it. The link is handled like aDtHELP_CURRENT_WINDOWjump.Nonexistent DtNlocationId.โ the requestedDtNlocationIdis not present in the current help volume.No DtNhyperLinkCallback supplied for widget to handle/DtHELP_LINK_APP_DEFINE or DtHELP_LINK_MAN_PAGE links.โ a hypertext link of typeDtHELP_LINK_APP_DEFINEorDtHELP_LINK_MAN_PAGEis selected, but the application has not supplied a hypertext callback.Could not find DtNhelpVolume.โ the Help System is unable to find the help volume requested.Could not open DtNhelpVolume.โ the Help System found the requested help volume, but does not have the permission to open it.
๐ SEE ALSO ๐
Dt/HelpDialog.h-DtHelpDialog(5)Dt/Help.h-DtHelp(5)DtCreateHelpDialog(3)DtHelpSetCatalogName(3)DtHelpQuickDialogGetChild(3);XmManager(3),XmBulletinBoard(3),Core(3),Composite(3),Constraint(3),VirtualBindings(3),dthelptagdtd(4).
That's the DtHelpQuickDialog(library call) page, bestie โ source/version and date live in your local man footer, but the helpfulness is eternal. ๐ซถ๐โจ
๐ฆ where this page comes from
- nixos 26.05: cde 2.5.3
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms