ComboDel.sgm 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <!-- $XConsortium: ComboDel.sgm /main/10 1996/08/30 12:54:28 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.MAN16.rsml.1">]]>
  10. <![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN16.rsml.1">]]>
  11. <RefMeta>
  12. <RefEntryTitle>DtComboBoxDeletePos</RefEntryTitle>
  13. <ManVolNum>library call</ManVolNum>
  14. </RefMeta>
  15. <RefNameDiv>
  16. <RefName><Function>DtComboBoxDeletePos</Function></RefName>
  17. <RefPurpose>delete a DtComboBox item
  18. </RefPurpose>
  19. </RefNameDiv>
  20. <!-- CDE Common Source Format, Version 1.0.0-->
  21. <!-- (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company-->
  22. <!-- (c) Copyright 1993, 1994, 1995 International Business Machines Corp.-->
  23. <!-- (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.-->
  24. <!-- (c) Copyright 1993, 1994, 1995 Novell, Inc.-->
  25. <!-- (c) Copyright 1993, 1994, 1995 Interleaf, Inc.-->
  26. <RefSynopsisDiv>
  27. <FuncSynopsis Remap="ANSI">
  28. <FuncSynopsisInfo>#include &lt;Dt/ComboBox.h>
  29. </FuncSynopsisInfo>
  30. <FuncDef>void <Function>DtComboBoxDeletePos</Function></FuncDef>
  31. <ParamDef>Widget <Parameter>w</Parameter></ParamDef>
  32. <ParamDef>int <Parameter>pos</Parameter></ParamDef>
  33. </FuncSynopsis>
  34. </RefSynopsisDiv>
  35. <RefSect1>
  36. <Title>DESCRIPTION</Title>
  37. <note><para>This function has been superseded by the equivalent
  38. Motif function, <function>XmComboBoxDeletePos</function>. Please refer to the
  39. <![ %CDE.C.CDE; [<emphasis>Motif Programmer's Reference</emphasis>]]><![ %CDE.C.XO; [&str-ZM;]]> for more information.
  40. </para>
  41. </note>
  42. <Para>The
  43. <Function>DtComboBoxDeletePos</Function> function deletes a specified item from a DtComboBox widget.
  44. </Para>
  45. <Para>The
  46. <Symbol Role="Variable">w</Symbol> argument specifies the DtComboBox widget ID.
  47. </Para>
  48. <Para>The
  49. <Emphasis>pos</Emphasis> argument specifies the position of the item to be deleted.
  50. </Para>
  51. </RefSect1>
  52. <RefSect1>
  53. <Title>RETURN VALUE</Title>
  54. <Para>The
  55. <Function>DtComboBoxDeletePos</Function> function returns no value.
  56. </Para>
  57. </RefSect1>
  58. <RefSect1>
  59. <Title>APPLICATION USAGE</Title>
  60. <Para>The functions
  61. <Function>DtComboBoxAddItem</Function> and
  62. <Function>DtComboBoxDeletePos</Function> have different naming conventions (Item versus Pos)
  63. because of the objects they are manipulating.
  64. The Item is a string to be added,
  65. the Pos is a numeric position number.
  66. </Para>
  67. </RefSect1>
  68. <RefSect1>
  69. <Title>SEE ALSO</Title>
  70. <Para>&cdeman.DtComboBox;,
  71. &cdeman.DtComboBoxAddItem;, &cdeman.DtComboBoxSetItem;, &cdeman.DtComboBoxSelectItem;.</Para>
  72. </RefSect1>
  73. </RefEntry>
  74. <!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->