74 lines
2.7 KiB
Plaintext
74 lines
2.7 KiB
Plaintext
<!-- $XConsortium: DtComboB.sgm /main/6 1996/09/08 19:58:38 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.MAN320.rsml.1">]]>
|
|
<![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN320.rsml.1">]]>
|
|
<RefMeta>
|
|
<RefEntryTitle>Dt/ComboBox.h</RefEntryTitle>
|
|
<ManVolNum>file formats</ManVolNum>
|
|
</RefMeta>
|
|
<RefNameDiv>
|
|
<RefName><Filename>Dt/ComboBox.h</Filename></RefName>
|
|
<RefPurpose>DtComboBox 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 <Dt/ComboBox.h>
|
|
</Synopsis>
|
|
</RefSynopsisDiv>
|
|
<RefSect1>
|
|
<Title>DESCRIPTION</Title>
|
|
<Para>The
|
|
<Filename Role="Header">Dt/ComboBox.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>;
|
|
XmString <Symbol Role="Variable">item_or_text</Symbol>;
|
|
int <Symbol Role="Variable">item_position</Symbol>;
|
|
} DtComboBoxCallbackStruct;
|
|
</ProgramListing>
|
|
</InformalExample>
|
|
<Para>The header declares the following constants:
|
|
</Para>
|
|
<InformalExample Remap="indent">
|
|
<ProgramListing>DtALIGNMENT_BEGINNING
|
|
DtALIGNMENT_CENTER
|
|
DtALIGNMENT_END
|
|
DtCR_SELECT
|
|
DtDROP_DOWN_COMBO_BOX
|
|
DtDROP_DOWN_LIST
|
|
</ProgramListing>
|
|
</InformalExample>
|
|
<Para>The header declares the following as functions:
|
|
</Para>
|
|
<Synopsis>void DtComboBoxAddItem(Widget <Symbol Role="Variable">w</Symbol>,
|
|
XmString <Symbol Role="Variable">item</Symbol>,
|
|
int <Emphasis>pos</Emphasis>,
|
|
Boolean <Emphasis>unique</Emphasis>);
|
|
</Synopsis>
|
|
<Synopsis>void DtComboBoxDeletePos(Widget <Symbol Role="Variable">w</Symbol>,
|
|
int <Emphasis>pos</Emphasis>);
|
|
</Synopsis>
|
|
<Synopsis>void DtComboBoxSelectItem(Widget <Symbol Role="Variable">w</Symbol>,
|
|
XmString <Symbol Role="Variable">item</Symbol>);
|
|
</Synopsis>
|
|
<Synopsis>void DtComboBoxSetItem(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-->
|