Files
cdesktop/cde/doc/C/guides/man/man5/DtSpinBo.sgm

82 lines
2.8 KiB
Plaintext

<!-- $XConsortium: DtSpinBo.sgm /main/6 1996/09/08 19:59:48 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.MAN324.rsml.1">]]>
<![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN324.rsml.1">]]>
<RefMeta>
<RefEntryTitle>Dt/SpinBox.h</RefEntryTitle>
<ManVolNum>file formats</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Filename>Dt/SpinBox.h</Filename></RefName>
<RefPurpose>DtSpinBox widget definitions
</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.-->
<RefSynopsisDiv>
<Synopsis>#include &lt;Dt/SpinBox.h>
</Synopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para>The
<Filename Role="Header">Dt/SpinBox.h</Filename> header defines the following structure:
</Para>
<InformalExample Remap="indent">
<ProgramListing>typedef struct {
int <Symbol Role="Variable">reason</Symbol>;
XEvent *<Symbol Role="Variable">event</Symbol>;
Widget <Symbol Role="Variable">widget</Symbol>;
Boolean <Symbol Role="Variable">doit</Symbol>;
int <Symbol Role="Variable">position</Symbol>;
XmString <Symbol Role="Variable">value</Symbol>;
Boolean <Symbol Role="Variable">crossed_boundary</Symbol>;
} DtSpinBoxCallbackStruct;
</ProgramListing>
</InformalExample>
<Para>The header declares the following constants:
</Para>
<InformalExample Remap="indent">
<ProgramListing>DtARROWS_FLAT_BEGINNING
DtARROWS_FLAT_END
DtARROWS_SPLIT
DtARROWS_BEGINNING
DtARROWS_END
DtARROWS_SENSITIVE
DtARROWS_DECREMENT_SENSITIVE
DtARROWS_INCREMENT_SENSITIVE
DtARROWS_INSENSITIVE
DtNUMERIC
DtALIGNMENT_BEGINNING
DtALIGNMENT_CENTER
DtALIGNMENT_END
DtCR_SPIN_NEXT
DtCR_SPIN_PRIOR
</ProgramListing>
</InformalExample>
<Para>The header declares the following as functions:
</Para>
<Synopsis>void DtSpinBoxAddItem(Widget <Symbol Role="Variable">w</Symbol>,
XmString <Symbol Role="Variable">item</Symbol>,
int <Emphasis>pos</Emphasis>);
</Synopsis>
<Synopsis>void DtSpinBoxDeletePos(Widget <Symbol Role="Variable">w</Symbol>,
int <Emphasis>pos</Emphasis>);
</Synopsis>
<Synopsis>void DtSpinBoxSetItem(Widget <Symbol Role="Variable">w</Symbol>,
XmString <Symbol Role="Variable">item</Symbol>);
</Synopsis>
</RefSect1>
</RefEntry>
<!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->