ActionDe.sgm 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <!-- $XConsortium: ActionDe.sgm /main/6 1996/08/30 12:53:02 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.XCDI.MAN9.rsml.1">]]>
  10. <![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN9.rsml.1">]]>
  11. <RefMeta>
  12. <RefEntryTitle>DtActionDescription</RefEntryTitle>
  13. <ManVolNum>library call</ManVolNum>
  14. </RefMeta>
  15. <RefNameDiv>
  16. <RefName><Function>DtActionDescription</Function></RefName>
  17. <RefPurpose>obtain the descriptive text for a given action
  18. </RefPurpose>
  19. </RefNameDiv>
  20. <!-- CDE Common Source Format, Version 1.0.0-->
  21. <!-- *************************************************************************-->
  22. <!-- ** (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company-->
  23. <!-- ** (c) Copyright 1993, 1994, 1995 International Business Machines Corp.-->
  24. <!-- ** (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.-->
  25. <!-- ** (c) Copyright 1993, 1994, 1995 Novell, Inc.-->
  26. <!-- *************************************************************************-->
  27. <RefSynopsisDiv>
  28. <FuncSynopsis Remap="ANSI">
  29. <FuncSynopsisInfo>#include &lt;Dt/Action.h>
  30. </FuncSynopsisInfo>
  31. <FuncDef>char <Function>*DtActionDescription</Function></FuncDef>
  32. <ParamDef>char *<Parameter>actionName</Parameter></ParamDef>
  33. </FuncSynopsis>
  34. </RefSynopsisDiv>
  35. <RefSect1>
  36. <Title>DESCRIPTION</Title>
  37. <Para>The
  38. <Function>DtActionDescription</Function> function looks up and returns the descriptive text associated
  39. with the
  40. <Emphasis>actionName</Emphasis> action.
  41. The
  42. <Emphasis>actionName</Emphasis> argument is the name of the action.
  43. If there are multiple
  44. <Emphasis>actionName</Emphasis> actions,
  45. the string returned is the description of the most general.
  46. The most general action is the one with the lowest precedence,
  47. as described in
  48. <![ %CDE.C.CDE; [&cdeman.dtactionfile; (``Action Selection'').
  49. ]]><![ %CDE.C.XO; [<XRef Linkend="XCDI.M4DTA.anch.1" Role="4">. ]]></Para>
  50. </RefSect1>
  51. <RefSect1>
  52. <Title>RETURN VALUE</Title>
  53. <Para>Upon successful completion, the
  54. <Function>DtActionDescription</Function> function returns a newly allocated copy of the description string
  55. associated with the action; otherwise, it returns
  56. <SystemItem Class="Constant">NULL</SystemItem>.</Para>
  57. </RefSect1>
  58. <RefSect1>
  59. <Title>APPLICATION USAGE</Title>
  60. <Para>The
  61. <Function>DtActionDescription</Function> function is useful for applications that wish to present information
  62. to the user about a particular action.
  63. </Para>
  64. <Para>The application should use
  65. <Function>XtFree</Function>(3) to free the description string returned by
  66. <Function>DtActionDescription</Function>.</Para>
  67. </RefSect1>
  68. <RefSect1>
  69. <Title>SEE ALSO</Title>
  70. <Para>&cdeman.Dt.Action.h;, <![ %CDE.C.CDE; [<Function>XtFree</Function>(3), &cdeman.dtactionfile;, &cdeman.dtdtfile;. ]]><![ %CDE.C.XO; [<Function>XtFree</Function>(3) in the &str-Zt;;
  71. <XRef Linkend="XCDI.ACTI.anch.3" Role="2">, <XRef Linkend="XCDI.M4DTS.anch.1" Role="3">. ]]></Para>
  72. </RefSect1>
  73. </RefEntry>
  74. <!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->