CrePrntD.sgm 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <!-- $XConsortium: xprncpsb.sgm 1996 $ -->
  2. <!-- (c) Copyright 1996 Digital Equipment Corporation. -->
  3. <!-- (c) Copyright 1996 Hewlett-Packard Company. -->
  4. <!-- (c) Copyright 1996 International Business Machines Corp. -->
  5. <!-- (c) Copyright 1996 Sun Microsystems, Inc. -->
  6. <!-- (c) Copyright 1996 Novell, Inc. -->
  7. <!-- (c) Copyright 1996 FUJITSU LIMITED. -->
  8. <!-- (c) Copyright 1996 Hitachi. -->
  9. <![ %CDE.C.CDE; [<refentry id="CDE.XPRINT.DtCreatePrintSetupDialog">]]>
  10. <refmeta>
  11. <refentrytitle>
  12. DtCreatePrintSetupDialog
  13. </refentrytitle>
  14. <manvolnum>library call</manvolnum>
  15. </refmeta>
  16. <refnamediv>
  17. <refname><function>DtCreatePrintSetupDialog</function></refname>
  18. <refpurpose>
  19. creates an instance of a dialog containing a <function>DtPrintSetupBox</function> widget
  20. </refpurpose>
  21. </refnamediv>
  22. <refsynopsisdiv>
  23. <funcsynopsis>
  24. <funcsynopsisinfo>
  25. #include &lt;Print.h>
  26. </funcsynopsisinfo>
  27. <funcdef>Widget <function>DtCreatePrintSetupDialog</function></funcdef>
  28. <paramdef>Widget <parameter>parent</parameter></paramdef>
  29. <paramdef>const String <parameter>name</parameter></paramdef>
  30. <paramdef>ArgList <parameter>arglist</parameter></paramdef>
  31. <paramdef>Cardinal <parameter>argcount</parameter></paramdef>
  32. </funcsynopsis>
  33. </refsynopsisdiv>
  34. <refsect1>
  35. <title>DESCRIPTION</title>
  36. <para><function>DtCreatePrintSetupDialog</function> is a convenience function
  37. that creates a <classname>DialogShell</classname> and an
  38. unmanaged <classname>DtPrintSetupBox</classname> child of the
  39. <classname>DialogShell</classname>.
  40. Use <function>XtManageChild</function> to pop up the
  41. print set up dialog (passing the <classname>DtPrintSetupBox</classname>
  42. as the widget parameter); use <function>XtUnmanageChild</function> to pop it down.
  43. </para>
  44. </refsect1>
  45. <refsect1>
  46. <title>ARGUMENTS</title>
  47. <variablelist>
  48. <varlistentry><term><symbol role="Variable">parent</symbol></term>
  49. <listitem>
  50. <para>Specifies the parent widget ID.
  51. </para>
  52. </listitem>
  53. </varlistentry>
  54. <varlistentry><term><symbol role="Variable">name</symbol></term>
  55. <listitem>
  56. <para>Specifies the name of the created widget.
  57. </para>
  58. </listitem>
  59. </varlistentry>
  60. <varlistentry><term><symbol role="Variable">arglist</symbol></term>
  61. <listitem>
  62. <para>Specifies the argument list.
  63. </para>
  64. </listitem>
  65. </varlistentry>
  66. <varlistentry><term><symbol role="Variable">argcount</symbol></term>
  67. <listitem>
  68. <para>Specifies the number of attribute/value pairs in
  69. <symbol role="Variable">arglist</symbol>.
  70. </para>
  71. </listitem>
  72. </varlistentry>
  73. </variablelist>
  74. </refsect1>
  75. <refsect1>
  76. <title>RETURN VALUE</title>
  77. <para>If <function>DtCreatePrintSetupDialog</function> completes
  78. successfully, it returns the <classname>DtPrintSetupBox</classname> widget ID.
  79. If it fails, it returns <symbol role="define">NULL</symbol>.
  80. </para>
  81. </refsect1>
  82. <refsect1>
  83. <title>ENVIRONMENT VARIABLES</title>
  84. <para>None.
  85. </para>
  86. </refsect1>
  87. <refsect1>
  88. <title>RESOURCES</title>
  89. <para>None.</para>
  90. </refsect1>
  91. <refsect1>
  92. <title>ACTIONS/MESSAGES</title>
  93. <para>None.
  94. </para>
  95. </refsect1>
  96. <refsect1>
  97. <title>ERRORS/WARNINGS</title>
  98. <para>None.</para>
  99. </refsect1>
  100. <refsect1>
  101. <title>EXAMPLES</title>
  102. <para>None.
  103. </para>
  104. </refsect1>
  105. <refsect1>
  106. <title>FILES</title>
  107. <para>None.
  108. </para>
  109. </refsect1>
  110. <refsect1>
  111. <title>SEE ALSO</title>
  112. <para><function>DtPrintSetupBox</function>(3),
  113. <function>DtCreatePrintSetupDialog</function>(3)</para>
  114. </refsect1>
  115. </refentry>