Editor.sgm 120 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663
  1. <!-- $XConsortium: Editor.sgm /main/10 1996/09/08 20:04:04 rws $ -->
  2. <!-- (c) Copyright 1995 Digital Equipment Corporation. -->
  3. <!-- (c) Copyright 1995 Hewlett-Packard Company. -->
  4. <!-- (c) Copyright 1995 International Business Machines Corp. -->
  5. <!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
  6. <!-- (c) Copyright 1995 Novell, Inc. -->
  7. <!-- (c) Copyright 1995 FUJITSU LIMITED. -->
  8. <!-- (c) Copyright 1995 Hitachi. -->
  9. <![ %CDE.C.CDE; [<RefEntry Id="CDEMX.XCSA.MAN13.rsml.1">]]><![ %CDE.C.XO; [<refentry
  10. id="XCSA.MAN13.rsml.1">]]><refmeta><refentrytitle>DtEditor</refentrytitle>
  11. <manvolnum>library call</manvolnum></refmeta><refnamediv><refname><classname>DtEditor</classname></refname><refpurpose>the DtEditor widget class</refpurpose>
  12. </refnamediv><!-- CDE Common Source Format, Version 1.0.0--><!-- *************************************************************************--><!--
  13. ** (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company--><!-- ** (c)
  14. Copyright 1993, 1994, 1995 International Business Machines Corp.--><!-- **
  15. (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.--><!-- ** (c) Copyright
  16. 1993, 1994, 1995 Novell, Inc.--><!-- *************************************************************************--><refsynopsisdiv>
  17. <synopsis>#include &lt;Dt/Editor.h></synopsis>
  18. </refsynopsisdiv><refsect1>
  19. <title>DESCRIPTION</title>
  20. <para>The DtEditor widget supports creating and editing text files. It gives
  21. applications running in the desktop environment a consistent method for editing
  22. text data. The widget consists of:</para>
  23. <itemizedlist>
  24. <listitem>
  25. <para>A scrolled edit window for text</para>
  26. </listitem>
  27. <listitem>
  28. <para>Dialogs for finding and changing text <![ %CDE.C.CDE; [</Para>
  29. </ListItem>
  30. <ListItem>
  31. <Para>Optional status line
  32. </Para>
  33. </ListItem>
  34. <ListItem>
  35. <Para>Spell checking option
  36. ]]></para>
  37. </listitem>
  38. <listitem>
  39. <para>Formatting options</para>
  40. </listitem>
  41. <listitem>
  42. <para>Convenience functions for programmatically controlling the widget</para>
  43. </listitem>
  44. </itemizedlist>
  45. <para>The DtEditor widget supports the following set of basic editing operations:
  46. </para>
  47. <itemizedlist>
  48. <listitem>
  49. <para>Finding and changing text</para>
  50. </listitem>
  51. <listitem>
  52. <para>Simple formatting <![ %CDE.C.CDE; [</Para>
  53. </ListItem>
  54. <ListItem>
  55. <Para>Spell checking
  56. ]]></para>
  57. </listitem>
  58. <listitem>
  59. <para>Undoing the previous edit operation</para>
  60. </listitem>
  61. </itemizedlist>
  62. <para><![ %CDE.C.CDE; [All operations, except for spell
  63. checking, support locales with single- and multi-byte characters.
  64. </Para>
  65. <Para>]]><![ %CDE.C.XO; [All operations support locales with single- and multi-byte
  66. characters.</para><para>]]><![ %CDE.C.CDE; [The DtEditor widget also
  67. supports input and output of ASCII text, multi-byte text and
  68. buffers of data.
  69. Data can be passed between the application and the DtEditor widget, or
  70. a file and the widget.
  71. ]]><![ %CDE.C.XO; [The DtEditor widget also supports multi-byte text and buffers
  72. of data. Data can be passed between the application and the DtEditor widget,
  73. or a file and the widget. ]]></para>
  74. <para>The DtEditor widget provides separate callback lists to track when text
  75. is selected or deselected. In addition, it extends the standard help callback
  76. to report help requests from any of its components.</para>
  77. <para>Widget subclassing is not supported for the DtEditor widget class.</para>
  78. <refsect2>
  79. <title>Edit Window</title><![ %CDE.C.CDE; [<Para>The edit window supports basic editing operations
  80. such as cut and paste, find and change, simple formatting and spell
  81. checking.
  82. </Para>
  83. ]]><![ %CDE.C.XO; [<para>The edit window supports basic editing operations
  84. such as cut and paste, find and change, and simple formatting.</para>]]></refsect2>
  85. <refsect2>
  86. <title>Mouse and Keyboard</title>
  87. <para>The user can use the mouse to move the edit cursor and to select portions
  88. of a document for editing operations. Selection is based on the model specified
  89. in the <emphasis>Inter-Client Communication Conventions Manual</emphasis> <![ %CDE.C.CDE; [(ICCCM).
  90. ]]><![ %CDE.C.XO; [(ICCCM&mdash;see the &str-Zi;). ]]>The DtEditor widget
  91. supports primary and secondary selection.</para>
  92. <para>The user can cut, copy and paste text using the clipboard, primary transfer
  93. or secondary transfer. The DtEditor widget accepts drops of text, text files
  94. or buffers of data. Text drops are inserted where the mouse button is released
  95. to complete the drop. Dropped files and buffers of data are placed at the
  96. insertion cursor. The DtEditor widget supports dragging of text within the
  97. edit window or to a different widget.</para>
  98. <para>The DtEditor widget provides a set of translations for the edit window.
  99. The default translations provide key bindings for moving the insertion cursor,
  100. and deleting, inserting and selecting text. The insertion cursor, displayed
  101. as an I-beam, shows where input is inserted. Input is inserted just before
  102. the insertion cursor. <![ %CDE.C.CDE; [</Para>
  103. </RefSect2>
  104. <RefSect2>
  105. <Title>Status Line</Title>
  106. <Para>The status line, which can be shown or hidden, displays the current line
  107. number, total line count and
  108. whether the DtEditor widget is in overstrike mode.
  109. The current line-number
  110. display shows the line number of the line containing the insertion
  111. cursor.
  112. The user can go directly to any line in the document by entering
  113. the number into the current line number display.
  114. The status line also provides a text field
  115. for displaying application-supplied messages.
  116. For information on
  117. localizing the status line, see the
  118. <Literal>Localization Resources</Literal> section.
  119. ]]></para>
  120. </refsect2>
  121. <refsect2>
  122. <title>Dialogs</title>
  123. <para>The DtEditor widget includes dialogs to provide a graphical user interface
  124. to its functionality:</para>
  125. <itemizedlist>
  126. <listitem>
  127. <para>Find/Change dialog <![ %CDE.C.CDE; [</Para>
  128. </ListItem>
  129. <ListItem>
  130. <Para>Spell dialog.
  131. ]]></para>
  132. </listitem>
  133. <listitem>
  134. <para>Format Settings dialog</para>
  135. </listitem>
  136. </itemizedlist>
  137. <para>The titles of all dialogs are controlled with the <systemitem class="Resource">DtNdialogTitle</systemitem> resource. All dialogs are posted using corresponding
  138. convenience functions and remain posted until dismissed by the user. Each
  139. dialog includes Close and Help buttons in addition to buttons described in
  140. the following lists. <![ %CDE.C.CDE; [For information on localizing
  141. these dialogs, see the
  142. <Literal>Localization</Literal> <Literal>Resources</Literal> section.
  143. ]]></para>
  144. <para>The Find/Change dialog for the DtEditor widget enables users to search
  145. for, and optionally replace, a string in the edit window. The dialog includes
  146. fields for specifying the find string and the replacement string. <![ %CDE.C.XO; [When
  147. the user initiates a Find, ]]><![ %CDE.C.CDE; [Buttons initiate the
  148. find or change either the next occurrence or all occurrences of the find
  149. string to the replacement string.
  150. When the user selects the Find button,
  151. ]]>the next occurrence of the specified string (regular expressions are not
  152. supported) is highlighted in the DtEditor widget, if found; otherwise, the
  153. DtEditor widget displays a message dialog stating the string was not found.
  154. If the string was found, the user has the option to change the highlighted
  155. occurrence or all occurrences.</para>
  156. <para>The &cdeman.DtEditorFind; and &cdeman.DtEditorChange;
  157. functions provide a programmatic interface to the find and change
  158. functionality of the DtEditor widget.</para>
  159. <para><![ %CDE.C.CDE; [The Spell dialog is used to check the contents of the edit window for
  160. spelling errors.
  161. It consists of a list of misspelled words, replacement string field
  162. and the same set of buttons as the Find dialog.
  163. Choosing a word from the list automatically selects it as the
  164. find string.
  165. Double-clicking on a word searches for the next occurrence of that word.
  166. The list of misspelled words is automatically generated
  167. using the filter specified by
  168. <SystemItem Class="Resource">DtNspellFilter</SystemItem> when the dialog is displayed.
  169. The actions for
  170. find, change to and change all are the same as the Find dialog.
  171. </Para>
  172. <Para>]]>The Format Settings dialog for the DtEditor widget enables users
  173. to format the contents of the edit window, format just the paragraph containing
  174. the insertion cursor, or specify the arguments used when formatting text.
  175. The arguments include margin settings and text alignment. The user has the
  176. choice of aligning the text flush with the left or right margin, centering
  177. each line of text between the margins, or aligning it flush with both margins. <![ %CDE.C.CDE; [The user enter the left and right
  178. margin values into text fields and choose an alignment option from a set
  179. of toggle buttons.
  180. Two push buttons allow them to format the current
  181. paragraph or format the complete document.
  182. ]]></para>
  183. <para><![ %CDE.C.CDE; [The margin values used for formatting do not have to be the same as the
  184. width of the edit window.
  185. It is possible to format the text with margin
  186. values that are narrower or wider than the displayed edit window.
  187. By default, values for the format margins are the current size of
  188. the edit window.
  189. If text is formatted wider than the edit window and the
  190. <SystemItem Class="Resource">DtNwordWrap</SystemItem> resource is
  191. True,
  192. text wraps at the right edge of the edit
  193. window (see the description for
  194. <SystemItem Class="Resource">DtNwordWrap</SystemItem>), regardless of the right margin setting.
  195. To format text wider than the edit window,
  196. <SystemItem Class="Resource">DtNwordWrap</SystemItem> should be
  197. False.
  198. </Para>
  199. <Para>]]>The &cdeman.DtEditorFormat; function provides a programmatic
  200. interface to the format functionality of the DtEditor widget.</para>
  201. </refsect2>
  202. <refsect2>
  203. <title>Word Wrap and Formatting</title>
  204. <para>Word wrap and text formatting are essentially independent operations.
  205. Word wrap pertains to the dynamic display of lines, as delimited by <keysym>newline</keysym> characters, which exceed the width of the Text Editor window
  206. and is based on the left and right window boundaries. When word wrap mode
  207. is off (the default), each line of text is displayed on a single line on the
  208. display and text entered at the right window boundary causes the window to
  209. scroll automatically to the right to accommodate the new text until an actual <keysym>newline</keysym> character is entered (normally, by pressing the Return key).
  210. When word wrap mode is on, lines longer than the window width are automatically
  211. wrapped at the right window margin to one or more display lines, and text
  212. entered at the right window boundary is automatically broken on a word boundary
  213. to the first column of the next display line. Word wrap is dynamic in that
  214. word-wrapped lines are automatically adjusted when text is inserted or deleted
  215. or when the window is resized. Word wrap only affects the display of lines;
  216. it does not actually insert <keysym>newline</keysym> characters in the text.
  217. </para>
  218. <para>Text formatting is a static operation that inserts actual <keysym>newline</keysym> (and/or <keysym>space</keysym>) characters directly in the text
  219. to match it to the left and right margins (and justification mode) specified
  220. in the Format Settings dialog. Format settings affect text only when explicitly
  221. applied and have no affect on word wrap or previously formatted text. Initially,
  222. and whenever the window is resized, the right format margin is automatically
  223. set to the window width to match the word wrap boundary.</para>
  224. </refsect2>
  225. <refsect2>
  226. <title>Classes</title>
  227. <para>The DtEditor widget inherits behavior and resources from <classname>Core</classname>, <classname>Composite</classname>, <classname>Constraint</classname>, <classname>XmManager</classname>, <classname>XmBulletinBoard</classname> and <classname>XmForm</classname> classes.</para>
  228. <para>The class pointer is <Symbol>dtEditorWidgetClass</Symbol>.</para>
  229. <para>The class name is <structname role="typedef">DtEditorWidget</structname>.
  230. </para>
  231. </refsect2>
  232. <refsect2>
  233. <title>New Resources</title>
  234. <para>The following table defines a set of widget resources the application
  235. uses to specify data. The application can also set the resource values for
  236. the inherited classes to set attributes for this widget. To reference a resource
  237. by name or by class in a <Filename>.Xdefaults</Filename> file, the application
  238. must remove the <Symbol>DtN</Symbol> or <Symbol>DtC</Symbol> prefix and
  239. use the remaining letters. To specify one of the defined values for a resource
  240. in a <Filename>.Xdefaults</Filename> file, the application must remove the <literal>Dt</literal> prefix and use the remaining letters (in either lower case or
  241. upper case, but including any underscores between words). The codes in the
  242. access column indicate if the given resource can be set at creation time (C),
  243. set by using <function>XtSetValues</function> (S), retrieved by using <function>XtGetValues</function> (G), or is not applicable (N/A).</para>
  244. <informaltable>
  245. <tgroup cols="5" colsep="0" rowsep="0">
  246. <?PubTbl tgroup dispwid="7.87in">
  247. <colspec align="left" colname="col1" colwidth="197*">
  248. <colspec align="left" colname="col2" colwidth="194*">
  249. <colspec align="left" colwidth="108*">
  250. <colspec align="left" colwidth="80*">
  251. <colspec align="left" colwidth="71*">
  252. <spanspec nameend="col2" namest="col1" spanname="1to2">
  253. <tbody>
  254. <row>
  255. <entry align="left" spanname="1to2" valign="top"><literal>DtEditor Resource
  256. Set</literal></entry></row>
  257. <row>
  258. <entry align="left" valign="top"><literal>Name</literal></entry>
  259. <entry align="left" valign="top"><literal>Class</literal></entry>
  260. <entry align="left" valign="top"><literal>Type</literal></entry>
  261. <entry align="left" valign="top"><literal>Default</literal></entry>
  262. <entry align="left" valign="top"><literal>Access</literal></entry></row>
  263. <row>
  264. <entry align="left" valign="top"><systemitem class="Resource">DtNautoShowCursorPosition</systemitem></entry>
  265. <entry align="left" valign="top"><systemitem class="Resource">DtCAutoShowCursorPosition</systemitem></entry>
  266. <entry align="left" valign="top"><structname role="typedef">Boolean</structname></entry>
  267. <entry align="left" valign="top">True</entry>
  268. <entry align="left" valign="top">CSG</entry></row>
  269. <row>
  270. <entry align="left" valign="top"><systemitem class="Resource">DtNblinkRate</systemitem></entry>
  271. <entry align="left" valign="top"><systemitem class="Resource">DtCBlinkRate</systemitem></entry>
  272. <entry align="left" valign="top"><StructName Role="typedef">int</StructName></entry>
  273. <entry align="left" valign="top">500</entry>
  274. <entry align="left" valign="top">CSG</entry></row>
  275. <row>
  276. <entry align="left" valign="top"><systemitem class="Resource">DtNbuttonFontList</systemitem></entry>
  277. <entry align="left" valign="top"><systemitem class="Resource">DtCFontList</systemitem></entry>
  278. <entry align="left" valign="top"><structname role="typedef">XmFontList</structname></entry>
  279. <entry align="left" valign="top">dynamic</entry>
  280. <entry align="left" valign="top">CSG</entry></row>
  281. <row>
  282. <entry align="left" valign="top"><systemitem class="Resource">DtNcolumns</systemitem></entry>
  283. <entry align="left" valign="top"><systemitem class="Resource">DtCColumns</systemitem></entry>
  284. <entry align="left" valign="top"><systemitem class="Resource">XmNcolumns</systemitem></entry>
  285. <entry align="left" valign="top">dynamic</entry>
  286. <entry align="left" valign="top">CSG</entry></row>
  287. <row>
  288. <entry align="left" valign="top"><systemitem class="Resource">DtNcursorPosition</systemitem></entry>
  289. <entry align="left" valign="top"><systemitem class="Resource">DtCCursorPosition</systemitem></entry>
  290. <entry align="left" valign="top"><structname role="typedef">XmTextPosition</structname></entry>
  291. <entry align="left" valign="top">0</entry>
  292. <entry align="left" valign="top">CSG</entry></row>
  293. <row>
  294. <entry align="left" valign="top"><systemitem class="Resource">DtNcursorPositionVisible</systemitem></entry>
  295. <entry align="left" valign="top"><systemitem class="Resource">DtCCursorPositionVisible</systemitem></entry>
  296. <entry align="left" valign="top"><structname role="typedef">Boolean</structname></entry>
  297. <entry align="left" valign="top">True</entry>
  298. <entry align="left" valign="top">CSG</entry></row>
  299. <row>
  300. <entry align="left" valign="top"><systemitem class="Resource">DtNdialogTitle</systemitem></entry>
  301. <entry align="left" valign="top"><systemitem class="Resource">DtCDialogTitle</systemitem></entry>
  302. <entry align="left" valign="top"><structname role="typedef">XmString</structname></entry>
  303. <entry align="left" valign="top">NULL</entry>
  304. <entry align="left" valign="top">CSG</entry></row>
  305. <row>
  306. <entry align="left" valign="top"><systemitem class="Resource">DtNeditable</systemitem></entry>
  307. <entry align="left" valign="top"><systemitem class="Resource">DtCEditable</systemitem></entry>
  308. <entry align="left" valign="top"><structname role="typedef">Boolean</structname></entry>
  309. <entry align="left" valign="top">True</entry>
  310. <entry align="left" valign="top">CSG</entry></row>
  311. <row>
  312. <entry align="left" valign="top"><systemitem class="Resource">DtNlabelFontList</systemitem></entry>
  313. <entry align="left" valign="top"><systemitem class="Resource">DtCFontList</systemitem></entry>
  314. <entry align="left" valign="top"><structname role="typedef">XmFontList</structname></entry>
  315. <entry align="left" valign="top">dynamic</entry>
  316. <entry align="left" valign="top">CSG</entry></row>
  317. <row>
  318. <entry align="left" valign="top"><systemitem class="Resource">DtNmaxLength</systemitem></entry>
  319. <entry align="left" valign="top"><systemitem class="Resource">DtCMaxLength</systemitem></entry>
  320. <entry align="left" valign="top"><StructName Role="typedef">int</StructName></entry>
  321. <entry align="left" valign="top">largest integer</entry>
  322. <entry align="left" valign="top">CSG</entry></row>
  323. <row>
  324. <entry align="left" valign="top"><systemitem class="Resource">DtNoverstrike</systemitem></entry>
  325. <entry align="left" valign="top"><systemitem class="Resource">DtCOverstrike</systemitem></entry>
  326. <entry align="left" valign="top"><structname role="typedef">Boolean</structname></entry>
  327. <entry align="left" valign="top">False</entry>
  328. <entry align="left" valign="top">CSG</entry></row>
  329. <row>
  330. <entry align="left" valign="top"><systemitem class="Resource">DtNrows</systemitem></entry>
  331. <entry align="left" valign="top"><systemitem class="Resource">DtCRows</systemitem></entry>
  332. <entry align="left" valign="top"><systemitem class="Resource">XmNrows</systemitem></entry>
  333. <entry align="left" valign="top">dynamic</entry>
  334. <entry align="left" valign="top">CSG</entry></row>
  335. <row>
  336. <entry align="left" valign="top"><systemitem class="Resource">DtNscrollHorizontal</systemitem></entry>
  337. <entry align="left" valign="top"><systemitem class="Resource">DtCScroll</systemitem></entry>
  338. <entry align="left" valign="top"><structname role="typedef">Boolean</structname></entry>
  339. <entry align="left" valign="top">True</entry>
  340. <entry align="left" valign="top">CG</entry></row>
  341. <row>
  342. <entry align="left" valign="top"><systemitem class="Resource">DtNscrollLeftSide</systemitem></entry>
  343. <entry align="left" valign="top"><systemitem class="Resource">DtCScrollSide</systemitem></entry>
  344. <entry align="left" valign="top"><structname role="typedef">Boolean</structname></entry>
  345. <entry align="left" valign="top">dynamic</entry>
  346. <entry align="left" valign="top">CG</entry></row>
  347. <row>
  348. <entry align="left" valign="top"><systemitem class="Resource">DtNscrollTopSide</systemitem></entry>
  349. <entry align="left" valign="top"><systemitem class="Resource">DtCScrollSide</systemitem></entry>
  350. <entry align="left" valign="top"><structname role="typedef">Boolean</structname></entry>
  351. <entry align="left" valign="top">False</entry>
  352. <entry align="left" valign="top">CG</entry></row>
  353. <row>
  354. <entry align="left" valign="top"><systemitem class="Resource">DtNscrollVertical</systemitem></entry>
  355. <entry align="left" valign="top"><systemitem class="Resource">DtCScroll</systemitem></entry>
  356. <entry align="left" valign="top"><structname role="typedef">Boolean</structname></entry>
  357. <entry align="left" valign="top">True</entry>
  358. <entry align="left" valign="top">CG</entry></row><![ %CDE.C.CDE; [<Row>
  359. <Entry><SystemItem Class="Resource">DtNshowStatusLine</SystemItem></Entry>
  360. <Entry><SystemItem Class="Resource">DtCShowStatusLine</SystemItem></Entry>
  361. <Entry><StructName Role="typedef">Boolean</StructName></Entry>
  362. <Entry>False</Entry>
  363. <Entry>CSG</Entry>
  364. </Row>
  365. <Row>
  366. <Entry><SystemItem Class="Resource">DtNspellFilter</SystemItem></Entry>
  367. <Entry><Symbol>DtCspellFilter</Symbol></Entry>
  368. <Entry><StructName Role="typedef">char *</StructName></Entry>
  369. <Entry>spell</Entry>
  370. <Entry>CSG</Entry>
  371. </Row>
  372. ]]>
  373. <row>
  374. <entry align="left" valign="top"><systemitem class="Resource">DtNtextBackground</systemitem></entry>
  375. <entry align="left" valign="top"><systemitem class="Resource">DtCBackground</systemitem></entry>
  376. <entry align="left" valign="top"><structname role="typedef">Pixel</structname></entry>
  377. <entry align="left" valign="top">dynamic</entry>
  378. <entry align="left" valign="top">CSG</entry></row>
  379. <row>
  380. <entry align="left" valign="top"><systemitem class="Resource">DtNtextDeselectCallback</systemitem></entry>
  381. <entry align="left" valign="top"><systemitem class="Resource">DtCCallback</systemitem></entry>
  382. <entry align="left" valign="top"><structname role="typedef">XtCallbackList</structname></entry>
  383. <entry align="left" valign="top">NULL</entry>
  384. <entry align="left" valign="top">C</entry></row>
  385. <row>
  386. <entry align="left" valign="top"><systemitem class="Resource">DtNtextFontList</systemitem></entry>
  387. <entry align="left" valign="top"><systemitem class="Resource">DtCFontList</systemitem></entry>
  388. <entry align="left" valign="top"><structname role="typedef">XmFontList</structname></entry>
  389. <entry align="left" valign="top">dynamic</entry>
  390. <entry align="left" valign="top">CSG</entry></row>
  391. <row>
  392. <entry align="left" valign="top"><systemitem class="Resource">DtNtextForeground</systemitem></entry>
  393. <entry align="left" valign="top"><systemitem class="Resource">DtCForeground</systemitem></entry>
  394. <entry align="left" valign="top"><structname role="typedef">Pixel</structname></entry>
  395. <entry align="left" valign="top">dynamic</entry>
  396. <entry align="left" valign="top">CSG</entry></row>
  397. <row>
  398. <entry align="left" valign="top"><systemitem class="Resource">DtNtextSelectCallback</systemitem></entry>
  399. <entry align="left" valign="top"><systemitem class="Resource">DtCCallback</systemitem></entry>
  400. <entry align="left" valign="top"><structname role="typedef">XtCallbackList</structname></entry>
  401. <entry align="left" valign="top">NULL</entry>
  402. <entry align="left" valign="top">C</entry></row>
  403. <row>
  404. <entry align="left" valign="top"><systemitem class="Resource">DtNtextTranslations</systemitem></entry>
  405. <entry align="left" valign="top"><systemitem class="Resource">DtCTranslations</systemitem></entry>
  406. <entry align="left" valign="top"><structname role="typedef">XtTranslations</structname></entry>
  407. <entry align="left" valign="top">NULL</entry>
  408. <entry align="left" valign="top">CS</entry></row>
  409. <row>
  410. <entry align="left" valign="top"><systemitem class="Resource">DtNtopCharacter</systemitem></entry>
  411. <entry align="left" valign="top"><Symbol>DtCTextPosition</Symbol></entry>
  412. <entry align="left" valign="top"><structname role="typedef">XmTextPosition</structname></entry>
  413. <entry align="left" valign="top">0</entry>
  414. <entry align="left" valign="top">CSG</entry></row>
  415. <row>
  416. <entry align="left" valign="top"><systemitem class="Resource">DtNwordWrap</systemitem></entry>
  417. <entry align="left" valign="top"><systemitem class="Resource">DtCWordWrap</systemitem></entry>
  418. <entry align="left" valign="top"><structname role="typedef">Boolean</structname></entry>
  419. <entry align="left" valign="top">False</entry>
  420. <entry align="left" valign="top">CSG</entry></row></tbody></tgroup><?Pub Caret>
  421. </informaltable>
  422. <variablelist>
  423. <varlistentry><term><systemitem class="Resource">DtNautoShowCursorPosition</systemitem></term>
  424. <listitem>
  425. <para>Ensures that the text visible in the scrolled edit window contains the
  426. insert cursor when set to True. If the insert cursor changes, the contents
  427. of the DtEditor widget may scroll in order to bring the insertion point into
  428. the window.</para>
  429. </listitem>
  430. </varlistentry>
  431. <varlistentry><term><systemitem class="Resource">DtNblinkRate</systemitem></term>
  432. <listitem>
  433. <para>Specifies the blink rate of the text cursor in milliseconds. The time
  434. indicated in the blink rate relates to the time the cursor is visible and
  435. the time the cursor is invisible (that is, the time it takes to blink the
  436. insertion cursor on and off is twice the blink rate). The cursor does not
  437. blink when the blink rate is set to zero. The value cannot be negative.</para>
  438. </listitem>
  439. </varlistentry>
  440. <varlistentry><term><systemitem class="Resource">DtNbuttonFontList</systemitem></term>
  441. <listitem>
  442. <para>Specifies the font list used for the DtEditor buttons (the buttons appearing
  443. in the DtEditor dialogs). If this value is <systemitem class="Constant">NULL</systemitem> at initialization, it is initialized by looking up the parent
  444. hierarchy of the widget for an ancestor that is a subclass of the <classname>XmBulletinBoard</classname>, <classname>VendorShell</classname> or <classname>XmMenuShell</classname> widget class. If such an ancestor is found, the font
  445. list is initialized to the appropriate default font list of the ancestor widget
  446. ( <systemitem class="Resource">XmNdefaultFontList</systemitem> for <classname>VendorShell</classname> and <classname>XmMenuShell</classname>, and <systemitem class="Resource">XmNbuttonFontList</systemitem> for <classname>XmBulletinBoard</classname> ). If no such ancestor is found, the default is implementation
  447. dependent. <![ %CDE.C.CDE; [Refer to
  448. &cdeman.XmFontList; for more information on the creation and structure of a font list.
  449. ]]></para>
  450. </listitem>
  451. </varlistentry>
  452. <varlistentry><term><systemitem class="Resource">DtNcolumns</systemitem></term>
  453. <listitem>
  454. <para>Specifies the initial width of the edit window of the DtEditor widget
  455. as an integral number of characters. The width equals the number of characters
  456. this resource specifies multiplied by the maximum character width of the associated
  457. font. For proportionate fonts, the actual number of characters that fit on
  458. a given line may be greater than the value specified. The value must be greater
  459. than zero. The default value depends on the value of the <Symbol>DtNwidth</Symbol> resource.</para>
  460. </listitem>
  461. </varlistentry>
  462. <varlistentry><term><systemitem class="Resource">DtNcursorPosition</systemitem></term>
  463. <listitem>
  464. <para>Indicates the position in the DtEditor widget where the current insert
  465. cursor is located. This position is determined by the number of characters
  466. from the beginning of the text. The first character position is zero.</para>
  467. </listitem>
  468. </varlistentry>
  469. <varlistentry><term><systemitem class="Resource">DtNcursorPositionVisible</systemitem></term>
  470. <listitem>
  471. <para>When set to True, this resource specifies that the insert cursor position
  472. is marked by a blinking text cursor.</para>
  473. </listitem>
  474. </varlistentry>
  475. <varlistentry><term><systemitem class="Resource">DtNdialogTitle</systemitem></term>
  476. <listitem>
  477. <para>Specifies an XmString that appears as part of the titles for the dialogs
  478. displayed by the DtEditor widget. If this resource is non- <systemitem class="Constant">NULL</systemitem>, it is used as the prefix of the <![ %CDE.C.CDE; [titles for the Find/Change, Spell and Format Settings dialogs.
  479. ]]><![ %CDE.C.XO; [titles for the Find/Change and the Format Settings dialogs. ]]></para>
  480. </listitem>
  481. </varlistentry>
  482. <varlistentry><term><systemitem class="Resource">DtNeditable</systemitem></term>
  483. <listitem>
  484. <para>When set to True, this resource indicates that the user can edit the
  485. text; otherwise, it prohibits the user from editing the text.</para>
  486. </listitem>
  487. </varlistentry>
  488. <varlistentry><term><systemitem class="Resource">DtNlabelFontList</systemitem></term>
  489. <listitem>
  490. <para>Specifies the font list used for the labels for DtEditor (the labels
  491. appear in the <![ %CDE.C.CDE; [status line and the
  492. ]]>DtEditor dialogs). If this value is <systemitem class="Constant">NULL</systemitem>
  493. at initialization, it is initialized by looking up the parent hierarchy of
  494. the widget for an ancestor that is a subclass of the <classname>XmBulletinBoard</classname>, <classname>VendorShell</classname> or <classname>XmMenuShell</classname> widget class. If such an ancestor is found, the font list is
  495. initialized to the <systemitem class="Resource">XmNlabelFontList</systemitem>
  496. of the ancestor widget. If no such ancestor is found, the default is implementation
  497. dependent. <![ %CDE.C.CDE; [Refer to
  498. &cdeman.XmFontList; for more information on the creation and structure of a font list.
  499. ]]></para>
  500. </listitem>
  501. </varlistentry>
  502. <varlistentry><term><systemitem class="Resource">DtNmaxLength</systemitem></term>
  503. <listitem>
  504. <para>Specifies the maximum length of the text string that can be entered
  505. into the DtEditor widget from the keyboard. This value must be non-negative.
  506. Strings entered using the &cdeman.DtEditorSetContents; or &cdeman.DtEditorSetContentsFromFile; functions ignore this resource.</para>
  507. </listitem>
  508. </varlistentry>
  509. <varlistentry><term><systemitem class="Resource">DtNoverstrike</systemitem></term>
  510. <listitem>
  511. <para>When set to False, characters typed into the DtEditor widget are inserted
  512. at the position of the insertion cursor. This is the default behavior. If
  513. set to True, characters typed into the DtEditor widget replace the characters
  514. that directly follow the insertion cursor. When the end of the line is reached,
  515. characters are appended to the end of the line. <![ %CDE.C.CDE; [If the status line is visible,
  516. <Symbol>DtNoverstrikeIndicatorLabel</Symbol> appears in the status line whenever
  517. <SystemItem Class="Resource">DtNoverstrike</SystemItem> is
  518. True.
  519. ]]></para>
  520. </listitem>
  521. </varlistentry>
  522. <varlistentry><term><systemitem class="Resource">DtNrows</systemitem></term>
  523. <listitem>
  524. <para>Specifies the initial height of the edit window of the DtEditor widget
  525. measured in character heights. The value must be greater than zero.</para>
  526. </listitem>
  527. </varlistentry>
  528. <varlistentry><term><systemitem class="Resource">DtNscrollHorizontal</systemitem></term>
  529. <listitem>
  530. <para>When set to True, this resource adds a ScrollBar that allows the user
  531. to scroll horizontally through text.</para>
  532. </listitem>
  533. </varlistentry>
  534. <varlistentry><term><systemitem class="Resource">DtNscrollLeftSide</systemitem></term>
  535. <listitem>
  536. <para>When set to True, this resource indicates that the vertical ScrollBar
  537. should be placed on the left side of the scrolled edit window. This attribute
  538. is ignored if <systemitem class="Resource">DtNscrollVertical</systemitem>
  539. is False. The default value may depend on the value of the <systemitem class="Resource">XmNstringDirection</systemitem> resource.</para>
  540. </listitem>
  541. </varlistentry>
  542. <varlistentry><term><systemitem class="Resource">DtNscrollTopSide</systemitem></term>
  543. <listitem>
  544. <para>When set to True, this resource indicates that the horizontal ScrollBar
  545. should be placed on the top side of the scrolled edit window. This attribute
  546. is ignored if <systemitem class="Resource">DtNscrollHorizontal</systemitem>
  547. is False.</para>
  548. </listitem>
  549. </varlistentry>
  550. <varlistentry><term><systemitem class="Resource">DtNscrollVertical</systemitem></term>
  551. <listitem>
  552. <para>When set to True, this resource adds a ScrollBar that allows the user
  553. to scroll vertically through text. <![ %CDE.C.CDE; [</Para>
  554. </ListItem>
  555. </VarListEntry>
  556. <VarListEntry>
  557. <Term><SystemItem Class="Resource">DtNshowStatusLine</SystemItem></Term>
  558. <ListItem>
  559. <Para>When set to True,
  560. the DtEditor widget displays a status line below the
  561. edit window.
  562. The status line contains a field
  563. that displays the current line number of the insert cursor, total
  564. number of lines in the document, and whether
  565. the DtEditor widget is in overstrike mode.
  566. The user can enter a line number in the
  567. line number display to go directly to that line.
  568. </Para>
  569. <Para>The status line also includes a Motif Text Field widget
  570. (XmTextField)
  571. for displaying application supplied messages.
  572. This field is a convenient way for an application to display status and
  573. feedback about the document being edited.
  574. The Text Field ID is retrieved using
  575. &cdeman.DtEditorGetMessageTextFieldID;. A message is displayed by
  576. setting the
  577. <SystemItem Class="Resource">XmNvalue</SystemItem> or
  578. <SystemItem Class="Resource">XmNvalueWcs</SystemItem> resource of this widget.
  579. If the Text field is not needed, it can be unmanaged by calling
  580. <Function>XtUnmanageWidget</Function>(3) with its ID.
  581. </Para>
  582. </ListItem>
  583. </VarListEntry>
  584. <VarListEntry>
  585. <Term><SystemItem Class="Resource">DtNspellFilter</SystemItem></Term>
  586. <ListItem>
  587. <Para>Specifies the filter used to identify spelling errors.
  588. The
  589. &cdeman.DtEditorInvokeSpellDialog; function filters the contents of a DtEditor widget
  590. through the filter specified by
  591. <SystemItem Class="Resource">DtNspellFilter</SystemItem>. The filter
  592. specified should accept a file name and produce a list of misspelled and
  593. unrecognized words in this file on standard out.
  594. The default filter is
  595. <Command>spell</Command>(1). ]]></para>
  596. </listitem>
  597. </varlistentry>
  598. <varlistentry><term><systemitem class="Resource">DtNtextBackground</systemitem></term>
  599. <listitem>
  600. <para>Specifies the background of the edit window and the text fields for
  601. DtEditor (the text fields appear in the <![ %CDE.C.CDE; [status line and
  602. ]]>DtEditor dialogs).</para>
  603. </listitem>
  604. </varlistentry>
  605. <varlistentry><term><systemitem class="Resource">DtNtextDeselectCallback</systemitem></term>
  606. <listitem>
  607. <para>Specifies a function called whenever the selection becomes <systemitem class="Constant">NULL</systemitem> (that is, no text is selected within the
  608. edit area). The reason sent by the callback is <systemitem class="Constant">DtEDITOR_TEXT_DESELECT</systemitem>.</para>
  609. </listitem>
  610. </varlistentry>
  611. <varlistentry><term><systemitem class="Resource">DtNtextFontList</systemitem></term>
  612. <listitem>
  613. <para>Specifies the font list used for the edit window and the text fields
  614. for DtEditor (the text fields appear in the <![ %CDE.C.CDE; [status line and
  615. ]]>DtEditor dialogs). If this value is <systemitem class="Constant">NULL</systemitem>
  616. at initialization, it is initialized by looking up the parent hierarchy of
  617. the widget for an ancestor that is a subclass of the <classname>XmBulletinBoard</classname> or <classname>VendorShell</classname> widget class. If such an
  618. ancestor is found, the font list is initialized to the <systemitem class="Resource">XmNtextFontList</systemitem> of the ancestor widget. If no such ancestor is
  619. found, the default is implementation dependent. <![ %CDE.C.CDE; [Refer to
  620. &cdeman.XmFontList; for more information on the creation and structure of a font list.
  621. ]]></para>
  622. </listitem>
  623. </varlistentry>
  624. <varlistentry><term><systemitem class="Resource">DtNtextForeground</systemitem></term>
  625. <listitem>
  626. <para>Specifies the foreground of the edit window and the text fields for
  627. DtEditor (the text fields appear in the <![ %CDE.C.CDE; [status line and
  628. ]]>DtEditor dialogs).</para>
  629. </listitem>
  630. </varlistentry>
  631. <varlistentry><term><systemitem class="Resource">DtNtextSelectCallback</systemitem></term>
  632. <listitem>
  633. <para>Specifies a function called whenever the selection becomes non-<systemitem class="Constant">NULL</systemitem> (that is, some text is selected within
  634. the edit area). The reason sent by the callback is <systemitem class="Constant">DtEDITOR_TEXT_SELECT</systemitem>.</para>
  635. </listitem>
  636. </varlistentry>
  637. <varlistentry><term><systemitem class="Resource">DtNtextTranslations</systemitem></term>
  638. <listitem>
  639. <para>Adds translations to the edit window. Translations specified with <systemitem class="Resource">DtNtextTranslations</systemitem> override any duplicate translations
  640. defined for the edit window.</para>
  641. </listitem>
  642. </varlistentry>
  643. <varlistentry><term><systemitem class="Resource">DtNtopCharacter</systemitem></term>
  644. <listitem>
  645. <para>Displays the line that contains the position of text at the top of the
  646. scrolled edit window. The line is displayed at the top of the DtEditor widget
  647. without shifting the text left or right. The position is determined by the
  648. number of characters from the beginning of the text. The first character position
  649. is zero.</para>
  650. <para><function>XtGetValues</function>(3) for <systemitem class="Resource">DtNtopCharacter</systemitem> returns the position of the first character in
  651. the line that is displayed at the top of the DtEditor widget.</para>
  652. </listitem>
  653. </varlistentry>
  654. <varlistentry><term><systemitem class="Resource">DtNwordWrap</systemitem></term>
  655. <listitem>
  656. <para>Indicates that text not go off the right edge of the window, but that
  657. lines are broken at word breaks with soft line feeds when they reach the right
  658. edge of the window.</para>
  659. <para>Word wrap affects only the visual appearance of the contents of a DtEditor
  660. widget. The line breaks (soft line feeds) are not physically inserted into
  661. the text. The DtEditor widget supports substituting <keysym>newline</keysym>s
  662. when the contents of the widget are retrieved or saved to a file (see &cdeman.DtEditorGetContents; and &cdeman.DtEditorSaveContentsToFile;).
  663. </para>
  664. </listitem>
  665. </varlistentry>
  666. </variablelist>
  667. </refsect2><![ %CDE.C.CDE; [<RefSect2>
  668. <Title>Localization Resources</Title>
  669. <Para>The following table defines a set of widget resources designed for
  670. localization of the DtEditor widget and its dialogs.
  671. Default values for these resources depends on the locale.
  672. </Para>
  673. <informaltable>
  674. <tgroup cols="5" colsep="0" rowsep="0">
  675. <?PubTbl tgroup dispwid="7.46in">
  676. <colspec align="left" colname="col1" colwidth="196*">
  677. <colspec align="left" colname="col2" colwidth="193*">
  678. <colspec align="left" colwidth="88*">
  679. <colspec align="left" colwidth="77*">
  680. <colspec align="left" colwidth="62*">
  681. <spanspec nameend="col2" namest="col1" spanname="1to2">
  682. <tbody>
  683. <row>
  684. <entry align="left" spanname="1to2" valign="top"><literal>DtEditor
  685. Localization Resource Set</literal></entry></row>
  686. <Row>
  687. <Entry><Literal>Name</Literal></Entry>
  688. <Entry><Literal>Class</Literal></Entry>
  689. <Entry><Literal>Type</Literal></Entry>
  690. <Entry><Literal>Default</Literal></Entry>
  691. <Entry><Literal>Access</Literal></Entry>
  692. </Row>
  693. <Row>
  694. <Entry><SystemItem Class="Resource">DtNcenterToggleLabel</SystemItem></Entry>
  695. <Entry><SystemItem Class="Resource">DtCCenterToggleLabel</SystemItem></Entry>
  696. <Entry><StructName Role="typedef">XmString</StructName></Entry>
  697. <Entry>Dynamic</Entry>
  698. <Entry>CSG</Entry>
  699. </Row>
  700. <Row>
  701. <Entry><SystemItem Class="Resource">DtNchangeAllButtonLabel</SystemItem></Entry>
  702. <Entry><SystemItem Class="Resource">DtCChangeAllButtonLabel</SystemItem></Entry>
  703. <Entry><StructName Role="typedef">XmString</StructName></Entry>
  704. <Entry>Dynamic</Entry>
  705. <Entry>CSG</Entry>
  706. </Row>
  707. <Row>
  708. <Entry><SystemItem Class="Resource">DtNchangeButtonLabel</SystemItem></Entry>
  709. <Entry><SystemItem Class="Resource">DtCChangeButtonLabel</SystemItem></Entry>
  710. <Entry><StructName Role="typedef">XmString</StructName></Entry>
  711. <Entry>Dynamic</Entry>
  712. <Entry>CSG</Entry>
  713. </Row>
  714. <Row>
  715. <Entry><SystemItem Class="Resource">DtNchangeFieldLabel</SystemItem></Entry>
  716. <Entry><SystemItem Class="Resource">DtCChangeFieldLabel</SystemItem></Entry>
  717. <Entry><StructName Role="typedef">XmString</StructName></Entry>
  718. <Entry>Dynamic</Entry>
  719. <Entry>CSG</Entry>
  720. </Row>
  721. <Row>
  722. <Entry><SystemItem Class="Resource">DtNcurrentLineLabel</SystemItem></Entry>
  723. <Entry><SystemItem Class="Resource">DtCCurrentLineLabel</SystemItem></Entry>
  724. <Entry><StructName Role="typedef">XmString</StructName></Entry>
  725. <Entry>Dynamic</Entry>
  726. <Entry>CSG</Entry>
  727. </Row>
  728. <Row>
  729. <Entry><SystemItem Class="Resource">DtNfindButtonLabel</SystemItem></Entry>
  730. <Entry><SystemItem Class="Resource">DtCFindButtonLabel</SystemItem></Entry>
  731. <Entry><StructName Role="typedef">XmString</StructName></Entry>
  732. <Entry>Dynamic</Entry>
  733. <Entry>CSG</Entry>
  734. </Row>
  735. <Row>
  736. <Entry><SystemItem Class="Resource">DtNfindChangeDialogTitle</SystemItem></Entry>
  737. <Entry><SystemItem Class="Resource">DtCFindChangeDialogTitle</SystemItem></Entry>
  738. <Entry><StructName Role="typedef">XmString</StructName></Entry>
  739. <Entry>Dynamic</Entry>
  740. <Entry>CSG</Entry>
  741. </Row>
  742. <Row>
  743. <Entry><SystemItem Class="Resource">DtNfindFieldLabel</SystemItem></Entry>
  744. <Entry><SystemItem Class="Resource">DtCFindFieldLabel</SystemItem></Entry>
  745. <Entry><StructName Role="typedef">XmString</StructName></Entry>
  746. <Entry>Dynamic</Entry>
  747. <Entry>CSG</Entry>
  748. </Row>
  749. <Row>
  750. <Entry><SystemItem Class="Resource">DtNformatAllButtonLabel</SystemItem></Entry>
  751. <Entry><SystemItem Class="Resource">DtCFormatAllButtonLabel</SystemItem></Entry>
  752. <Entry><StructName Role="typedef">XmString</StructName></Entry>
  753. <Entry>Dynamic</Entry>
  754. <Entry>CSG</Entry>
  755. </Row>
  756. <Row>
  757. <Entry><SystemItem Class="Resource">DtNformatParagraphButtonLabel</SystemItem></Entry>
  758. <Entry><SystemItem Class="Resource">DtCFormatParagraphButtonLabel</SystemItem></Entry>
  759. <Entry><StructName Role="typedef">XmString</StructName></Entry>
  760. <Entry>Dynamic</Entry>
  761. <Entry>CSG</Entry>
  762. </Row>
  763. <Row>
  764. <Entry><SystemItem Class="Resource">DtNformatSettingsDialogTitle</SystemItem></Entry>
  765. <Entry><SystemItem Class="Resource">DtCFormatSettingsDialogTitle</SystemItem></Entry>
  766. <Entry><StructName Role="typedef">XmString</StructName></Entry>
  767. <Entry>Dynamic</Entry>
  768. <Entry>CSG</Entry>
  769. </Row>
  770. <Row>
  771. <Entry><SystemItem Class="Resource">DtNinformationDialogTitle</SystemItem></Entry>
  772. <Entry><SystemItem Class="Resource">DtCInformationDialogTitle</SystemItem></Entry>
  773. <Entry><StructName Role="typedef">XmString</StructName></Entry>
  774. <Entry>Dynamic</Entry>
  775. <Entry>CSG</Entry>
  776. </Row>
  777. <Row>
  778. <Entry><SystemItem Class="Resource">DtNjustifyToggleLabel</SystemItem></Entry>
  779. <Entry><SystemItem Class="Resource">DtCJustifyToggleLabel</SystemItem></Entry>
  780. <Entry><StructName Role="typedef">XmString</StructName></Entry>
  781. <Entry>Dynamic</Entry>
  782. <Entry>CSG</Entry>
  783. </Row>
  784. <Row>
  785. <Entry><SystemItem Class="Resource">DtNleftAlignToggleLabel</SystemItem></Entry>
  786. <Entry><SystemItem Class="Resource">DtCLeftAlignToggleLabel</SystemItem></Entry>
  787. <Entry><StructName Role="typedef">XmString</StructName></Entry>
  788. <Entry>Dynamic</Entry>
  789. <Entry>CSG</Entry>
  790. </Row>
  791. <Row>
  792. <Entry><SystemItem Class="Resource">DtNleftMarginFieldLabel</SystemItem></Entry>
  793. <Entry><SystemItem Class="Resource">DtCLeftMarginFieldLabel</SystemItem></Entry>
  794. <Entry><StructName Role="typedef">XmString</StructName></Entry>
  795. <Entry>Dynamic</Entry>
  796. <Entry>CSG</Entry>
  797. </Row>
  798. <Row>
  799. <Entry><SystemItem Class="Resource">DtNmisspelledListLabel</SystemItem></Entry>
  800. <Entry><SystemItem Class="Resource">DtCMisspelledListLabel</SystemItem></Entry>
  801. <Entry><StructName Role="typedef">XmString</StructName></Entry>
  802. <Entry>Dynamic</Entry>
  803. <Entry>CSG</Entry>
  804. </Row>
  805. <Row>
  806. <Entry><SystemItem Class="Resource">DtNoverstrikeLabel</SystemItem></Entry>
  807. <Entry><SystemItem Class="Resource">DtCOverstrikeLabel</SystemItem></Entry>
  808. <Entry><StructName Role="typedef">XmString</StructName></Entry>
  809. <Entry>Dynamic</Entry>
  810. <Entry>CSG</Entry>
  811. </Row>
  812. <Row>
  813. <Entry><SystemItem Class="Resource">DtNrightAlignToggleLabel</SystemItem></Entry>
  814. <Entry><SystemItem Class="Resource">DtCRightAlignToggleLabel</SystemItem></Entry>
  815. <Entry><StructName Role="typedef">XmString</StructName></Entry>
  816. <Entry>Dynamic</Entry>
  817. <Entry>CSG</Entry>
  818. </Row>
  819. <Row>
  820. <Entry><SystemItem Class="Resource">DtNrightMarginFieldLabel</SystemItem></Entry>
  821. <Entry><SystemItem Class="Resource">DtCRightMarginFieldLabel</SystemItem></Entry>
  822. <Entry><StructName Role="typedef">XmString</StructName></Entry>
  823. <Entry>Dynamic</Entry>
  824. <Entry>CSG</Entry>
  825. </Row>
  826. <Row>
  827. <Entry><SystemItem Class="Resource">DtNspellDialogTitle</SystemItem></Entry>
  828. <Entry><SystemItem Class="Resource">DtCSpellDialogTitle</SystemItem></Entry>
  829. <Entry><StructName Role="typedef">XmString</StructName></Entry>
  830. <Entry>Dynamic</Entry>
  831. <Entry>CSG</Entry>
  832. </Row>
  833. <Row>
  834. <Entry><SystemItem Class="Resource">DtNtotalLineCountLabel</SystemItem></Entry>
  835. <Entry><SystemItem Class="Resource">DtCTotalLineCountLabel</SystemItem></Entry>
  836. <Entry><StructName Role="typedef">XmString</StructName></Entry>
  837. <Entry>Dynamic</Entry>
  838. <Entry>CSG</Entry>
  839. </Row>
  840. </TBody>
  841. </TGroup>
  842. </InformalTable>
  843. <VariableList>
  844. <VarListEntry>
  845. <Term><SystemItem Class="Resource">DtNcenterToggleLabel</SystemItem></Term>
  846. <ListItem>
  847. <Para>Specifies the label for the center alignment toggle button in the
  848. Format Settings dialog.
  849. The default value in the C locale is
  850. <Literal>Center</Literal>.</Para>
  851. </ListItem>
  852. </VarListEntry>
  853. <VarListEntry>
  854. <Term><SystemItem Class="Resource">DtNchangeAllButtonLabel</SystemItem></Term>
  855. <ListItem>
  856. <Para>Specifies the label for the button in the
  857. Find/Change and Spell dialogs that change all
  858. occurrences of the Find string in the document.
  859. The default value in the C locale is
  860. <Literal>Change All</Literal>.</Para>
  861. </ListItem>
  862. </VarListEntry>
  863. <VarListEntry>
  864. <Term><SystemItem Class="Resource">DtNchangeButtonLabel</SystemItem></Term>
  865. <ListItem>
  866. <Para>Specifies the label for the button in the
  867. Find/Change and Spell dialogs that change the next
  868. occurrence of the Find string in the document.
  869. The default value in the C locale is
  870. <Literal>Change</Literal>.</Para>
  871. </ListItem>
  872. </VarListEntry>
  873. <VarListEntry>
  874. <Term><SystemItem Class="Resource">DtNchangeFieldLabel</SystemItem></Term>
  875. <ListItem>
  876. <Para>Specifies the label for the field in the
  877. Find/Change dialog where the user specifies the
  878. replacement string.
  879. The default value in the C locale is
  880. <Literal>Change To:</Literal>.</Para>
  881. </ListItem>
  882. </VarListEntry>
  883. <VarListEntry>
  884. <Term><SystemItem Class="Resource">DtNcurrentLineLabel</SystemItem></Term>
  885. <ListItem>
  886. <Para>Specifies the label for the current line number field in the status line.
  887. The default value in the C locale is
  888. <Literal>Line:</Literal>.</Para>
  889. </ListItem>
  890. </VarListEntry>
  891. <VarListEntry>
  892. <Term><SystemItem Class="Resource">DtNfindButtonLabel</SystemItem></Term>
  893. <ListItem>
  894. <Para>Specifies the label for the button in the
  895. Find/Change dialog that finds the next occurrence
  896. of the Find string in the document.
  897. The default value in the C locale is
  898. <Literal>Find</Literal>.</Para>
  899. </ListItem>
  900. </VarListEntry>
  901. <VarListEntry>
  902. <Term><SystemItem Class="Resource">DtNfindChangeDialogTitle</SystemItem></Term>
  903. <ListItem>
  904. <Para>Specifies the title for the Find/Change dialog.
  905. If
  906. <SystemItem Class="Resource">DtNdialogTitle</SystemItem> is non-
  907. <SystemItem Class="Constant">NULL</SystemItem>, it is added as a prefix to this resource to form the title.
  908. The default value in the C locale is
  909. <Literal>Find/Change</Literal>.</Para>
  910. </ListItem>
  911. </VarListEntry>
  912. <VarListEntry>
  913. <Term><SystemItem Class="Resource">DtNfindFieldLabel</SystemItem></Term>
  914. <ListItem>
  915. <Para>Specifies the label for the field in the
  916. Find/Change dialog where the user specifies the
  917. search string.
  918. The default value in the C locale is
  919. <Literal>Find:</Literal>.</Para>
  920. </ListItem>
  921. </VarListEntry>
  922. <VarListEntry>
  923. <Term><SystemItem Class="Resource">DtNformatAllButtonLabel</SystemItem></Term>
  924. <ListItem>
  925. <Para>Specifies the label for the button in the
  926. Format Settings dialog that formats the complete document.
  927. The default value in the C locale is
  928. <Literal>All</Literal>.</Para>
  929. </ListItem>
  930. </VarListEntry>
  931. <VarListEntry>
  932. <Term><SystemItem Class="Resource">DtNformatParagraphButtonLabel</SystemItem></Term>
  933. <ListItem>
  934. <Para>Specifies the label for the button in the
  935. Format Settings dialog that formats the paragraph
  936. containing the insertion cursor.
  937. The default value in the C locale is
  938. <Literal>Paragraph</Literal>.</Para>
  939. </ListItem>
  940. </VarListEntry>
  941. <VarListEntry>
  942. <Term><SystemItem Class="Resource">DtNformatSettingsDialogTitle</SystemItem></Term>
  943. <ListItem>
  944. <Para>Specifies the title for the Format Settings dialog.
  945. If
  946. <SystemItem Class="Resource">DtNdialogTitle</SystemItem> is non-
  947. <SystemItem Class="Constant">NULL</SystemItem>, it is added as a prefix to this resource to form the title.
  948. The default value in the C locale is
  949. <Literal>Format Settings</Literal>.</Para>
  950. </ListItem>
  951. </VarListEntry>
  952. <VarListEntry>
  953. <Term><SystemItem Class="Resource">DtNinformationDialogTitle</SystemItem></Term>
  954. <ListItem>
  955. <Para>Specifies the title for the Information dialog used to present
  956. feedback and general information to the user.
  957. If
  958. <SystemItem Class="Resource">DtNdialogTitle</SystemItem> is non-
  959. <SystemItem Class="Constant">NULL</SystemItem>, it is added as a prefix to this resource to form the title.
  960. The default value in the C locale is
  961. <Literal>Information</Literal>.</Para>
  962. </ListItem>
  963. </VarListEntry>
  964. <VarListEntry>
  965. <Term><SystemItem Class="Resource">DtNjustifyToggleLabel</SystemItem></Term>
  966. <ListItem>
  967. <Para>Specifies the label for the justify alignment toggle button in the
  968. Format Settings dialog.
  969. The default value in the C locale is
  970. <Literal>Justify</Literal>.</Para>
  971. </ListItem>
  972. </VarListEntry>
  973. <VarListEntry>
  974. <Term><SystemItem Class="Resource">DtNleftAlignToggleLabel</SystemItem></Term>
  975. <ListItem>
  976. <Para>Specifies the label for the left alignment toggle button in the
  977. Format Settings dialog.
  978. The default value in the C locale is
  979. <Literal>Left Align</Literal>.</Para>
  980. </ListItem>
  981. </VarListEntry>
  982. <VarListEntry>
  983. <Term><SystemItem Class="Resource">DtNleftMarginFieldLabel</SystemItem></Term>
  984. <ListItem>
  985. <Para>Specifies the label for the left margin value field in the
  986. Format Settings dialog.
  987. The default value in the C locale is
  988. <Literal>Left Margin:</Literal>.</Para>
  989. </ListItem>
  990. </VarListEntry>
  991. <VarListEntry>
  992. <Term><SystemItem Class="Resource">DtNmisspelledListLabel</SystemItem></Term>
  993. <ListItem>
  994. <Para>Specifies the label for the list of unrecognized and misspelled
  995. words in the Spell dialog.
  996. The default value in the C locale is
  997. <Literal>Misspelled Words:</Literal>.</Para>
  998. </ListItem>
  999. </VarListEntry>
  1000. <VarListEntry>
  1001. <Term><SystemItem Class="Resource">DtNoverstrikeLabel</SystemItem></Term>
  1002. <ListItem>
  1003. <Para>Specifies the label in the status line that indicates
  1004. that the DtEditor widget is in overstrike mode.
  1005. The default value in the C locale is
  1006. <Literal>Overstrike</Literal>.</Para>
  1007. </ListItem>
  1008. </VarListEntry>
  1009. <VarListEntry>
  1010. <Term><SystemItem Class="Resource">DtNrightAlignToggleLabel</SystemItem></Term>
  1011. <ListItem>
  1012. <Para>Specifies the label for the right alignment toggle button in the
  1013. Format Settings dialog.
  1014. The default value in the C locale is
  1015. <Literal>Right Align</Literal>.</Para>
  1016. </ListItem>
  1017. </VarListEntry>
  1018. <VarListEntry>
  1019. <Term><SystemItem Class="Resource">DtNrightMarginFieldLabel</SystemItem></Term>
  1020. <ListItem>
  1021. <Para>Specifies the label for the right margin value field in the
  1022. Format Settings dialog.
  1023. The default value in the C locale is
  1024. <Literal>Right Margin:</Literal>.</Para>
  1025. </ListItem>
  1026. </VarListEntry>
  1027. <VarListEntry>
  1028. <Term><SystemItem Class="Resource">DtNspellDialogTitle</SystemItem></Term>
  1029. <ListItem>
  1030. <Para>Specifies the title for the Spell dialog.
  1031. If
  1032. <SystemItem Class="Resource">DtNdialogTitle</SystemItem> is non-
  1033. <SystemItem Class="Constant">NULL</SystemItem>, it is added as a prefix to this resource to form the title.
  1034. The default value in the C locale is
  1035. <Literal>Spell</Literal>.</Para>
  1036. </ListItem>
  1037. </VarListEntry>
  1038. <VarListEntry>
  1039. <Term><SystemItem Class="Resource">DtNtotalLineCountLabel</SystemItem></Term>
  1040. <ListItem>
  1041. <Para>Specifies the label for the display showing the total number of
  1042. lines in the document.
  1043. The total number of lines displayed is part of the status line.
  1044. The default value in the C locale is
  1045. <Literal>Total:</Literal>.</Para>
  1046. </ListItem>
  1047. </VarListEntry>
  1048. </VariableList>
  1049. </RefSect2>
  1050. ]]><![ %CDE.C.XO; [<refsect2>
  1051. <title>Localization Resources</title>
  1052. <para>The following table defines a set of widget resources designed for localization
  1053. of the DtEditor widget and its dialogs. Default values for these resources
  1054. depends on the locale.</para>
  1055. <informaltable>
  1056. <tgroup cols="5" colsep="0" rowsep="0">
  1057. <?PubTbl tgroup dispwid="7.85in">
  1058. <colspec align="left" colname="col1" colwidth="197*">
  1059. <colspec align="left" colname="col2" colwidth="241*">
  1060. <colspec align="left" colwidth="60*">
  1061. <colspec align="left" colwidth="80*">
  1062. <colspec align="left" colwidth="70*">
  1063. <spanspec nameend="col2" namest="col1" spanname="1to2">
  1064. <tbody>
  1065. <row>
  1066. <entry align="left" spanname="1to2" valign="top"><literal>DtEditor Localization
  1067. Resource Set</literal></entry></row>
  1068. <row>
  1069. <entry align="left" valign="top"><literal>Name</literal></entry>
  1070. <entry align="left" valign="top"><literal>Class</literal></entry>
  1071. <entry align="left" valign="top"><literal>Type</literal></entry>
  1072. <entry align="left" valign="top"><literal>Default</literal></entry>
  1073. <entry align="left" valign="top"><literal>Access</literal></entry></row>
  1074. <row>
  1075. <entry align="left" valign="top"><systemitem class="Resource">DtNfindChangeDialogTitle</systemitem></entry>
  1076. <entry align="left" valign="top"><systemitem class="Resource">DtCFindChangeDialogTitle</systemitem></entry>
  1077. <entry align="left" valign="top"><structname role="typedef">XmString</structname></entry>
  1078. <entry align="left" valign="top">Dynamic</entry>
  1079. <entry align="left" valign="top">CSG</entry></row>
  1080. <row>
  1081. <entry align="left" valign="top"><systemitem class="Resource">DtNformatSettingsDialogTitle</systemitem></entry>
  1082. <entry align="left" valign="top"><systemitem class="Resource">DtCFormatSettingsDialogTitle</systemitem></entry>
  1083. <entry align="left" valign="top"><structname role="typedef">XmString</structname></entry>
  1084. <entry align="left" valign="top">Dynamic</entry>
  1085. <entry align="left" valign="top">CSG</entry></row>
  1086. <row>
  1087. <entry align="left" valign="top"><systemitem class="Resource">DtNinformationDialogTitle</systemitem></entry>
  1088. <entry align="left" valign="top"><systemitem class="Resource">DtCInformationDialogTitle</systemitem></entry>
  1089. <entry align="left" valign="top"><structname role="typedef">XmString</structname></entry>
  1090. <entry align="left" valign="top">Dynamic</entry>
  1091. <entry align="left" valign="top">CSG</entry></row></tbody></tgroup></informaltable>
  1092. <variablelist>
  1093. <varlistentry><term><systemitem class="Resource">DtNfindChangeDialogTitle</systemitem></term>
  1094. <listitem>
  1095. <para>Specifies the title for the Find/Change dialog. If <systemitem class="Resource">DtNdialogTitle</systemitem> is non-<systemitem class="Constant">NULL</systemitem>,
  1096. it is added as a prefix to this resource to form the title. The default value
  1097. in the C locale is <literal>Find/Change</literal>.</para>
  1098. </listitem>
  1099. </varlistentry>
  1100. <varlistentry><term><systemitem class="Resource">DtNformatSettingsDialogTitle</systemitem></term>
  1101. <listitem>
  1102. <para>Specifies the title for the Format Settings dialog. If <systemitem class="Resource">DtNdialogTitle</systemitem> is non-<systemitem class="Constant">NULL</systemitem>,
  1103. it is added as a prefix to this resource to form the title. The default value
  1104. in the C locale is <literal>Format Settings</literal>.</para>
  1105. </listitem>
  1106. </varlistentry>
  1107. <varlistentry><term><systemitem class="Resource">DtNinformationDialogTitle</systemitem></term>
  1108. <listitem>
  1109. <para>Specifies the title for the Information dialog used to present feedback
  1110. and general information to the user. If <systemitem class="Resource">DtNdialogTitle</systemitem> is non-<systemitem class="Constant">NULL</systemitem>, it is
  1111. added as a prefix to this resource to form the title. The default value in
  1112. the C locale is <literal>Information</literal>.</para>
  1113. </listitem>
  1114. </varlistentry>
  1115. </variablelist>
  1116. </refsect2>]]>
  1117. <refsect2>
  1118. <title>Inherited Resources</title>
  1119. <para>The DtEditor widget inherits behavior and resources from the following
  1120. named superclasses. For a complete description of each resource, see the <![ %CDE.C.CDE; [man page
  1121. ]]><![ %CDE.C.XO; [entry in &str-ZM; ]]>for that superclass.</para>
  1122. <informaltable>
  1123. <tgroup cols="5" colsep="0" rowsep="0">
  1124. <?PubTbl tgroup dispwid="7.60in">
  1125. <colspec align="left" colname="col1" colwidth="197*">
  1126. <colspec align="left" colname="col2" colwidth="202*">
  1127. <colspec align="left" colwidth="74*">
  1128. <colspec align="left" colwidth="83*">
  1129. <colspec align="left" colwidth="71*">
  1130. <spanspec nameend="col2" namest="col1" spanname="1to2">
  1131. <tbody>
  1132. <row>
  1133. <entry align="left" spanname="1to2" valign="top"><literal>XmForm Resource
  1134. Set</literal></entry></row>
  1135. <row>
  1136. <entry align="left" valign="top"><literal>Name</literal></entry>
  1137. <entry align="left" valign="top"><literal>Class</literal></entry>
  1138. <entry align="left" valign="top"><literal>Type</literal></entry>
  1139. <entry align="left" valign="top"><literal>Default</literal></entry>
  1140. <entry align="left" valign="top"><literal>Access</literal></entry></row>
  1141. <row>
  1142. <entry align="left" valign="top"><systemitem class="Resource">XmNfractionBase</systemitem></entry>
  1143. <entry align="left" valign="top"><systemitem class="Resource">XmCMaxValue</systemitem></entry>
  1144. <entry align="left" valign="top"><StructName Role="typedef">int</StructName></entry>
  1145. <entry align="left" valign="top">100</entry>
  1146. <entry align="left" valign="top">CSG</entry></row>
  1147. <row>
  1148. <entry align="left" valign="top"><systemitem class="Resource">XmNhorizontalSpacing</systemitem></entry>
  1149. <entry align="left" valign="top"><systemitem class="Resource">XmCSpacing</systemitem></entry>
  1150. <entry align="left" valign="top"><structname role="typedef">Dimension</structname></entry>
  1151. <entry align="left" valign="top">0</entry>
  1152. <entry align="left" valign="top">CSG</entry></row>
  1153. <row>
  1154. <entry align="left" valign="top"><systemitem class="Resource">XmNrubberPositioning</systemitem></entry>
  1155. <entry align="left" valign="top"><systemitem class="Resource">XmCRubberPositioning</systemitem></entry>
  1156. <entry align="left" valign="top"><structname role="typedef">Boolean</structname></entry>
  1157. <entry align="left" valign="top">False</entry>
  1158. <entry align="left" valign="top">CSG</entry></row>
  1159. <row>
  1160. <entry align="left" valign="top"><systemitem class="Resource">XmNverticalSpacing</systemitem></entry>
  1161. <entry align="left" valign="top"><systemitem class="Resource">XmCSpacing</systemitem></entry>
  1162. <entry align="left" valign="top"><structname role="typedef">Dimension</structname></entry>
  1163. <entry align="left" valign="top">0</entry>
  1164. <entry align="left" valign="top">CSG</entry></row></tbody></tgroup></informaltable>
  1165. <informaltable>
  1166. <tgroup cols="5" colsep="0" rowsep="0">
  1167. <?PubTbl tgroup dispwid="7.73in">
  1168. <colspec align="left" colname="col1" colwidth="191*">
  1169. <colspec align="left" colname="col2" colwidth="183*">
  1170. <colspec align="left" colwidth="99*">
  1171. <colspec align="left" colwidth="86*">
  1172. <colspec align="left" colwidth="79*">
  1173. <spanspec nameend="col2" namest="col1" spanname="1to2">
  1174. <tbody>
  1175. <row>
  1176. <entry align="left" spanname="1to2" valign="top"><literal>XmBulletinBoard
  1177. Resource Set</literal></entry></row>
  1178. <row>
  1179. <entry align="left" valign="top"><literal>Name</literal></entry>
  1180. <entry align="left" valign="top"><literal>Class</literal></entry>
  1181. <entry align="left" valign="top"><literal>Type</literal></entry>
  1182. <entry align="left" valign="top"><literal>Default</literal></entry>
  1183. <entry align="left" valign="top"><literal>Access</literal></entry></row>
  1184. <row>
  1185. <entry align="left" valign="top"><systemitem class="Resource">XmNallowOverlap</systemitem></entry>
  1186. <entry align="left" valign="top"><systemitem class="Resource">XmCAllowOverlap</systemitem></entry>
  1187. <entry align="left" valign="top"><structname role="typedef">Boolean</structname></entry>
  1188. <entry align="left" valign="top">True</entry>
  1189. <entry align="left" valign="top">CSG</entry></row>
  1190. <row>
  1191. <entry align="left" valign="top"><systemitem class="Resource">XmNautoUnmanage</systemitem></entry>
  1192. <entry align="left" valign="top"><systemitem class="Resource">XmCAutoUnmanage</systemitem></entry>
  1193. <entry align="left" valign="top"><structname role="typedef">Boolean</structname></entry>
  1194. <entry align="left" valign="top">True</entry>
  1195. <entry align="left" valign="top">CG</entry></row>
  1196. <row>
  1197. <entry align="left" valign="top"><systemitem class="Resource">XmNbuttonFontList</systemitem></entry>
  1198. <entry align="left" valign="top"><systemitem class="Resource">XmCButtonFontList</systemitem></entry>
  1199. <entry align="left" valign="top"><structname role="typedef">XmFontList</structname></entry>
  1200. <entry align="left" valign="top">dynamic</entry>
  1201. <entry align="left" valign="top">CSG</entry></row>
  1202. <row>
  1203. <entry align="left" valign="top"><systemitem class="Resource">XmNcancelButton</systemitem></entry>
  1204. <entry align="left" valign="top"><systemitem class="Resource">XmCWidget</systemitem></entry>
  1205. <entry align="left" valign="top"><structname role="typedef">Window</structname></entry>
  1206. <entry align="left" valign="top">NULL</entry>
  1207. <entry align="left" valign="top">SG</entry></row>
  1208. <row>
  1209. <entry align="left" valign="top"><systemitem class="Resource">XmNdefaultButton</systemitem></entry>
  1210. <entry align="left" valign="top"><systemitem class="Resource">XmCWidget</systemitem></entry>
  1211. <entry align="left" valign="top"><structname role="typedef">Window</structname></entry>
  1212. <entry align="left" valign="top">SG</entry></row>
  1213. <row>
  1214. <entry align="left" valign="top"><systemitem class="Resource">XmNdefaultPosition</systemitem></entry>
  1215. <entry align="left" valign="top"><systemitem class="Resource">XmCDefaultPosition</systemitem></entry>
  1216. <entry align="left" valign="top"><structname role="typedef">Boolean</structname></entry>
  1217. <entry align="left" valign="top">True</entry>
  1218. <entry align="left" valign="top">CSG</entry></row>
  1219. <row>
  1220. <entry align="left" valign="top"><systemitem class="Resource">XmNdialogStyle</systemitem></entry>
  1221. <entry align="left" valign="top"><systemitem class="Resource">XmCDialogStyle</systemitem></entry>
  1222. <entry align="left" valign="top"><StructName Role="typedef">unsigned char</StructName></entry>
  1223. <entry align="left" valign="top">dynamic</entry>
  1224. <entry align="left" valign="top">CSG</entry></row>
  1225. <row>
  1226. <entry align="left" valign="top"><systemitem class="Resource">XmNdialogTitle</systemitem></entry>
  1227. <entry align="left" valign="top"><systemitem class="Resource">XmCDialogTitle</systemitem></entry>
  1228. <entry align="left" valign="top"><structname role="typedef">XmString</structname></entry>
  1229. <entry align="left" valign="top">NULL</entry>
  1230. <entry align="left" valign="top">CSG</entry></row>
  1231. <row>
  1232. <entry align="left" valign="top"><systemitem class="Resource">XmNfocusCallback</systemitem></entry>
  1233. <entry align="left" valign="top"><systemitem class="Resource">XmCCallback</systemitem></entry>
  1234. <entry align="left" valign="top"><structname role="typedef">XtCallbackList</structname></entry>
  1235. <entry align="left" valign="top">NULL</entry>
  1236. <entry align="left" valign="top">C</entry></row>
  1237. <row>
  1238. <entry align="left" valign="top"><systemitem class="Resource">XmNlabelFontList</systemitem></entry>
  1239. <entry align="left" valign="top"><Symbol>XmCLabelFontListk</Symbol></entry>
  1240. <entry align="left" valign="top"><structname role="typedef">XmFontList</structname></entry>
  1241. <entry align="left" valign="top">dynamic</entry>
  1242. <entry align="left" valign="top">CSG</entry></row>
  1243. <row>
  1244. <entry align="left" valign="top"><systemitem class="Resource">XmNmapCallback</systemitem></entry>
  1245. <entry align="left" valign="top"><systemitem class="Resource">XmCCallback</systemitem></entry>
  1246. <entry align="left" valign="top"><structname role="typedef">XtCallbackList</structname></entry>
  1247. <entry align="left" valign="top">NULL</entry>
  1248. <entry align="left" valign="top">C</entry></row>
  1249. <row>
  1250. <entry align="left" valign="top"><systemitem class="Resource">XmNmarginHeight</systemitem></entry>
  1251. <entry align="left" valign="top"><systemitem class="Resource">XmCMarginHeight</systemitem></entry>
  1252. <entry align="left" valign="top"><structname role="typedef">Dimension</structname></entry>
  1253. <entry align="left" valign="top">10</entry>
  1254. <entry align="left" valign="top">CSG</entry></row>
  1255. <row>
  1256. <entry align="left" valign="top"><systemitem class="Resource">XmNmarginWidth</systemitem></entry>
  1257. <entry align="left" valign="top"><systemitem class="Resource">XmCMarginWidth</systemitem></entry>
  1258. <entry align="left" valign="top"><structname role="typedef">Dimension</structname></entry>
  1259. <entry align="left" valign="top">10</entry>
  1260. <entry align="left" valign="top">CSG</entry></row>
  1261. <row>
  1262. <entry align="left" valign="top"><systemitem class="Resource">XmNnoResize</systemitem></entry>
  1263. <entry align="left" valign="top"><systemitem class="Resource">XmCNoResize</systemitem></entry>
  1264. <entry align="left" valign="top"><structname role="typedef">Boolean</structname></entry>
  1265. <entry align="left" valign="top">False</entry>
  1266. <entry align="left" valign="top">CSG</entry></row>
  1267. <row>
  1268. <entry align="left" valign="top"><systemitem class="Resource">XmNresizePolicy</systemitem></entry>
  1269. <entry align="left" valign="top"><systemitem class="Resource">XmCResizePolicy</systemitem></entry>
  1270. <entry align="left" valign="top"><StructName Role="typedef">unsigned char</StructName></entry>
  1271. <entry align="left" valign="top">XmRESIZE_ANY</entry>
  1272. <entry align="left" valign="top">CSG</entry></row>
  1273. <row>
  1274. <entry align="left" valign="top"><systemitem class="Resource">XmNshadowType</systemitem></entry>
  1275. <entry align="left" valign="top"><systemitem class="Resource">XmCShadowType</systemitem></entry>
  1276. <entry align="left" valign="top"><StructName Role="typedef">unsigned char</StructName></entry>
  1277. <entry align="left" valign="top">XmSHADOW_OUT</entry>
  1278. <entry align="left" valign="top">CSG</entry></row>
  1279. <row>
  1280. <entry align="left" valign="top"><systemitem class="Resource">XmNtextFontList</systemitem></entry>
  1281. <entry align="left" valign="top"><systemitem class="Resource">XmCTextFontList</systemitem></entry>
  1282. <entry align="left" valign="top"><structname role="typedef">XmFontList</structname></entry>
  1283. <entry align="left" valign="top">dynamic</entry>
  1284. <entry align="left" valign="top">CSG</entry></row>
  1285. <row>
  1286. <entry align="left" valign="top"><systemitem class="Resource">XmNtextTranslations</systemitem></entry>
  1287. <entry align="left" valign="top"><systemitem class="Resource">XmCTranslations</systemitem></entry>
  1288. <entry align="left" valign="top"><structname role="typedef">XtTranslations</structname></entry>
  1289. <entry align="left" valign="top">NULL</entry>
  1290. <entry align="left" valign="top">C</entry></row>
  1291. <row>
  1292. <entry align="left" valign="top"><systemitem class="Resource">XmNunmapCallback</systemitem></entry>
  1293. <entry align="left" valign="top"><systemitem class="Resource">XmCCallback</systemitem></entry>
  1294. <entry align="left" valign="top"><structname role="typedef">XtCallbackList</structname></entry>
  1295. <entry align="left" valign="top">NULL</entry>
  1296. <entry align="left" valign="top">C</entry></row></tbody></tgroup></informaltable>
  1297. <informaltable>
  1298. <tgroup cols="5" colsep="0" rowsep="0">
  1299. <?PubTbl tgroup dispwid="7.82in">
  1300. <colspec align="left" colname="col1" colwidth="197*">
  1301. <colspec align="left" colname="col2" colwidth="194*">
  1302. <colspec align="left" colwidth="88*">
  1303. <colspec align="left" colwidth="89*">
  1304. <colspec align="left" colwidth="78*">
  1305. <spanspec nameend="col2" namest="col1" spanname="1to2">
  1306. <tbody>
  1307. <row>
  1308. <entry align="left" spanname="1to2" valign="top"><literal>XmManager Resource
  1309. Set</literal></entry></row>
  1310. <row>
  1311. <entry align="left" valign="top"><literal>Name</literal></entry>
  1312. <entry align="left" valign="top"><literal>Class</literal></entry>
  1313. <entry align="left" valign="top"><literal>Type</literal></entry>
  1314. <entry align="left" valign="top"><literal>Default</literal></entry>
  1315. <entry align="left" valign="top"><literal>Access</literal></entry></row>
  1316. <row>
  1317. <entry align="left" valign="top"><systemitem class="Resource">XmNbottomShadowColor</systemitem></entry>
  1318. <entry align="left" valign="top"><systemitem class="Resource">XmCBottomShadowColor</systemitem></entry>
  1319. <entry align="left" valign="top"><structname role="typedef">Pixel</structname></entry>
  1320. <entry align="left" valign="top">dynamic</entry>
  1321. <entry align="left" valign="top">CSG</entry></row>
  1322. <row>
  1323. <entry align="left" valign="top"><systemitem class="Resource">XmNbottomShadowPixmap</systemitem></entry>
  1324. <entry align="left" valign="top"><systemitem class="Resource">XmCBottomShadowPixmap</systemitem></entry>
  1325. <entry align="left" valign="top"><structname role="typedef">Pixmap</structname></entry>
  1326. <entry align="left" valign="top"><systemitem class="Constant">XmUNSPECIFIED_PIXMAP</systemitem></entry>
  1327. <entry align="left" valign="top">CSG</entry></row>
  1328. <row>
  1329. <entry align="left" valign="top"><systemitem class="Resource">XmNforeground</systemitem></entry>
  1330. <entry align="left" valign="top"><systemitem class="Resource">XmCForeground</systemitem></entry>
  1331. <entry align="left" valign="top"><structname role="typedef">Pixel</structname></entry>
  1332. <entry align="left" valign="top">dynamic</entry>
  1333. <entry align="left" valign="top">CSG</entry></row>
  1334. <row>
  1335. <entry align="left" valign="top"><systemitem class="Resource">XmNhelpCallback</systemitem></entry>
  1336. <entry align="left" valign="top"><systemitem class="Resource">XmCCallback</systemitem></entry>
  1337. <entry align="left" valign="top"><structname role="typedef">XtCallbackList</structname></entry>
  1338. <entry align="left" valign="top">NULL</entry>
  1339. <entry align="left" valign="top">C</entry></row>
  1340. <row>
  1341. <entry align="left" valign="top"><systemitem class="Resource">XmNhighlightColor</systemitem></entry>
  1342. <entry align="left" valign="top"><systemitem class="Resource">XmCHighlightColor</systemitem></entry>
  1343. <entry align="left" valign="top"><structname role="typedef">Pixel</structname></entry>
  1344. <entry align="left" valign="top">dynamic</entry>
  1345. <entry align="left" valign="top">CSG</entry></row>
  1346. <row>
  1347. <entry align="left" valign="top"><systemitem class="Resource">XmNhighlightPixmap</systemitem></entry>
  1348. <entry align="left" valign="top"><systemitem class="Resource">XmCHighlightPixmap</systemitem></entry>
  1349. <entry align="left" valign="top"><structname role="typedef">Pixmap</structname></entry>
  1350. <entry align="left" valign="top">dynamic</entry>
  1351. <entry align="left" valign="top">CSG</entry></row>
  1352. <row>
  1353. <entry align="left" valign="top"><systemitem class="Resource">XmNinitialFocus</systemitem></entry>
  1354. <entry align="left" valign="top"><systemitem class="Resource">XmCInitialFocus</systemitem></entry>
  1355. <entry align="left" valign="top"><structname role="typedef">Widget</structname></entry>
  1356. <entry align="left" valign="top">NULL</entry>
  1357. <entry align="left" valign="top">CSG</entry></row>
  1358. <row>
  1359. <entry align="left" valign="top"><systemitem class="Resource">XmNnavigationType</systemitem></entry>
  1360. <entry align="left" valign="top"><systemitem class="Resource">XmCNavigationType</systemitem></entry>
  1361. <entry align="left" valign="top"><structname role="typedef">XmNavigationType</structname></entry>
  1362. <entry align="left" valign="top">dynamic</entry>
  1363. <entry align="left" valign="top">CSG</entry></row>
  1364. <row>
  1365. <entry align="left" valign="top"><systemitem class="Resource">XmNshadowThickness</systemitem></entry>
  1366. <entry align="left" valign="top"><systemitem class="Resource">XmCShadowThickness</systemitem></entry>
  1367. <entry align="left" valign="top"><structname role="typedef">Dimension</structname></entry>
  1368. <entry align="left" valign="top">dynamic</entry>
  1369. <entry align="left" valign="top">CSG</entry></row>
  1370. <row>
  1371. <entry align="left" valign="top"><systemitem class="Resource">XmNstringDirection</systemitem></entry>
  1372. <entry align="left" valign="top"><systemitem class="Resource">XmCStringDirection</systemitem></entry>
  1373. <entry align="left" valign="top"><structname role="typedef">XmStringDynamic</structname></entry>
  1374. <entry align="left" valign="top">dynamic</entry>
  1375. <entry align="left" valign="top">CG</entry></row>
  1376. <row>
  1377. <entry align="left" valign="top"><systemitem class="Resource">XmNtopShadowColor</systemitem></entry>
  1378. <entry align="left" valign="top"><systemitem class="Resource">XmCTopShadowColor</systemitem></entry>
  1379. <entry align="left" valign="top"><structname role="typedef">Pixel</structname></entry>
  1380. <entry align="left" valign="top">dynamic</entry>
  1381. <entry align="left" valign="top">CSG</entry></row>
  1382. <row>
  1383. <entry align="left" valign="top"><systemitem class="Resource">XmNtopShadowPixmap</systemitem></entry>
  1384. <entry align="left" valign="top"><systemitem class="Resource">XmCTopShadowPixmap</systemitem></entry>
  1385. <entry align="left" valign="top"><structname role="typedef">Pixmap</structname></entry>
  1386. <entry align="left" valign="top">dynamic</entry>
  1387. <entry align="left" valign="top">CSG</entry></row>
  1388. <row>
  1389. <entry align="left" valign="top"><systemitem class="Resource">XmNtraversalOn</systemitem></entry>
  1390. <entry align="left" valign="top"><systemitem class="Resource">XmCTraversalOn</systemitem></entry>
  1391. <entry align="left" valign="top"><structname role="typedef">Boolean</structname></entry>
  1392. <entry align="left" valign="top">dynamic</entry>
  1393. <entry align="left" valign="top">CSG</entry></row>
  1394. <row>
  1395. <entry align="left" valign="top"><systemitem class="Resource">XmNunitType</systemitem></entry>
  1396. <entry align="left" valign="top"><systemitem class="Resource">XmCUnitType</systemitem></entry>
  1397. <entry align="left" valign="top"><StructName Role="typedef">unsigned char</StructName></entry>
  1398. <entry align="left" valign="top">dynamic</entry>
  1399. <entry align="left" valign="top">CSG</entry></row>
  1400. <row>
  1401. <entry align="left" valign="top"><systemitem class="Resource">XmNuserData</systemitem></entry>
  1402. <entry align="left" valign="top"><systemitem class="Resource">XmCUserData</systemitem></entry>
  1403. <entry align="left" valign="top"><structname role="typedef">XtPointer</structname></entry>
  1404. <entry align="left" valign="top">NULL</entry>
  1405. <entry align="left" valign="top">CSG</entry></row></tbody></tgroup></informaltable>
  1406. <informaltable>
  1407. <tgroup cols="5" colsep="0" rowsep="0">
  1408. <?PubTbl tgroup dispwid="7.46in">
  1409. <colspec align="left" colname="col1" colwidth="174*">
  1410. <colspec align="left" colname="col2" colwidth="175*">
  1411. <colspec align="left" colwidth="79*">
  1412. <colspec align="left" colwidth="109*">
  1413. <colspec align="left" colwidth="82*">
  1414. <spanspec nameend="col2" namest="col1" spanname="1to2">
  1415. <tbody>
  1416. <row>
  1417. <entry align="left" spanname="1to2" valign="top"><literal>Composite Resource
  1418. Set</literal></entry></row>
  1419. <row>
  1420. <entry align="left" valign="top"><literal>Name</literal></entry>
  1421. <entry align="left" valign="top"><literal>Class</literal></entry>
  1422. <entry align="left" valign="top"><literal>Type</literal></entry>
  1423. <entry align="left" valign="top"><literal>Default</literal></entry>
  1424. <entry align="left" valign="top"><literal>Access</literal></entry></row>
  1425. <row>
  1426. <entry align="left" valign="top"><systemitem class="Resource">XmNchildren</systemitem></entry>
  1427. <entry align="left" valign="top"><systemitem class="Resource">XmCReadOnly</systemitem></entry>
  1428. <entry align="left" valign="top"><structname role="typedef">WidgetList</structname></entry>
  1429. <entry align="left" valign="top">NULL</entry>
  1430. <entry align="left" valign="top">G</entry></row>
  1431. <row>
  1432. <entry align="left" valign="top"><systemitem class="Resource">XmNinsertPosition</systemitem></entry>
  1433. <entry align="left" valign="top"><systemitem class="Resource">XmCInsertPosition</systemitem></entry>
  1434. <entry align="left" valign="top"><structname role="typedef">XtOrderProc</structname></entry>
  1435. <entry align="left" valign="top">default procedure</entry>
  1436. <entry align="left" valign="top">CSG</entry></row>
  1437. <row>
  1438. <entry align="left" valign="top"><systemitem class="Resource">XmNnumChildren</systemitem></entry>
  1439. <entry align="left" valign="top"><systemitem class="Resource">XmCReadOnly</systemitem></entry>
  1440. <entry align="left" valign="top"><structname role="typedef">Cardinal</structname></entry>
  1441. <entry align="left" valign="top">0</entry>
  1442. <entry align="left" valign="top">G</entry></row></tbody></tgroup></informaltable>
  1443. <informaltable>
  1444. <tgroup cols="5" colsep="0" rowsep="0">
  1445. <?PubTbl tgroup dispwid="7.91in">
  1446. <colspec align="left" colname="col1" colwidth="197*">
  1447. <colspec align="left" colname="col2" colwidth="192*">
  1448. <colspec align="left" colwidth="90*">
  1449. <colspec align="left" colwidth="97*">
  1450. <colspec align="left" colwidth="77*">
  1451. <spanspec nameend="col2" namest="col1" spanname="1to2">
  1452. <tbody>
  1453. <row>
  1454. <entry align="left" spanname="1to2" valign="top"><literal>Core Resource Set</literal></entry></row>
  1455. <row>
  1456. <entry align="left" valign="top"><literal>Name</literal></entry>
  1457. <entry align="left" valign="top"><literal>Class</literal></entry>
  1458. <entry align="left" valign="top"><literal>Type</literal></entry>
  1459. <entry align="left" valign="top"><literal>Default</literal></entry>
  1460. <entry align="left" valign="top"><literal>Access</literal></entry></row>
  1461. <row>
  1462. <entry align="left" valign="top"><systemitem class="Resource">XmNaccelerators</systemitem></entry>
  1463. <entry align="left" valign="top"><systemitem class="Resource">XmCAccelerators</systemitem></entry>
  1464. <entry align="left" valign="top"><structname role="typedef">XtAccelerators</structname></entry>
  1465. <entry align="left" valign="top">dynamic</entry>
  1466. <entry align="left" valign="top">CSG</entry></row>
  1467. <row>
  1468. <entry align="left" valign="top"><systemitem class="Resource">XmNancestorSensitive</systemitem></entry>
  1469. <entry align="left" valign="top"><systemitem class="Resource">XmCSensitive</systemitem></entry>
  1470. <entry align="left" valign="top"><structname role="typedef">Boolean</structname></entry>
  1471. <entry align="left" valign="top">dynamic</entry>
  1472. <entry align="left" valign="top">G</entry></row>
  1473. <row>
  1474. <entry align="left" valign="top"><systemitem class="Resource">XmNbackground</systemitem></entry>
  1475. <entry align="left" valign="top"><systemitem class="Resource">XmCBackground</systemitem></entry>
  1476. <entry align="left" valign="top"><structname role="typedef">Pixel</structname></entry>
  1477. <entry align="left" valign="top">dynamic</entry>
  1478. <entry align="left" valign="top">CSG</entry></row>
  1479. <row>
  1480. <entry align="left" valign="top"><systemitem class="Resource">XmNbackgroundPixmap</systemitem></entry>
  1481. <entry align="left" valign="top"><systemitem class="Resource">XmCPixmap</systemitem></entry>
  1482. <entry align="left" valign="top"><structname role="typedef">Pixmap</structname></entry>
  1483. <entry align="left" valign="top"><systemitem class="Constant">XmUNSPECIFIED_PIXMAP</systemitem></entry>
  1484. <entry align="left" valign="top">CSG</entry></row>
  1485. <row>
  1486. <entry align="left" valign="top"><systemitem class="Resource">XmNborderColor</systemitem></entry>
  1487. <entry align="left" valign="top"><systemitem class="Resource">XmCBorderColor</systemitem></entry>
  1488. <entry align="left" valign="top"><structname role="typedef">Pixel</structname></entry>
  1489. <entry align="left" valign="top">XtDefaultForeground</entry>
  1490. <entry align="left" valign="top">CSG</entry></row>
  1491. <row>
  1492. <entry align="left" valign="top"><systemitem class="Resource">XmNborderPixmap</systemitem></entry>
  1493. <entry align="left" valign="top"><systemitem class="Resource">XmCPixmap</systemitem></entry>
  1494. <entry align="left" valign="top"><structname role="typedef">Pixmap</structname></entry>
  1495. <entry align="left" valign="top"><systemitem class="Constant">XmUNSPECIFIED_PIXMAP</systemitem></entry>
  1496. <entry align="left" valign="top">CSG</entry></row>
  1497. <row>
  1498. <entry align="left" valign="top"><systemitem class="Resource">XmNborderWidth</systemitem></entry>
  1499. <entry align="left" valign="top"><systemitem class="Resource">XmCBorderWidth</systemitem></entry>
  1500. <entry align="left" valign="top"><structname role="typedef">Dimension</structname></entry>
  1501. <entry align="left" valign="top">0</entry>
  1502. <entry align="left" valign="top">CSG</entry></row>
  1503. <row>
  1504. <entry align="left" valign="top"><systemitem class="Resource">XmNcolormap</systemitem></entry>
  1505. <entry align="left" valign="top"><systemitem class="Resource">XmCColormap</systemitem></entry>
  1506. <entry align="left" valign="top"><structname role="typedef">Colormap</structname></entry>
  1507. <entry align="left" valign="top">dynamic</entry>
  1508. <entry align="left" valign="top">CG</entry></row>
  1509. <row>
  1510. <entry align="left" valign="top"><systemitem class="Resource">XmNdepth</systemitem></entry>
  1511. <entry align="left" valign="top"><systemitem class="Resource">XmCDepth</systemitem></entry>
  1512. <entry align="left" valign="top"><StructName Role="typedef">int</StructName></entry>
  1513. <entry align="left" valign="top">dynamic</entry>
  1514. <entry align="left" valign="top">CG</entry></row>
  1515. <row>
  1516. <entry align="left" valign="top"><systemitem class="Resource">XmNdestroyCallback</systemitem></entry>
  1517. <entry align="left" valign="top"><systemitem class="Resource">XmCCallback</systemitem></entry>
  1518. <entry align="left" valign="top"><structname role="typedef">XtCallbackList</structname></entry>
  1519. <entry align="left" valign="top">NULL</entry>
  1520. <entry align="left" valign="top">C</entry></row>
  1521. <row>
  1522. <entry align="left" valign="top"><systemitem class="Resource">XmNheight</systemitem></entry>
  1523. <entry align="left" valign="top"><systemitem class="Resource">XmCHeight</systemitem></entry>
  1524. <entry align="left" valign="top"><structname role="typedef">Dimension</structname></entry>
  1525. <entry align="left" valign="top">dynamic</entry>
  1526. <entry align="left" valign="top">CSG</entry></row>
  1527. <row>
  1528. <entry align="left" valign="top"><systemitem class="Resource">XmNinitialResourcesPersistent</systemitem></entry>
  1529. <entry align="left" valign="top"><systemitem class="Resource">XmCInitialResourcesPersistent</systemitem></entry>
  1530. <entry align="left" valign="top"><structname role="typedef">Boolean</structname></entry>
  1531. <entry align="left" valign="top">True</entry>
  1532. <entry align="left" valign="top">C</entry></row>
  1533. <row>
  1534. <entry align="left" valign="top"><systemitem class="Resource">XmNmappedWhenManaged</systemitem></entry>
  1535. <entry align="left" valign="top"><systemitem class="Resource">XmCMappedWhenManaged</systemitem></entry>
  1536. <entry align="left" valign="top"><structname role="typedef">Boolean</structname></entry>
  1537. <entry align="left" valign="top">True</entry>
  1538. <entry align="left" valign="top">CSG</entry></row>
  1539. <row>
  1540. <entry align="left" valign="top"><systemitem class="Resource">XmNscreen</systemitem></entry>
  1541. <entry align="left" valign="top"><systemitem class="Resource">XmCScreen</systemitem></entry>
  1542. <entry align="left" valign="top"><StructName Role="typedef">Screen *</StructName></entry>
  1543. <entry align="left" valign="top">dynamic</entry>
  1544. <entry align="left" valign="top">CG</entry></row>
  1545. <row>
  1546. <entry align="left" valign="top"><systemitem class="Resource">XmNsensitive</systemitem></entry>
  1547. <entry align="left" valign="top"><systemitem class="Resource">XmCSensitive</systemitem></entry>
  1548. <entry align="left" valign="top"><structname role="typedef">Boolean</structname></entry>
  1549. <entry align="left" valign="top">True</entry>
  1550. <entry align="left" valign="top">CSG</entry></row>
  1551. <row>
  1552. <entry align="left" valign="top"><systemitem class="Resource">XmNtranslations</systemitem></entry>
  1553. <entry align="left" valign="top"><systemitem class="Resource">XmCTranslations</systemitem></entry>
  1554. <entry align="left" valign="top"><structname role="typedef">XtTranslations</structname></entry>
  1555. <entry align="left" valign="top">dynamic</entry>
  1556. <entry align="left" valign="top">CSG</entry></row>
  1557. <row>
  1558. <entry align="left" valign="top"><systemitem class="Resource">XmNwidth</systemitem></entry>
  1559. <entry align="left" valign="top"><systemitem class="Resource">XmCWidth</systemitem></entry>
  1560. <entry align="left" valign="top"><structname role="typedef">Dimension</structname></entry>
  1561. <entry align="left" valign="top">dynamic</entry>
  1562. <entry align="left" valign="top">CSG</entry></row>
  1563. <row>
  1564. <entry align="left" valign="top"><systemitem class="Resource">XmNx</systemitem></entry>
  1565. <entry align="left" valign="top"><systemitem class="Resource">XmCPosition</systemitem></entry>
  1566. <entry align="left" valign="top"><structname role="typedef">Position</structname></entry>
  1567. <entry align="left" valign="top">0</entry>
  1568. <entry align="left" valign="top">CSG</entry></row>
  1569. <row>
  1570. <entry align="left" valign="top"><systemitem class="Resource">XmNy</systemitem></entry>
  1571. <entry align="left" valign="top"><systemitem class="Resource">XmCPosition</systemitem></entry>
  1572. <entry align="left" valign="top"><structname role="typedef">Position</structname></entry>
  1573. <entry align="left" valign="top">0</entry>
  1574. <entry align="left" valign="top">CSG</entry></row></tbody></tgroup></informaltable>
  1575. </refsect2>
  1576. <refsect2>
  1577. <title>Callback Information</title>
  1578. <para>The DtEditor widget has three callback functions of interest:</para>
  1579. <variablelist>
  1580. <varlistentry><term><systemitem class="Resource">DtNtextSelectCallback</systemitem>
  1581. and <systemitem class="Resource">DtNtextDeselectCallback</systemitem></term>
  1582. <listitem>
  1583. <para>The <systemitem class="Resource">DtNtextSelectCallback</systemitem>
  1584. and <systemitem class="Resource">DtNtextDeselectCallback</systemitem> resources
  1585. allow an application to enable and disable certain commands or menu items
  1586. based on whether there is a selection. <systemitem class="Resource">DtNtextSelectCallback</systemitem> specifies a function called whenever the selection becomes non-<systemitem class="Constant">NULL</systemitem> (that is, some text is selected within
  1587. the edit window), while <systemitem class="Resource">DtNtextDeselectCallback</systemitem> specifies a function called whenever the selection becomes <systemitem class="Constant">NULL</systemitem> (that is, no text is selected within the
  1588. edit window). The reasons sent by the callbacks are <systemitem class="Constant">DtEDITOR_TEXT_SELECT</systemitem> and <systemitem class="Constant">DtEDITOR_TEXT_DESELECT</systemitem>.</para>
  1589. </listitem>
  1590. </varlistentry>
  1591. <varlistentry><term><systemitem class="Resource">XmNhelpCallback</systemitem></term>
  1592. <listitem>
  1593. <para>An application that wishes to present help information to the user on
  1594. the DtEditor widget and its dialogs should set the <systemitem class="Resource">XmNhelpCallback</systemitem> resource and use the Reason field passed as part
  1595. of <systemitem class="Constant">DtEditorHelpCallbackStruct</systemitem> to
  1596. set the contents of its Help dialog. A pointer to the following structure
  1597. is passed to the <Symbol>XmNHelpCallback</Symbol> callback.</para>
  1598. <informalexample remap="indent">
  1599. <programlisting>typedef struct {
  1600. int <symbol role="Variable">reason</symbol>,
  1601. XEvent *<symbol role="Variable">event</symbol>
  1602. } XmAnyCallbackStruct;</programlisting>
  1603. </informalexample>
  1604. </listitem>
  1605. </varlistentry>
  1606. <varlistentry><term><symbol role="Variable">reason</symbol></term>
  1607. <listitem>
  1608. <para>Indicates why the callback was invoked. The possible reasons are:</para>
  1609. <variablelist>
  1610. <varlistentry><term>DtEDITOR_HELP_EDIT_WINDOW</term>
  1611. <listitem>
  1612. <para>The help request originated in the edit window. <![ %CDE.C.CDE; [</Para>
  1613. </ListItem>
  1614. </VarListEntry>
  1615. <VarListEntry>
  1616. <Term>DtEDITOR_HELP_STATUS_LINE</Term>
  1617. <ListItem>
  1618. <Para>The help request originated in the status line.
  1619. </Para>
  1620. </ListItem>
  1621. </VarListEntry>
  1622. <VarListEntry>
  1623. <Term>DtEDITOR_HELP_STATUS_CURRENT_LINE</Term>
  1624. <ListItem>
  1625. <Para>The help request originated in the Current Line number
  1626. display in the status line.
  1627. </Para>
  1628. </ListItem>
  1629. </VarListEntry>
  1630. <VarListEntry>
  1631. <Term>DtEDITOR_HELP_STATUS_TOTAL_LINES</Term>
  1632. <ListItem>
  1633. <Para>The help request originated in the Total Lines display in
  1634. the status line.
  1635. </Para>
  1636. </ListItem>
  1637. </VarListEntry>
  1638. <VarListEntry>
  1639. <Term>DtEDITOR_HELP_STATUS_MESSAGE</Term>
  1640. <ListItem>
  1641. <Para>The help request originated in the Message field in the
  1642. status line.
  1643. </Para>
  1644. </ListItem>
  1645. </VarListEntry>
  1646. <VarListEntry>
  1647. <Term>DtEDITOR_HELP_STATUS_OVERSTRIKE</Term>
  1648. <ListItem>
  1649. <Para>The help request originated in the Overstrike Indicator in
  1650. the status line.
  1651. ]]></para>
  1652. </listitem>
  1653. </varlistentry>
  1654. <varlistentry><term>DtEDITOR_HELP_FORMAT_DIALOG</term>
  1655. <listitem>
  1656. <para>The help request originated in the Help button in the Format dialog.
  1657. </para>
  1658. </listitem>
  1659. </varlistentry>
  1660. <varlistentry><term>DtEDITOR_HELP_FORMAT_LEFT_MARGIN</term>
  1661. <listitem>
  1662. <para>The help request originated in the Left Margin field in the Format dialog.
  1663. </para>
  1664. </listitem>
  1665. </varlistentry>
  1666. <varlistentry><term>DtEDITOR_HELP_FORMAT_RIGHT_MARGIN</term>
  1667. <listitem>
  1668. <para>The help request originated in the Right Margin field in the Format
  1669. dialog.</para>
  1670. </listitem>
  1671. </varlistentry>
  1672. <varlistentry><term>DtEDITOR_HELP_FORMAT_ALIGNMENT</term>
  1673. <listitem>
  1674. <para>The help request originated in the Alignment buttons in the Format dialog.
  1675. </para>
  1676. </listitem>
  1677. </varlistentry>
  1678. <varlistentry><term>DtEDITOR_HELP_CHANGE_DIALOG</term>
  1679. <listitem>
  1680. <para>The help request originated in the Help button in the Find/Change dialog.
  1681. </para>
  1682. </listitem>
  1683. </varlistentry>
  1684. <varlistentry><term>DtEDITOR_HELP_CHANGE_FIND</term>
  1685. <listitem>
  1686. <para>The help request originated in the Find field in the Find/Change dialog.
  1687. </para>
  1688. </listitem>
  1689. </varlistentry>
  1690. <varlistentry><term>DtEDITOR_HELP_CHANGE_CHANGE</term>
  1691. <listitem>
  1692. <para>The help request originated in the Change To field in the Find/Change
  1693. dialog. <![ %CDE.C.CDE; [</Para>
  1694. </ListItem>
  1695. </VarListEntry>
  1696. <VarListEntry>
  1697. <Term>DtEDITOR_HELP_SPELL_DIALOG</Term>
  1698. <ListItem>
  1699. <Para>The help request originated in the help button in the Spell
  1700. dialog.
  1701. </Para>
  1702. </ListItem>
  1703. </VarListEntry>
  1704. <VarListEntry>
  1705. <Term>DtEDITOR_HELP_SPELL_MISSPELLED_WORDS</Term>
  1706. <ListItem>
  1707. <Para>The help request originated in the List of Misspelled Words
  1708. in the Spell dialog.
  1709. </Para>
  1710. </ListItem>
  1711. </VarListEntry>
  1712. <VarListEntry>
  1713. <Term>DtEDITOR_HELP_SPELL_CHANGE</Term>
  1714. <ListItem>
  1715. <Para>The help request originated in the Change To field in the
  1716. Spell dialog.
  1717. ]]></para>
  1718. </listitem>
  1719. </varlistentry>
  1720. </variablelist>
  1721. </listitem>
  1722. </varlistentry>
  1723. <varlistentry><term><symbol role="Variable">event</symbol></term>
  1724. <listitem>
  1725. <para>A pointer to the <structname role="typedef">XEvent</structname> that
  1726. caused this callback to be invoked. It may be <systemitem class="Constant">NULL</systemitem>.</para>
  1727. </listitem>
  1728. </varlistentry>
  1729. </variablelist>
  1730. </refsect2>
  1731. <refsect2>
  1732. <title>Translations</title>
  1733. <para>The DtEditor widget translations for the edit window are described in
  1734. the following list. The <systemitem class="Resource">DtNtextTranslations</systemitem>
  1735. resource can be used to modify these translations.</para>
  1736. <variablelist>
  1737. <varlistentry><term>KLeft</term>
  1738. <listitem>
  1739. <para><function>backward-character</function></para>
  1740. </listitem>
  1741. </varlistentry>
  1742. <varlistentry><term>MShift KLeft</term>
  1743. <listitem><![ %CDE.C.XO; [<para><emphasis>key-select</emphasis>
  1744. </para>]]><![ %CDE.C.CDE; [<Para><Literal>key-select</Literal></Para>
  1745. ]]>
  1746. <para>(<symbol role="Variable">left</symbol>)</para>
  1747. </listitem>
  1748. </varlistentry>
  1749. <varlistentry><term>MCtrl KLeft</term>
  1750. <listitem>
  1751. <para><function>backward-word</function></para>
  1752. </listitem>
  1753. </varlistentry>
  1754. <varlistentry><term>MShift MCtrl KLeft</term>
  1755. <listitem><![ %CDE.C.XO; [<para><emphasis>backward-word</emphasis>
  1756. </para>]]><![ %CDE.C.CDE; [<Para><Literal>backward-word</Literal></Para>
  1757. ]]>
  1758. <para>(<symbol role="Variable">extend</symbol>)</para>
  1759. </listitem>
  1760. </varlistentry>
  1761. <varlistentry><term>KRight</term>
  1762. <listitem>
  1763. <para><function>forward-character</function></para>
  1764. </listitem>
  1765. </varlistentry>
  1766. <varlistentry><term>MShift KRight</term>
  1767. <listitem><![ %CDE.C.XO; [<para><emphasis>key-select</emphasis>
  1768. </para>]]><![ %CDE.C.CDE; [<Para><Literal>key-select</Literal></Para>
  1769. ]]>
  1770. <para>(<symbol role="Variable">right</symbol>)</para>
  1771. </listitem>
  1772. </varlistentry>
  1773. <varlistentry><term>MCtrl KRight</term>
  1774. <listitem>
  1775. <para><function>forward-word</function></para>
  1776. </listitem>
  1777. </varlistentry>
  1778. <varlistentry><term>MShift MCtrl KRight</term>
  1779. <listitem><![ %CDE.C.XO; [<para><emphasis>forward-word</emphasis>
  1780. </para>]]><![ %CDE.C.CDE; [<Para><Literal>forward-word</Literal></Para>
  1781. ]]>
  1782. <para>(<symbol role="Variable">extend</symbol>)</para>
  1783. </listitem>
  1784. </varlistentry>
  1785. <varlistentry><term>KUp</term>
  1786. <listitem>
  1787. <para><function>process-up</function></para>
  1788. </listitem>
  1789. </varlistentry>
  1790. <varlistentry><term>MShift KUp</term>
  1791. <listitem>
  1792. <para><function>process-shift-up</function></para>
  1793. </listitem>
  1794. </varlistentry>
  1795. <varlistentry><term>MCtrl KUp</term>
  1796. <listitem>
  1797. <para><function>backward-paragraph</function></para>
  1798. </listitem>
  1799. </varlistentry>
  1800. <varlistentry><term>MShift MCtrl KUp</term>
  1801. <listitem><![ %CDE.C.XO; [<para><emphasis>backward-paragraph</emphasis>
  1802. </para>]]><![ %CDE.C.CDE; [<Para><Literal>backward-paragraph</Literal></Para>
  1803. ]]>
  1804. <para>(<symbol role="Variable">extend</symbol>)</para>
  1805. </listitem>
  1806. </varlistentry>
  1807. <varlistentry><term>KDown</term>
  1808. <listitem>
  1809. <para><function>process-down</function></para>
  1810. </listitem>
  1811. </varlistentry>
  1812. <varlistentry><term>MShift KDown</term>
  1813. <listitem>
  1814. <para><function>process-shift-down</function></para>
  1815. </listitem>
  1816. </varlistentry>
  1817. <varlistentry><term>MCtrl KDown</term>
  1818. <listitem>
  1819. <para><function>forward-paragraph</function></para>
  1820. </listitem>
  1821. </varlistentry>
  1822. <varlistentry><term>MShift MCtrl KDown</term>
  1823. <listitem><![ %CDE.C.XO; [<para><emphasis>forward-paragraph</emphasis>
  1824. </para>]]><![ %CDE.C.CDE; [<Para><Literal>forward-paragraph</Literal></Para>
  1825. ]]>
  1826. <para>(<symbol role="Variable">extend</symbol>)</para>
  1827. </listitem>
  1828. </varlistentry>
  1829. <varlistentry><term>KBeginLine</term>
  1830. <listitem>
  1831. <para><function>beginning-of-line</function></para>
  1832. </listitem>
  1833. </varlistentry>
  1834. <varlistentry><term>MShift KBeginLine</term>
  1835. <listitem><![ %CDE.C.XO; [<para><emphasis>beginning-of-line</emphasis>
  1836. </para>]]><![ %CDE.C.CDE; [<Para><Literal>beginning-of-line</Literal></Para>
  1837. ]]>
  1838. <para>(<symbol role="Variable">extend</symbol>)</para>
  1839. </listitem>
  1840. </varlistentry>
  1841. <varlistentry><term>KEndLine</term>
  1842. <listitem>
  1843. <para><function>end-of-line</function></para>
  1844. </listitem>
  1845. </varlistentry>
  1846. <varlistentry><term>MShift KEndLine</term>
  1847. <listitem><![ %CDE.C.XO; [<para><emphasis>end-of-line</emphasis>
  1848. </para>]]><![ %CDE.C.CDE; [<Para><Literal>end-of-line</Literal></Para>
  1849. ]]>
  1850. <para>(<symbol role="Variable">extend</symbol>)</para>
  1851. </listitem>
  1852. </varlistentry>
  1853. <varlistentry><term>KPageUp</term>
  1854. <listitem>
  1855. <para><function>previous-page</function></para>
  1856. </listitem>
  1857. </varlistentry>
  1858. <varlistentry><term>MShift KPageUp</term>
  1859. <listitem><![ %CDE.C.XO; [<para><emphasis>previous-page</emphasis>
  1860. </para>]]><![ %CDE.C.CDE; [<Para><Literal>previous-page</Literal></Para>
  1861. ]]>
  1862. <para>(<symbol role="Variable">extend</symbol>)</para>
  1863. </listitem>
  1864. </varlistentry>
  1865. <varlistentry><term>KPageLeft</term>
  1866. <listitem>
  1867. <para><function>page-left</function></para>
  1868. </listitem>
  1869. </varlistentry>
  1870. <varlistentry><term>KPageDown</term>
  1871. <listitem>
  1872. <para><function>next-page</function></para>
  1873. </listitem>
  1874. </varlistentry>
  1875. <varlistentry><term>MShift KPageDown</term>
  1876. <listitem><![ %CDE.C.XO; [<para><emphasis>next-page</emphasis>
  1877. </para>]]><![ %CDE.C.CDE; [<Para><Literal>next-page</Literal></Para>
  1878. ]]>
  1879. <para>(<symbol role="Variable">extend</symbol>)</para>
  1880. </listitem>
  1881. </varlistentry>
  1882. <varlistentry><term>KPageRight</term>
  1883. <listitem>
  1884. <para><function>page-right</function></para>
  1885. </listitem>
  1886. </varlistentry>
  1887. <varlistentry><term>KBeginData</term>
  1888. <listitem>
  1889. <para><function>beginning-of-file</function></para>
  1890. </listitem>
  1891. </varlistentry>
  1892. <varlistentry><term>MShift KBeginData</term>
  1893. <listitem><![ %CDE.C.XO; [<para><emphasis>beginning-of-file</emphasis>
  1894. </para>]]><![ %CDE.C.CDE; [<Para><Literal>beginning-of-file</Literal></Para>
  1895. ]]>
  1896. <para>(<symbol role="Variable">extend</symbol>)</para>
  1897. </listitem>
  1898. </varlistentry>
  1899. <varlistentry><term>KEndData</term>
  1900. <listitem>
  1901. <para><function>end-of-file</function></para>
  1902. </listitem>
  1903. </varlistentry>
  1904. <varlistentry><term>MShift KEndData</term>
  1905. <listitem><![ %CDE.C.XO; [<para><emphasis>end-of-file</emphasis>
  1906. </para>]]><![ %CDE.C.CDE; [<Para><Literal>end-of-file</Literal></Para>
  1907. ]]>
  1908. <para>(<symbol role="Variable">extend</symbol>)</para>
  1909. </listitem>
  1910. </varlistentry>
  1911. <varlistentry><term>KDelete</term>
  1912. <listitem>
  1913. <para><function>delete-next-character</function></para>
  1914. </listitem>
  1915. </varlistentry>
  1916. <varlistentry><term>MCtrl KDelete</term>
  1917. <listitem>
  1918. <para><function>delete-to-end-of-line</function></para>
  1919. </listitem>
  1920. </varlistentry>
  1921. <varlistentry><term>KBackSpace</term>
  1922. <listitem>
  1923. <para><function>delete-previous-character</function></para>
  1924. </listitem>
  1925. </varlistentry>
  1926. <varlistentry><term>MCtrl KBackSpace</term>
  1927. <listitem>
  1928. <para><function>delete-previous-word</function></para>
  1929. </listitem>
  1930. </varlistentry>
  1931. <varlistentry><term>MShift KBackSpace</term>
  1932. <listitem>
  1933. <para><function>delete-to-start-of-line</function></para>
  1934. </listitem>
  1935. </varlistentry>
  1936. <varlistentry><term>MAlt KBackSpace</term>
  1937. <listitem>
  1938. <para><function>undo-edit</function></para>
  1939. </listitem>
  1940. </varlistentry>
  1941. <varlistentry><term>MCtrl Kz</term>
  1942. <listitem>
  1943. <para><function>undo-edit</function></para>
  1944. </listitem>
  1945. </varlistentry>
  1946. <varlistentry><term>MCtrl K/</term>
  1947. <listitem>
  1948. <para><function>select-all</function></para>
  1949. </listitem>
  1950. </varlistentry>
  1951. <varlistentry><term>MCtrl K\</term>
  1952. <listitem>
  1953. <para><function>deselect-all</function> <![ %CDE.C.CDE; [</Para>
  1954. </ListItem>
  1955. </VarListEntry>
  1956. <VarListEntry>
  1957. <Term>MCtrl Kg</Term>
  1958. <ListItem>
  1959. <Para><Function>go-to-line</Function> ]]></para>
  1960. </listitem>
  1961. </varlistentry>
  1962. <varlistentry><term>MCtrl Kq</term>
  1963. <listitem>
  1964. <para><function>quote-next-character</function></para>
  1965. </listitem>
  1966. </varlistentry>
  1967. <varlistentry><term>MCtrl Kx</term>
  1968. <listitem>
  1969. <para><function>cut-clipboard</function></para>
  1970. </listitem>
  1971. </varlistentry>
  1972. <varlistentry><term>MCtrl Kc</term>
  1973. <listitem>
  1974. <para><function>copy-clipboard</function></para>
  1975. </listitem>
  1976. </varlistentry>
  1977. <varlistentry><term>MCtrl Kv</term>
  1978. <listitem>
  1979. <para><function>paste-clipboard</function></para>
  1980. </listitem>
  1981. </varlistentry>
  1982. <varlistentry><term>KHelp</term>
  1983. <listitem>
  1984. <para><function>Help</function></para>
  1985. </listitem>
  1986. </varlistentry>
  1987. <varlistentry><term>KInsert</term>
  1988. <listitem>
  1989. <para><function>toggle-insert-mode</function></para>
  1990. </listitem>
  1991. </varlistentry>
  1992. <varlistentry><term>KEnter</term>
  1993. <listitem>
  1994. <para><function>new-line-and-indent</function></para>
  1995. </listitem>
  1996. </varlistentry>
  1997. <varlistentry><term>MAnyKCancel</term>
  1998. <listitem>
  1999. <para><function>process-cancel</function></para>
  2000. </listitem>
  2001. </varlistentry>
  2002. </variablelist>
  2003. </refsect2>
  2004. <refsect2>
  2005. <title>Action Routines</title>
  2006. <para>The DtEditor widget action routines are described here:</para>
  2007. <variablelist>
  2008. <varlistentry><term><emphasis>backward-character</emphasis>&hairsp;(&thinsp;)</term>
  2009. <listitem>
  2010. <para>This action moves the insertion cursor one character to the left. This
  2011. action may have different behavior in a right-to-left language environment.
  2012. </para>
  2013. </listitem>
  2014. </varlistentry>
  2015. <varlistentry><term><emphasis>backward-paragraph</emphasis>&hairsp;(<symbol role="Variable">extend</symbol>)</term>
  2016. <listitem>
  2017. <para>If this action is called with no argument, it moves the insertion cursor
  2018. to the first non-whitespace character following the first previous blank line
  2019. or beginning of the text. If the insertion cursor is already at the beginning
  2020. of a paragraph, the action moves the insertion cursor to the beginning of
  2021. the previous paragraph.</para>
  2022. <para>If this action is called with an argument of <symbol role="Variable">extend</symbol>, it moves the insertion cursor, as in the case of no argument,
  2023. and extends the current selection.</para>
  2024. </listitem>
  2025. </varlistentry>
  2026. <varlistentry><term><emphasis>backward-word</emphasis>&hairsp;( <symbol role="Variable">extend</symbol>)</term>
  2027. <listitem>
  2028. <para>If this action is called with no argument, it moves the insertion cursor
  2029. to the first non-whitespace character after the first whitespace character
  2030. to the left or after the beginning of the line. If the insertion cursor is
  2031. already at the beginning of a word, this action moves the insertion cursor
  2032. to the beginning of the previous word. This action may have different behavior
  2033. in a locale other than the C locale.</para>
  2034. <para>If this action is called with an argument of <symbol role="Variable">extend</symbol>, it moves the insertion cursor, as in the case of no argument,
  2035. and extends the current selection.</para>
  2036. </listitem>
  2037. </varlistentry>
  2038. <varlistentry><term><emphasis>beginning-of-file</emphasis>&hairsp;(<symbol role="Variable">extend</symbol>)</term>
  2039. <listitem>
  2040. <para>If this action is called with no argument, it moves the insertion cursor
  2041. to the beginning of the text.</para>
  2042. <para>If this action is called with an argument of <symbol role="Variable">extend</symbol>, it moves the insertion cursor, as in the case of no argument,
  2043. and extends the current selection.</para>
  2044. </listitem>
  2045. </varlistentry>
  2046. <varlistentry><term><emphasis>beginning-of-line</emphasis>&hairsp;(<symbol role="Variable">extend</symbol>)</term>
  2047. <listitem>
  2048. <para>If this action is called with no argument, it moves the insertion cursor
  2049. to the beginning of the line.</para>
  2050. <para>If this action is called with an argument of <symbol role="Variable">extend</symbol>, it moves the insertion cursor, as in the case of no argument,
  2051. and extends the current selection.</para>
  2052. </listitem>
  2053. </varlistentry>
  2054. <varlistentry><term><emphasis>clear-selection</emphasis>&hairsp;(&thinsp;)</term>
  2055. <listitem>
  2056. <para>This action clears the current selection by replacing each character
  2057. except <keysym>carriage-return</keysym> with a <keysym>space</keysym> character.
  2058. </para>
  2059. </listitem>
  2060. </varlistentry>
  2061. <varlistentry><term><emphasis>copy-clipboard</emphasis>&hairsp;(&thinsp;)</term>
  2062. <listitem>
  2063. <para>This action copies the current selection to the clipboard.</para>
  2064. </listitem>
  2065. </varlistentry>
  2066. <varlistentry><term><emphasis>cut-clipboard</emphasis>&hairsp;(&thinsp;)</term>
  2067. <listitem>
  2068. <para>This action cuts the current selection to the clipboard.</para>
  2069. </listitem>
  2070. </varlistentry>
  2071. <varlistentry><term><emphasis>delete-next-character</emphasis>&hairsp;(&thinsp;)</term>
  2072. <listitem>
  2073. <para>If there is a non-<systemitem class="Constant">NULL</systemitem> selection,
  2074. this action deletes the selection; otherwise, it deletes the character following
  2075. the insertion cursor.</para>
  2076. </listitem>
  2077. </varlistentry>
  2078. <varlistentry><term><emphasis>delete-next-word</emphasis>&hairsp;(&thinsp;)</term>
  2079. <listitem>
  2080. <para>If there is a non-<systemitem class="Constant">NULL</systemitem> selection,
  2081. this action deletes the selection; otherwise, it deletes the characters following
  2082. the insertion cursor to the next space, tab or end of line character.</para>
  2083. </listitem>
  2084. </varlistentry>
  2085. <varlistentry><term><emphasis>delete-previous-character</emphasis>&hairsp;(&thinsp;)</term>
  2086. <listitem>
  2087. <para>If there is a non-<systemitem class="Constant">NULL</systemitem> selection,
  2088. this action deletes the selection; otherwise, it deletes the character of
  2089. text immediately preceding the insertion cursor.</para>
  2090. </listitem>
  2091. </varlistentry>
  2092. <varlistentry><term><emphasis>delete-previous-word</emphasis>&hairsp;(&thinsp;)</term>
  2093. <listitem>
  2094. <para>If there is a non-<systemitem class="Constant">NULL</systemitem> selection,
  2095. this action deletes the selection; otherwise, it deletes the characters preceding
  2096. the insertion cursor to the next space, tab or beginning of the line character.
  2097. This action may have different behavior in a locale other than the C locale.
  2098. </para>
  2099. </listitem>
  2100. </varlistentry>
  2101. <varlistentry><term><emphasis>delete-to-end-of-line</emphasis>&hairsp;(&thinsp;)</term>
  2102. <listitem>
  2103. <para>If there is a non-<systemitem class="Constant">NULL</systemitem> selection,
  2104. this action deletes the selection; otherwise, it deletes the characters following
  2105. the insertion cursor to the next end-of-line character.</para>
  2106. </listitem>
  2107. </varlistentry>
  2108. <varlistentry><term><emphasis>delete-to-start-of-line</emphasis>&hairsp;(&thinsp;)</term>
  2109. <listitem>
  2110. <para>If there is a non-<systemitem class="Constant">NULL</systemitem> selection,
  2111. this action deletes the selection; otherwise, it deletes the characters preceding
  2112. the insertion cursor to the previous beginning-of-line character.</para>
  2113. </listitem>
  2114. </varlistentry>
  2115. <varlistentry><term><emphasis>deselect-all</emphasis>&hairsp;(&thinsp;)</term>
  2116. <listitem>
  2117. <para>This action deselects the current selection.</para>
  2118. </listitem>
  2119. </varlistentry>
  2120. <varlistentry><term><emphasis>end-of-file</emphasis>&hairsp;( <symbol role="Variable">extend</symbol>)</term>
  2121. <listitem>
  2122. <para>If this action is called with no argument, it moves the insertion cursor
  2123. to the end of the text.</para>
  2124. <para>If this action is called with an argument of <symbol role="Variable">extend</symbol>, it moves the insertion cursor, as in the case of no argument,
  2125. and extends the current selection.</para>
  2126. </listitem>
  2127. </varlistentry>
  2128. <varlistentry><term><emphasis>end-of-line</emphasis>&hairsp;( <symbol role="Variable">extend</symbol>)</term>
  2129. <listitem>
  2130. <para>If this action is called with no argument, it moves the insertion cursor
  2131. to the end of the line.</para>
  2132. <para>If this action is called with an argument of <symbol role="Variable">extend</symbol>, it moves the insertion cursor, as in the case of no argument,
  2133. and extends the current selection.</para>
  2134. </listitem>
  2135. </varlistentry>
  2136. <varlistentry><term><emphasis>forward-character</emphasis>&hairsp;(&thinsp;)</term>
  2137. <listitem>
  2138. <para>This action moves the insertion cursor one character to the right. This
  2139. action may have different behavior in a right-to-left language environment.
  2140. </para>
  2141. </listitem>
  2142. </varlistentry>
  2143. <varlistentry><term><emphasis>forward-paragraph</emphasis>&hairsp;(<symbol role="Variable">extend</symbol>)</term>
  2144. <listitem>
  2145. <para>If this action is called with no argument, it moves the insertion cursor
  2146. to the first non-whitespace character following the next blank line. If the
  2147. insertion cursor is already at the beginning of a paragraph, this action moves
  2148. the insertion cursor to the beginning of the next paragraph.</para>
  2149. <para>If this action is called with an argument of <symbol role="Variable">extend</symbol>, it moves the insertion cursor, as in the case of no argument,
  2150. and extends the current selection.</para>
  2151. </listitem>
  2152. </varlistentry>
  2153. <varlistentry><term><emphasis>forward-word</emphasis>&hairsp;( <symbol role="Variable">extend</symbol>)</term>
  2154. <listitem>
  2155. <para>If this action is called with no argument, it moves the insertion cursor
  2156. to the first whitespace character or end-of-line following the next non-whitespace
  2157. character. If the insertion cursor is already at the end of a word, this action
  2158. moves the insertion cursor to the end of the next word. This action may have
  2159. different behavior in a locale other than the C locale.</para>
  2160. <para>If called with an argument of <symbol role="Variable">extend</symbol>,
  2161. this action moves the insertion cursor, as in the case of no argument, and
  2162. extends the current selection. <![ %CDE.C.CDE; [</Para>
  2163. </ListItem>
  2164. </VarListEntry>
  2165. <VarListEntry>
  2166. <Term><Emphasis>go-to-line</Emphasis>&hairsp;(&thinsp;)</Term>
  2167. <ListItem>
  2168. <Para>This action moves the keyboard focus to the Current Line text field to allow the user to
  2169. move the insertion cursor to a new line.
  2170. This action is only valid if
  2171. <SystemItem Class="Resource">DtNshowStatusLine</SystemItem> has a value of
  2172. True.
  2173. For a description of the status line, see the
  2174. <Literal>Editor Status Line</Literal> heading in this manual page.
  2175. ]]></para>
  2176. </listitem>
  2177. </varlistentry>
  2178. <varlistentry><term><emphasis>Help</emphasis>&hairsp;(&thinsp;)</term>
  2179. <listitem>
  2180. <para>This action calls the callbacks for <systemitem class="Resource">XmNhelpCallback</systemitem> if any exist. If there are no help callbacks for this widget,
  2181. this action calls the help callbacks for the nearest ancestor that has them.
  2182. </para>
  2183. </listitem>
  2184. </varlistentry>
  2185. <varlistentry><term><emphasis>insert-string</emphasis>&hairsp;( <symbol role="Variable">string</symbol>)</term>
  2186. <listitem>
  2187. <para>This action deletes the entire selection if there is a non-<systemitem class="Constant">NULL</systemitem> selection and the cursor is not disjoint
  2188. from it. It inserts <literal>string</literal> before the insertion cursor.
  2189. </para>
  2190. </listitem>
  2191. </varlistentry>
  2192. <varlistentry><term><emphasis>key-select</emphasis>&hairsp;( <symbol role="Variable">direction</symbol>)</term>
  2193. <listitem>
  2194. <para>If this action is called with an argument of <symbol role="Variable">right</symbol>, it moves the insertion cursor one character to the right and
  2195. extends the current selection. If this action is called with an argument of
  2196. <symbol role="Variable">left</symbol>, it moves the insertion cursor one character
  2197. to the left and extends the current selection. If this action is called with
  2198. no argument, it extends the current selection.</para>
  2199. </listitem>
  2200. </varlistentry>
  2201. <varlistentry><term><emphasis>newline-and-backup</emphasis>&hairsp;(&thinsp;)</term>
  2202. <listitem>
  2203. <para>If there is a non-<systemitem class="Constant">NULL</systemitem> selection
  2204. and the cursor is not disjoint from it, this action deletes the entire selection,
  2205. inserts a newline just before the insertion cursor and repositions the insertion
  2206. cursor to the end of the line before the newline.</para>
  2207. </listitem>
  2208. </varlistentry>
  2209. <varlistentry><term><emphasis>newline-and-indent</emphasis>&hairsp;(&thinsp;)</term>
  2210. <listitem>
  2211. <para>If there is a non-<systemitem class="Constant">NULL</systemitem> selection
  2212. and the cursor is not disjoint from it, this action deletes the entire selection,
  2213. inserts a newline and then the same number of whitespace characters as at
  2214. the beginning of the previous line.</para>
  2215. </listitem>
  2216. </varlistentry>
  2217. <varlistentry><term><emphasis>next-page</emphasis>&hairsp;( <symbol role="Variable">extend</symbol>)</term>
  2218. <listitem>
  2219. <para>If this action is called with no argument, it moves the insertion cursor
  2220. forward one page.</para>
  2221. <para>If this action is called with an argument of <symbol role="Variable">extend</symbol>, it moves the insertion cursor, as in the case of no argument,
  2222. and extends the current selection.</para>
  2223. </listitem>
  2224. </varlistentry>
  2225. <varlistentry><term><emphasis>page-left</emphasis>&hairsp;(&thinsp;)</term>
  2226. <listitem>
  2227. <para>This action scrolls the viewing window left one page of text.</para>
  2228. </listitem>
  2229. </varlistentry>
  2230. <varlistentry><term><emphasis>page-right</emphasis>&hairsp;(&thinsp;)</term>
  2231. <listitem>
  2232. <para>This action scrolls the viewing window right one page of text.</para>
  2233. </listitem>
  2234. </varlistentry>
  2235. <varlistentry><term><emphasis>paste-clipboard</emphasis>&hairsp;(&thinsp;)</term>
  2236. <listitem>
  2237. <para>This action pastes the contents of the clipboard before the insertion
  2238. cursor.</para>
  2239. </listitem>
  2240. </varlistentry>
  2241. <varlistentry><term><emphasis>previous-page</emphasis>&hairsp;( <symbol role="Variable">extend</symbol>)</term>
  2242. <listitem>
  2243. <para>If this action is called with no argument, it moves the insertion cursor
  2244. back one page.</para>
  2245. <para>If this action is called with an argument of <symbol role="Variable">extend</symbol>, it moves the insertion cursor, as in the case of no argument,
  2246. and extends the current selection.</para>
  2247. </listitem>
  2248. </varlistentry>
  2249. <varlistentry><term><emphasis>process-cancel</emphasis>&hairsp;(&thinsp;)</term>
  2250. <listitem>
  2251. <para>This action cancels the current <function>extend-adjust</function> or <function>secondary-adjust</function> operation and leaves the selection state as it
  2252. was before the operation; otherwise, (and if the parent is a manager) it passes
  2253. the event to the parent.</para>
  2254. </listitem>
  2255. </varlistentry>
  2256. <varlistentry><term><emphasis>process-down</emphasis>&hairsp;(&thinsp;)</term>
  2257. <listitem>
  2258. <para>This action moves the insertion cursor down one line.</para>
  2259. </listitem>
  2260. </varlistentry>
  2261. <varlistentry><term><emphasis>process-shift-down</emphasis>&hairsp;(&thinsp;)</term>
  2262. <listitem>
  2263. <para>This action moves the insertion cursor down one line, extending the
  2264. current selection.</para>
  2265. </listitem>
  2266. </varlistentry>
  2267. <varlistentry><term><emphasis>process-shift-up</emphasis>&hairsp;(&thinsp;)</term>
  2268. <listitem>
  2269. <para>This action moves the insertion cursor up one line, extending the current
  2270. selection.</para>
  2271. </listitem>
  2272. </varlistentry>
  2273. <varlistentry><term><emphasis>process-up</emphasis>&hairsp;(&thinsp;)</term>
  2274. <listitem>
  2275. <para>This action moves the insertion cursor up one line.</para>
  2276. </listitem>
  2277. </varlistentry>
  2278. <varlistentry><term><emphasis>select-all</emphasis>&hairsp;(&thinsp;)</term>
  2279. <listitem>
  2280. <para>Selects all text.</para>
  2281. </listitem>
  2282. </varlistentry>
  2283. <varlistentry><term><emphasis>toggle-insert-mode</emphasis>&hairsp;(&thinsp;)</term>
  2284. <listitem>
  2285. <para>This action toggles the state of the text insertion mode. By default,
  2286. characters typed into the DtEditor widget are inserted at the position of
  2287. the insertion cursor. In overstrike mode, characters entered into the DtEditor
  2288. widget replace the characters that directly follow the insertion cursor. In
  2289. overstrike mode, characters are appended to the end of the line when the end
  2290. of a line is reached.</para>
  2291. </listitem>
  2292. </varlistentry>
  2293. <varlistentry><term><emphasis>quote-next-character</emphasis>&hairsp;(&thinsp;)</term>
  2294. <listitem>
  2295. <para>This action treats the next typed character as a special character and
  2296. inserts it into the text without interpreting it. Enables the insertion of
  2297. special instructional characters or special language characters, such as the
  2298. character marking a form feed or the umlaut used in German text.</para>
  2299. </listitem>
  2300. </varlistentry>
  2301. <varlistentry><term><emphasis>undo-edit</emphasis>&hairsp;(&thinsp;)</term>
  2302. <listitem>
  2303. <para>This action undoes the last change (deletion or insertion) made to the
  2304. text. A change consists of either a set of consecutive insertions, or a set
  2305. of consecutive deletions followed by up to one set of consecutive insertions.
  2306. An insertion is consecutive if there have been no intervening deletions, and
  2307. it is continuing forward from the same point. A deletion is consecutive if
  2308. there have been no intervening insertions, and its start or end position is
  2309. coincidental with the last deletion (that is, the deletion is continuing from
  2310. the same point, either forward or backward). Undoing an edit once restores
  2311. the original text. Undoing an edit twice restores the last change.</para>
  2312. </listitem>
  2313. </varlistentry>
  2314. </variablelist>
  2315. </refsect2><![ %CDE.C.CDE; [<RefSect2>
  2316. <Title>Convenience Functions</Title>
  2317. <Para>The Widget Library contains a number of functions that apply to the
  2318. DtEditor widget.
  2319. The following lists summarize these functions.
  2320. </Para>
  2321. </RefSect2>
  2322. <RefSect2>
  2323. <Title>DtEditor Life Cycle Functions</Title>
  2324. <VariableList>
  2325. <VarListEntry>
  2326. <Term><Function>DtCreateEditor</Function>&hairsp;(&thinsp;)</Term>
  2327. <ListItem>
  2328. <Para>Creates a new instance of a DtEditor widget.
  2329. </Para>
  2330. </ListItem>
  2331. </VarListEntry>
  2332. <VarListEntry>
  2333. <Term><Function>DtEditorReset</Function>&hairsp;(&thinsp;)</Term>
  2334. <ListItem>
  2335. <Para>Restores a DtEditor widget to its initial state.
  2336. </Para>
  2337. </ListItem>
  2338. </VarListEntry>
  2339. </VariableList>
  2340. </RefSect2>
  2341. <RefSect2>
  2342. <Title>DtEditor Input/Output Functions</Title>
  2343. <VariableList>
  2344. <VarListEntry>
  2345. <Term><Function>DtEditorAppend</Function>&hairsp;(&thinsp;)</Term>
  2346. <ListItem>
  2347. <Para>Appends content data to the end of a DtEditor
  2348. widget.
  2349. </Para>
  2350. </ListItem>
  2351. </VarListEntry>
  2352. <VarListEntry>
  2353. <Term><Function>DtEditorAppendFromFile</Function>&hairsp;(&thinsp;)</Term>
  2354. <ListItem>
  2355. <Para>Appends the contents of a file to the end of a DtEditor
  2356. widget.
  2357. </Para>
  2358. </ListItem>
  2359. </VarListEntry>
  2360. <VarListEntry>
  2361. <Term><Function>DtEditorGetContents</Function>&hairsp;(&thinsp;)</Term>
  2362. <ListItem>
  2363. <Para>Retrieves the entire contents of a DtEditor
  2364. widget.
  2365. </Para>
  2366. </ListItem>
  2367. </VarListEntry>
  2368. <VarListEntry>
  2369. <Term><Function>DtEditorInsert</Function>&hairsp;(&thinsp;)</Term>
  2370. <ListItem>
  2371. <Para>Inserts content data at the current insert position.
  2372. </Para>
  2373. </ListItem>
  2374. </VarListEntry>
  2375. <VarListEntry>
  2376. <Term><Function>DtEditorInsertFromFile</Function>&hairsp;(&thinsp;)</Term>
  2377. <ListItem>
  2378. <Para>Inserts the contents of a file at the current insert position.
  2379. </Para>
  2380. </ListItem>
  2381. </VarListEntry>
  2382. <VarListEntry>
  2383. <Term><Function>DtEditorReplace</Function>&hairsp;(&thinsp;)</Term>
  2384. <ListItem>
  2385. <Para>Replaces a portion of text with the supplied data.
  2386. </Para>
  2387. </ListItem>
  2388. </VarListEntry>
  2389. <VarListEntry>
  2390. <Term><Function>DtEditorReplaceFromFile</Function>&hairsp;(&thinsp;)</Term>
  2391. <ListItem>
  2392. <Para>Replaces a portion of text with the contents of a file.
  2393. </Para>
  2394. </ListItem>
  2395. </VarListEntry>
  2396. <VarListEntry>
  2397. <Term><Function>DtEditorSaveContentsToFile</Function>&hairsp;(&thinsp;)</Term>
  2398. <ListItem>
  2399. <Para>Saves the entire contents to a file.
  2400. </Para>
  2401. </ListItem>
  2402. </VarListEntry>
  2403. <VarListEntry>
  2404. <Term><Function>DtEditorSetContents</Function>&hairsp;(&thinsp;)</Term>
  2405. <ListItem>
  2406. <Para>Loads content data into a DtEditor
  2407. widget, replacing the entire contents of the widget.
  2408. </Para>
  2409. </ListItem>
  2410. </VarListEntry>
  2411. <VarListEntry>
  2412. <Term><Function>DtEditorSetContentsFromFile</Function>&hairsp;(&thinsp;)</Term>
  2413. <ListItem>
  2414. <Para>Loads the contents of a file into a DtEditor
  2415. widget, replacing the entire contents of the widget.
  2416. </Para>
  2417. </ListItem>
  2418. </VarListEntry>
  2419. </VariableList>
  2420. </RefSect2>
  2421. <RefSect2>
  2422. <Title>DtEditor Selection Functions</Title>
  2423. <VariableList>
  2424. <VarListEntry>
  2425. <Term><Function>DtEditorClearSelection</Function>&hairsp;(&thinsp;)</Term>
  2426. <ListItem>
  2427. <Para>Replaces the currently selected contents with blanks.
  2428. </Para>
  2429. </ListItem>
  2430. </VarListEntry>
  2431. <VarListEntry>
  2432. <Term><Function>DtEditorCopyToClipboard</Function>&hairsp;(&thinsp;)</Term>
  2433. <ListItem>
  2434. <Para>Copies the currently selected contents to the clipboard.
  2435. </Para>
  2436. </ListItem>
  2437. </VarListEntry>
  2438. <VarListEntry>
  2439. <Term><Function>DtEditorCutToClipboard</Function>&hairsp;(&thinsp;)</Term>
  2440. <ListItem>
  2441. <Para>Removes the currently selected contents, placing it on the clipboard.
  2442. </Para>
  2443. </ListItem>
  2444. </VarListEntry>
  2445. <VarListEntry>
  2446. <Term><Function>DtEditorDeleteSelection</Function>&hairsp;(&thinsp;)</Term>
  2447. <ListItem>
  2448. <Para>Removes the currently selected contents.
  2449. </Para>
  2450. </ListItem>
  2451. </VarListEntry>
  2452. <VarListEntry>
  2453. <Term><Function>DtEditorDeselect</Function>&hairsp;(&thinsp;)</Term>
  2454. <ListItem>
  2455. <Para>Deselects any selected contents.
  2456. </Para>
  2457. </ListItem>
  2458. </VarListEntry>
  2459. <VarListEntry>
  2460. <Term><Function>DtEditorPasteFromClipboard</Function>&hairsp;(&thinsp;)</Term>
  2461. <ListItem>
  2462. <Para>Pastes the contents of the clipboard into a DtEditor
  2463. widget, replacing any currently selected contents.
  2464. </Para>
  2465. </ListItem>
  2466. </VarListEntry>
  2467. <VarListEntry>
  2468. <Term><Function>DtEditorSelectAll</Function>&hairsp;(&thinsp;)</Term>
  2469. <ListItem>
  2470. <Para>Selects the entire contents of a DtEditor widget.
  2471. </Para>
  2472. </ListItem>
  2473. </VarListEntry>
  2474. </VariableList>
  2475. </RefSect2>
  2476. <RefSect2>
  2477. <Title>DtEditor Format Functions</Title>
  2478. <VariableList>
  2479. <VarListEntry>
  2480. <Term><Function>DtEditorFormat</Function>&hairsp;(&thinsp;)</Term>
  2481. <ListItem>
  2482. <Para>Formats the contents of all or part of a DtEditor
  2483. widget.
  2484. </Para>
  2485. </ListItem>
  2486. </VarListEntry>
  2487. <VarListEntry>
  2488. <Term><Function>DtEditorInvokeFormatDialog</Function>&hairsp;(&thinsp;)</Term>
  2489. <ListItem>
  2490. <Para>Displays the format dialog that enables the user
  2491. to specify format settings for margins and
  2492. justification style and to perform formatting
  2493. operations.
  2494. </Para>
  2495. </ListItem>
  2496. </VarListEntry>
  2497. </VariableList>
  2498. </RefSect2>
  2499. <RefSect2>
  2500. <Title>DtEditor Find and Change Text Functions</Title>
  2501. <VariableList>
  2502. <VarListEntry>
  2503. <Term><Function>DtEditorChange</Function>&hairsp;(&thinsp;)</Term>
  2504. <ListItem>
  2505. <Para>Changes one or all occurrences of a string.
  2506. </Para>
  2507. </ListItem>
  2508. </VarListEntry>
  2509. <VarListEntry>
  2510. <Term><Function>DtEditorFind</Function>&hairsp;(&thinsp;)</Term>
  2511. <ListItem>
  2512. <Para>Finds the next occurrence of a string.
  2513. </Para>
  2514. </ListItem>
  2515. </VarListEntry>
  2516. <VarListEntry>
  2517. <Term><Function>DtEditorInvokeFindChangeDialog</Function>&hairsp;(&thinsp;)</Term>
  2518. <ListItem>
  2519. <Para>Displays the dialog that enables the user
  2520. to search for, and optionally change, a string.
  2521. </Para>
  2522. </ListItem>
  2523. </VarListEntry>
  2524. <VarListEntry>
  2525. <Term><Function>DtEditorInvokeSpellDialog</Function>&hairsp;(&thinsp;)</Term>
  2526. <ListItem>
  2527. <Para>Displays a dialog with a list of misspelled
  2528. words in the current contents.
  2529. </Para>
  2530. </ListItem>
  2531. </VarListEntry>
  2532. </VariableList>
  2533. </RefSect2>
  2534. <RefSect2>
  2535. <Title>DtEditor Auxiliary Functions</Title>
  2536. <VariableList>
  2537. <![ %CDE.C.CDE; [
  2538. <VarListEntry>
  2539. <Term><Function>DtEditorDisableRedisplay</Function>&hairsp;(&thinsp;)</Term>
  2540. <ListItem>
  2541. <Para>Temporarily prevents visual update of a DtEditor widget.
  2542. </Para>
  2543. </ListItem>
  2544. </VarListEntry>
  2545. <VarListEntry>
  2546. <Term><Function>DtEditorEnableRedisplay</Function>&hairsp;(&thinsp;)</Term>
  2547. <ListItem>
  2548. <Para>Forces the visual update of a DtEditor widget.
  2549. </Para>
  2550. </ListItem>
  2551. </VarListEntry>
  2552. ]]>
  2553. <VarListEntry>
  2554. <Term><Function>DtEditorCheckForUnsavedChanges</Function>&hairsp;(&thinsp;)</Term>
  2555. <ListItem>
  2556. <Para>Reports whether the contents of a DtEditor
  2557. widget have been altered since they were last
  2558. retrieved or saved.
  2559. </Para>
  2560. </ListItem>
  2561. </VarListEntry>
  2562. <VarListEntry>
  2563. <Term><Function>DtEditorGetInsertionPosition</Function>&hairsp;(&thinsp;)</Term>
  2564. <ListItem>
  2565. <Para>Returns the insertion cursor position of a DtEditor
  2566. widget.
  2567. </Para>
  2568. </ListItem>
  2569. </VarListEntry>
  2570. <VarListEntry>
  2571. <Term><Function>DtEditorGetLastPosition</Function>&hairsp;(&thinsp;)</Term>
  2572. <ListItem>
  2573. <Para>Returns the position of the last character
  2574. in the edit window.
  2575. </Para>
  2576. </ListItem>
  2577. </VarListEntry>
  2578. <VarListEntry>
  2579. <Term><Function>DtEditorGetMessageTextFieldID</Function>&hairsp;(&thinsp;)</Term>
  2580. <ListItem>
  2581. <Para>Retrieves the widget ID of the Text Field
  2582. widget used to display application messages.
  2583. </Para>
  2584. </ListItem>
  2585. </VarListEntry>
  2586. <VarListEntry>
  2587. <Term><Function>DtEditorGetSizeHints</Function>&hairsp;(&thinsp;)</Term>
  2588. <ListItem>
  2589. <Para>Retrieves sizing information from a DtEditor
  2590. widget.
  2591. </Para>
  2592. </ListItem>
  2593. </VarListEntry>
  2594. <VarListEntry>
  2595. <Term><Function>DtEditorGoToLine</Function>&hairsp;(&thinsp;)</Term>
  2596. <ListItem>
  2597. <Para>Moves the insert cursor to the specified line.
  2598. </Para>
  2599. </ListItem>
  2600. </VarListEntry>
  2601. <VarListEntry>
  2602. <Term><Function>DtEditorSetInsertionPosition</Function>&hairsp;(&thinsp;)</Term>
  2603. <ListItem>
  2604. <Para>Sets the position of the insertion cursor.
  2605. </Para>
  2606. </ListItem>
  2607. </VarListEntry>
  2608. <VarListEntry>
  2609. <Term><Function>DtEditorTraverseToEditor</Function>&hairsp;(&thinsp;)</Term>
  2610. <ListItem>
  2611. <Para>Sets keyboard traversal to the edit window of a DtEditor
  2612. widget.
  2613. </Para>
  2614. </ListItem>
  2615. </VarListEntry>
  2616. <VarListEntry>
  2617. <Term><Function>DtEditorUndoEdit</Function>&hairsp;(&thinsp;)</Term>
  2618. <ListItem>
  2619. <Para>Undoes the last edit made by a user.
  2620. </Para>
  2621. </ListItem>
  2622. </VarListEntry>
  2623. </VariableList>
  2624. </RefSect2>
  2625. </RefSect1>
  2626. <RefSect1>
  2627. <Title>FILES</Title>
  2628. <VariableList>
  2629. <VarListEntry>
  2630. <Term><Emphasis>/usr/dt/lib/nls/msg/$LANG/DtWidget.cat</Emphasis>&hairsp;(&thinsp;)</Term>
  2631. <ListItem>
  2632. <Para>Message catalog for DtWidget library.
  2633. </Para>
  2634. </ListItem>
  2635. </VarListEntry>
  2636. </VariableList>
  2637. ]]></refsect1><refsect1>
  2638. <title>SEE ALSO</title>
  2639. <para>&cdeman.Dt.Editor.h;, &cdeman.DtCreateEditor;,
  2640. &cdeman.DtEditorAppend;, &cdeman.DtEditorAppendFromFile;,
  2641. &cdeman.DtEditorChange;, &cdeman.DtEditorCheckForUnsavedChanges;,
  2642. &cdeman.DtEditorClearSelection;, &cdeman.DtEditorCopyToClipboard;,
  2643. &cdeman.DtEditorCutToClipboard;, &cdeman.DtEditorDeleteSelection;,
  2644. &cdeman.DtEditorDeselect;, <![ %CDE.C.CDE; [&cdeman.DtEditorDisableRedisplay;, &cdeman.DtEditorEnableRedisplay;, ]]>
  2645. &cdeman.DtEditorFind;, &cdeman.DtEditorFormat;,
  2646. &cdeman.DtEditorGetContents;, &cdeman.DtEditorGetInsertionPosition;,
  2647. &cdeman.DtEditorGetLastPosition;, <![ %CDE.C.CDE; [&cdeman.DtEditorGetMessageTextFieldID;, ]]>
  2648. &cdeman.DtEditorGetSizeHints;, &cdeman.DtEditorGoToLine;,
  2649. &cdeman.DtEditorInsert;, &cdeman.DtEditorInsertFromFile;,
  2650. &cdeman.DtEditorInvokeFindChangeDialog;, &cdeman.DtEditorInvokeFormatDialog;,
  2651. <![ %CDE.C.CDE; [&cdeman.DtEditorInvokeSpellDialog;, ]]>
  2652. &cdeman.DtEditorPasteFromClipboard;, &cdeman.DtEditorReplace;,
  2653. &cdeman.DtEditorReplaceFromFile;, <![ %CDE.C.CDE; [&cdeman.DtEditorReset;, ]]>
  2654. &cdeman.DtEditorSaveContentsToFile;, &cdeman.DtEditorSelectAll;,
  2655. &cdeman.DtEditorSetContents;, &cdeman.DtEditorSetContentsFromFile;,
  2656. &cdeman.DtEditorSetInsertionPosition;, &cdeman.DtEditorTraverseToEditor;,
  2657. &cdeman.DtEditorUndoEdit;; <![ %CDE.C.XO; [<classname>Composite</classname>, <classname>Constraint</classname>, <classname>Core</classname>,
  2658. <classname>XmBulletinBoard</classname>, <structname role="typedef">XmFontList</structname>,
  2659. <classname>XmForm</classname>, <classname>XmManager</classname>
  2660. in the &str-ZM;. ]]><![ %CDE.C.CDE; [&cdeman.Composite;, &cdeman.Constraint;, &cdeman.Core;, &cdeman.XmBulletinBoard;, &cdeman.XmFontList;, &cdeman.XmForm;, &cdeman.XmManager;, &cdeman.XmTextField;. ]]></para>
  2661. </refsect1></refentry>
  2662. <!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:40:24-->
  2663. <?Pub *0000153992>