1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <!-- $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 <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-->
|