Initial import of the CDE 2.1.30 sources from the Open Group.

This commit is contained in:
Peter Howkins
2012-03-10 18:21:40 +00:00
commit 83b6996daa
18978 changed files with 3945623 additions and 0 deletions

View File

@@ -0,0 +1,71 @@
<!-- $XConsortium: SpinBoxS.sgm /main/10 1996/08/30 13:13:26 rws $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->
<![ %CDE.C.CDE; [<RefEntry Id="CDEMX.XCDI.MAN52.rsml.1">]]>
<![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN52.rsml.1">]]>
<RefMeta>
<RefEntryTitle>DtSpinBoxSetItem</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>DtSpinBoxSetItem</Function></RefName>
<RefPurpose>set an item in the DtSpinBox list
</RefPurpose>
</RefNameDiv>
<!-- CDE Common Source Format, Version 1.0.0-->
<!-- (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company-->
<!-- (c) Copyright 1993, 1994, 1995 International Business Machines Corp.-->
<!-- (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.-->
<!-- (c) Copyright 1993, 1994, 1995 Novell, Inc.-->
<!-- (c) Copyright 1993, 1994, 1995 Interleaf, Inc.-->
<RefSynopsisDiv>
<FuncSynopsis Remap="ANSI">
<FuncSynopsisInfo>#include &lt;Dt/SpinBox.h>
</FuncSynopsisInfo>
<FuncDef>void <Function>DtSpinBoxSetItem</Function></FuncDef>
<ParamDef>Widget <Parameter>w</Parameter></ParamDef>
<ParamDef>XmString <Parameter>item</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<note><para>This function has been superseded by the equivalent
Motif function <function>XmSimpleSpinBoxSetItem</function>. Please refer to the
<![ %CDE.C.CDE; [<emphasis>Motif Programmer's Reference</emphasis>]]><![ %CDE.C.XO; [&str-ZM;]]> for more information.
</para>
</note>
<Para>The
<Function>DtSpinBoxSetItem</Function> function selects an item in the list of the given DtSpinBox
widget and makes it the current value.
</Para>
<Para>The
<Symbol Role="Variable">w</Symbol> argument specifies the widget ID.
</Para>
<Para>The
<Symbol Role="Variable">item</Symbol> argument specifies the
<StructName Role="typedef">XmString</StructName> for the item to be set in the DtSpinBox.
If the
<Symbol Role="Variable">item</Symbol> is not found on the list,
<Function>DtSpinBoxSetItem</Function> notifies the user via the
<Function>XtWarning</Function> function.
</Para>
</RefSect1>
<RefSect1>
<Title>RETURN VALUE</Title>
<Para>The
<Function>DtSpinBoxSetItem</Function> function returns no value.
</Para>
</RefSect1>
<RefSect1>
<Title>SEE ALSO</Title>
<Para>&cdeman.DtSpinBox;,
&cdeman.DtSpinBoxAddItem;, &cdeman.DtSpinBoxDeletePos;, <![ %CDE.C.CDE; [<Function>XtWarning</Function>(3). ]]><![ %CDE.C.XO; [<Function>XtWarning</Function> in the &str-Zt;.]]>
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->