<!-- $XConsortium: Manager.sgm /main/12 1996/09/08 20:53:42 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. -->

<RefEntry Id="CDEMMA.MAN324.rsml.1">
<RefMeta>
<RefEntryTitle>XmManager</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Classname>XmManager</Classname></RefName>
<RefPurpose>The Manager widget class
<IndexTerm>
<Primary>XmManager</Primary>
</IndexTerm><IndexTerm>
<Primary>widget class</Primary>
<Secondary>Manager</Secondary>
</IndexTerm></RefPurpose>
</RefNameDiv>
<!-- -->
<!-- @OSF_COPYRIGHT@-->
<!-- COPYRIGHT NOTICE-->
<!-- Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.-->
<!-- ALL RIGHTS RESERVED (MOTIF). See the file named COPY.MOTIF.DOC for-->
<!-- the full copyright text.-->
<!-- -->
<!-- HISTORY-->
<!-- -->
<!-- **-->
<!-- **-->
<!-- **  (c) Copyright 1989, 1990, 1992 by Open Software Foundation, Inc.-->
<!-- **      All Rights Reserved.-->
<!-- **-->
<!-- **  (c) Copyright 1987, 1988, 1989, by Hewlett-Packard Company-->
<!-- **-->
<!-- **-->
<RefSynopsisDiv>
<Synopsis>&npzwc;#include &lt;Xm/Xm.h>
</Synopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para>Manager is a widget class used as a supporting superclass for other
widget classes. It supports the
visual resources, graphics contexts, and traversal resources necessary for the
graphics and traversal mechanisms.
</Para>
<RefSect2>
<Title>Classes</Title>
<Para>Manager inherits behavior and resources from <Classname>Core</Classname>,
<Classname>Composite</Classname>, and <Classname>Constraint</Classname>.
</Para>
<Para>The class pointer is <Symbol Role="Globalvar">xmManagerWidgetClass</Symbol>.
</Para>
<Para>The class name is <Classname>XmManager</Classname>.
</Para>
</RefSect2>
<RefSect2>
<Title>New Resources</Title>
<Para>The following table defines a set of widget resources used by the programmer
to specify data. The programmer can also set the resource values for the
inherited classes to set attributes for this widget. To reference a
resource by name or by class in a <Filename>.Xdefaults</Filename> file, remove the <SystemItem Class="Constant">XmN</SystemItem> or
<SystemItem Class="Constant">XmC</SystemItem> prefix and use the remaining letters. To specify one of the defined
values for a resource in a <Filename>.Xdefaults</Filename> file, remove the <SystemItem Class="Constant">Xm</SystemItem> prefix and use
the remaining letters (in either lowercase or uppercase, but include any
underscores between words).
The codes in the access column indicate if the given resource can be
set at creation time (C),
set by using <Function>XtSetValues</Function> (S),
retrieved by using <Function>XtGetValues</Function> (G), or is not applicable (N/A).
</Para>
<Para><!-- --><!-- @OSF_COPYRIGHT@--><!-- COPYRIGHT NOTICE--><!-- Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.--><!-- ALL RIGHTS RESERVED (MOTIF). See the file named COPY.MOTIF.DOC for--><!-- the full copyright text.--><!-- --><!-- HISTORY--><!-- --></Para>
<InformalTable Frame="All" Remap="center" Orient="Port">
<TGroup Cols="5">
<ColSpec Rowsep="1" Colsep="1" Align="Left" Colname="1">
<ColSpec Rowsep="1" Colsep="1" Align="Left" Colname="2">
<ColSpec Rowsep="1" Colsep="1" Align="Left" Colname="3">
<ColSpec Rowsep="1" Colsep="1" Align="Left" Colname="4">
<ColSpec Rowsep="1" Align="Left" Colname="5">
<TBody>
<Row>
<Entry Align="Center" Nameend="5" Namest="1"><Literal>XmManager Resource Set</Literal></Entry>
</Row>
<Row>
<Entry Rowsep="1"><Literal>Name</Literal></Entry>
<Entry Rowsep="1"><Literal>Class</Literal></Entry>
<Entry Rowsep="1"><Literal>Type</Literal></Entry>
<Entry Rowsep="1"><Literal>Default</Literal></Entry>
<Entry Rowsep="1"><Literal>Access</Literal></Entry>
</Row>
<Row>
<Entry>XmNbottomShadowColor</Entry>
<Entry>XmCBottomShadowColor</Entry>
<Entry>Pixel</Entry>
<Entry>dynamic</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNbottomShadowPixmap</Entry>
<Entry>XmCBottomShadowPixmap</Entry>
<Entry>Pixmap</Entry>
<Entry>XmUNSPECIFIED_PIXMAP</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNforeground</Entry>
<Entry>XmCForeground</Entry>
<Entry>Pixel</Entry>
<Entry>dynamic</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNhelpCallback</Entry>
<Entry>XmCCallback</Entry>
<Entry>XtCallbackList</Entry>
<Entry>NULL</Entry>
<Entry>C</Entry>
</Row>
<Row>
<Entry>XmNhighlightColor</Entry>
<Entry>XmCHighlightColor</Entry>
<Entry>Pixel</Entry>
<Entry>dynamic</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNhighlightPixmap</Entry>
<Entry>XmCHighlightPixmap</Entry>
<Entry>Pixmap</Entry>
<Entry>dynamic</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNinitialFocus</Entry>
<Entry>XmCInitialFocus</Entry>
<Entry>Widget</Entry>
<Entry>NULL</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNlayoutDirection</Entry>
<Entry>XmCLayoutDirection</Entry>
<Entry>XmDirection</Entry>
<Entry>dynamic</Entry>
<Entry>CG</Entry>
</Row>
<Row>
<Entry>XmNnavigationType</Entry>
<Entry>XmCNavigationType</Entry>
<Entry>XmNavigationType</Entry>
<Entry>XmTAB_GROUP</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNpopupHandlerCallback</Entry>
<Entry>XmCCallback</Entry>
<Entry>XtCallbackList</Entry>
<Entry>NULL</Entry>
<Entry>C</Entry>
</Row>
<Row>
<Entry>XmNshadowThickness</Entry>
<Entry>XmCShadowThickness</Entry>
<Entry>Dimension</Entry>
<Entry>0</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNstringDirection</Entry>
<Entry>XmCStringDirection</Entry>
<Entry>XmStringDirection</Entry>
<Entry>dynamic</Entry>
<Entry>CG</Entry>
</Row>
<Row>
<Entry>XmNtopShadowColor</Entry>
<Entry>XmCTopShadowColor</Entry>
<Entry>Pixel</Entry>
<Entry>dynamic</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNtopShadowPixmap</Entry>
<Entry>XmCTopShadowPixmap</Entry>
<Entry>Pixmap</Entry>
<Entry>dynamic</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNtraversalOn</Entry>
<Entry>XmCTraversalOn</Entry>
<Entry>Boolean</Entry>
<Entry>True</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNunitType</Entry>
<Entry>XmCUnitType</Entry>
<Entry>unsigned char</Entry>
<Entry>dynamic</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNuserData</Entry>
<Entry>XmCUserData</Entry>
<Entry>XtPointer</Entry>
<Entry>NULL</Entry>
<Entry>CSG</Entry>
</Row>
</TBody>
</TGroup>
</InformalTable>
<VariableList>
<VarListEntry>
<Term><SystemItem Class="Resource">XmNbottomShadowColor</SystemItem></Term>
<ListItem>
<Para>Specifies the color to use to draw the bottom
and right sides of the border shadow.
This color is used if the <SystemItem Class="Resource">XmNbottomShadowPixmap</SystemItem> resource is NULL.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Resource">XmNbottomShadowPixmap</SystemItem></Term>
<ListItem>
<Para>Specifies the pixmap to use to draw the bottom and right sides of the border
shadow.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Resource">XmNforeground</SystemItem></Term>
<ListItem>
<Para>Specifies the foreground drawing color used by manager widgets.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Resource">XmNhelpCallback</SystemItem></Term>
<ListItem>
<Para>Specifies the list of callbacks that are called when the help key
sequence is pressed. The reason sent by this callback is <SystemItem Class="Constant">XmCR_HELP</SystemItem>.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Resource">XmNhighlightColor</SystemItem></Term>
<ListItem>
<Para>Specifies the color of the highlighting rectangle.
This color is used if the highlight pixmap resource is
<SystemItem Class="Constant">XmUNSPECIFIED_PIXMAP</SystemItem>.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Resource">XmNhighlightPixmap</SystemItem></Term>
<ListItem>
<Para>Specifies the pixmap used to draw the highlighting rectangle.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Resource">XmNinitialFocus</SystemItem></Term>
<ListItem>
<Para>Specifies the ID of a widget descendant of the manager.
The widget must meet these conditions:
</Para>
<ItemizedList>
<ListItem>
<Para>The widget must be either a tab group or a non-tab-group widget that can
receive keyboard focus.
For the definition of a tab group, see the description of the Manager,
Primitive, and Gadget <SystemItem Class="Resource">XmNnavigationType</SystemItem> resources.
In general a widget can receive keyboard focus when it is a primitive, a
gadget, or a manager (such as a DrawingArea with no traversable
children) that acts as a primitive.
</Para>
</ListItem>
<ListItem>
<Para>The widget must not be a descendant of a tab group that is itself a
descendant of the manager.
That is, the widget cannot be contained within a tab group that is
nested inside the manager.
</Para>
</ListItem>
<ListItem>
<Para>The widget and its ancestors must have a value of True for their
<SystemItem Class="Resource">XmNtraversalOn</SystemItem> resources.
</Para>
</ListItem>
</ItemizedList>
<Para>If the widget does not meet these conditions, <SystemItem Class="Resource">XmNinitialFocus</SystemItem> is
treated as if the value were NULL.
</Para>
<Para>This resource is meaningful only when the nearest shell ancestor's
<SystemItem Class="Resource">XmNkeyboardFocusPolicy</SystemItem> is <SystemItem Class="Constant">XmEXPLICIT</SystemItem>.
It is used to determine which widget receives focus in these situations:
</Para>
<ItemizedList>
<ListItem>
<Para>When the manager is the child of a shell and the shell hierarchy
receives focus for the first time
</Para>
</ListItem>
<ListItem>
<Para>When focus is inside the shell hierarchy, the manager is a composite tab
group, and the user traverses to the manager via the keyboard
</Para>
</ListItem>
</ItemizedList>
<Para>Focus is then determined as follows:
</Para>
<ItemizedList>
<ListItem>
<Para>If <SystemItem Class="Resource">XmNinitialFocus</SystemItem> is a traversable non-tab-group widget, that
widget receives focus.
</Para>
</ListItem>
<ListItem>
<Para>If <SystemItem Class="Resource">XmNinitialFocus</SystemItem> is a traversable tab group, that tab group
receives focus.
If that tab group is a composite with descendant tab groups or
traversable non-tab-group widgets, these procedures are used recursively
to assign focus to a descendant of that tab group.
</Para>
</ListItem>
<ListItem>
<Para>If <SystemItem Class="Resource">XmNinitialFocus</SystemItem> is NULL, the first traversable non-tab-group
widget that is not contained within a nested tab group receives focus.
</Para>
</ListItem>
<ListItem>
<Para>If <SystemItem Class="Resource">XmNinitialFocus</SystemItem> is NULL and no traversable non-tab-group widget
exists, the first traversable tab group that is not contained within a
nested tab group receives focus.
If that tab group is a composite with descendant tab groups or
traversable non-tab-group widgets, these procedures are used recursively
to assign focus to a descendant of that tab group.
</Para>
</ListItem>
</ItemizedList>
<Para>If a shell hierarchy regains focus after losing it, focus returns to the
widget that had the focus at the time it left the hierarchy.
</Para>
<Para>The use of <SystemItem Class="Resource">XmNinitialFocus</SystemItem> is undefined if the manager is a
MenuBar, PulldownMenu, PopupMenu, or OptionMenu.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Resource">XmNlayoutDirection</SystemItem></Term>
<ListItem>
<Para>Specifies the direction in which components of the manager (including
strings) are laid out. The values are of type <StructName Role="typedef">XmDirection</StructName>. If
the widget's parent is a manager or shell, the value is inherited from
the widget's parent. Otherwise, it is inherited from the closest
ancestor vendor or menu shell. Refer to the &cdeman.XmDirection;
reference page for the possible direction values.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Resource">XmNnavigationType</SystemItem></Term>
<ListItem>
<Para>Determines whether the widget is a tab group.
</Para>
<VariableList>
<VarListEntry>
<Term><SystemItem Class="Constant">XmNONE</SystemItem></Term>
<ListItem>
<Para>Indicates that the widget is not a tab group.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Constant">XmTAB_GROUP</SystemItem></Term>
<ListItem>
<Para>Indicates that the widget is a tab group, unless
the <SystemItem Class="Resource">XmNnavigationType</SystemItem> of another widget in the hierarchy is
<SystemItem Class="Constant">XmEXCLUSIVE_TAB_GROUP</SystemItem>.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Constant">XmSTICKY_TAB_GROUP</SystemItem></Term>
<ListItem>
<Para>Indicates that the widget is a tab group, even if
the <SystemItem Class="Resource">XmNnavigationType</SystemItem> of another widget in the hierarchy is
<SystemItem Class="Constant">XmEXCLUSIVE_TAB_GROUP</SystemItem>.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Constant">XmEXCLUSIVE_TAB_GROUP</SystemItem></Term>
<ListItem>
<Para>Indicates that the widget is a tab group and
that widgets in the hierarchy whose <SystemItem Class="Resource">XmNnavigationType</SystemItem> is
<SystemItem Class="Constant">XmTAB_GROUP</SystemItem> are not tab groups.
</Para>
<Para>When a parent widget has an <SystemItem Class="Resource">XmNnavigationType</SystemItem> of
<SystemItem Class="Constant">XmEXCLUSIVE_TAB_GROUP</SystemItem>, traversal of non-tab-group widgets within
the group is based on the order of those widgets in their parent's
<SystemItem Class="Resource">XmNchildren</SystemItem> list.
</Para>
<Para>When the <SystemItem Class="Resource">XmNnavigationType</SystemItem> of any widget in a hierarchy is
<SystemItem Class="Constant">XmEXCLUSIVE_TAB_GROUP</SystemItem>, traversal of tab groups in the hierarchy
proceeds to widgets in the order in which their <SystemItem Class="Resource">XmNnavigationType</SystemItem>
resources were specified as <SystemItem Class="Constant">XmEXCLUSIVE_TAB_GROUP</SystemItem> or
<SystemItem Class="Constant">XmSTICKY_TAB_GROUP</SystemItem>, whether by creating the widgets with that value,
by calling <Function>XtSetValues</Function>, or by calling <Function>XmAddTabGroup</Function>.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
<!--no-op:  .rE-->
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Resource">XmNpopupHandlerCallback</SystemItem></Term>
<ListItem>
<Para>Allows the application to control which popup menu will be
automatically posted. The reason can either be <SystemItem Class="Constant">XmCR_POST</SystemItem> or
<Literal>XmCR_REPOST:</Literal></Para>
<VariableList>
<VarListEntry>
<Term><SystemItem Class="Constant">XmCR_POST</SystemItem></Term>
<ListItem>
<Para>Indicates that this is a regular posting request.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Constant">XmCR_REPOST</SystemItem></Term>
<ListItem>
<Para>Indicates that the menu was just unposted and that this callback was
invoked on a replay.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
<Para>This callback
uses the <StructName Role="typedef">XmPopupHandlerCallbackStruct</StructName>
structure to pass information.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Resource">XmNshadowThickness</SystemItem></Term>
<ListItem>
<Para>Specifies the thickness of the drawn border shadow.
<Classname>XmBulletinBoard</Classname> and its descendants set this value dynamically.
If the widget is a top-level window, this value is set to 1.
If it is not a top-level window, this value is set to 0 (zero).
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Resource">XmNstringDirection</SystemItem></Term>
<ListItem>
<Para>Is a synthetic resource for setting <SystemItem Class="Resource">XmNlayoutDirection</SystemItem>.
The values for this resource are <SystemItem Class="Constant">XmSTRING_DIRECTION_L_TO_R</SystemItem> and
<SystemItem Class="Constant">XmSTRING_DIRECTION_R_TO_L</SystemItem>. Refer to the
<SystemItem Class="Resource">XmNlayoutDirection</SystemItem> resource description. The
<SystemItem Class="Resource">XmNstringDirection</SystemItem> resource is obsoleted by
<SystemItem Class="Resource">XmNlayoutDirection</SystemItem>, but is kept here for backward compatibility.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Resource">XmNtopShadowColor</SystemItem></Term>
<ListItem>
<Para>Specifies the color to use to draw the top and
left sides of the border shadow.
This color is used if the <SystemItem Class="Resource">XmNtopShadowPixmap</SystemItem> resource is NULL.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Resource">XmNtopShadowPixmap</SystemItem></Term>
<ListItem>
<Para>Specifies the pixmap to use to draw the top and left sides of
the border shadow.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Resource">XmNtraversalOn</SystemItem></Term>
<ListItem>
<Para>Specifies whether traversal is activated for this widget.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Resource">XmNunitType</SystemItem></Term>
<ListItem>
<Para>Provides the basic support for resolution independence.
It defines the type of units a widget uses with sizing and
positioning resources.
If the widget's parent is a subclass of <Classname>XmManager</Classname> and if the
<SystemItem Class="Resource">XmNunitType</SystemItem> resource is not explicitly set, it defaults to the
unit type of the parent widget.
If the widget's parent is not a subclass of <Classname>XmManager</Classname>, the
resource has a default unit type of <SystemItem Class="Constant">XmPIXELS</SystemItem>.
</Para>
<Para>The unit type can also be specified in resource files, with the
following format:
</Para>
<InformalExample>
<ProgramListing><Symbol Role="Variable">&lt;floating value>&lt;unit></Symbol>
</ProgramListing>
</InformalExample>
<Para>where:
</Para>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">unit</Symbol></Term>
<ListItem>
<Para>is &lt;" ", pixels, inches, centimeters, millimeters, points, font units>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Emphasis>pixels</Emphasis></Term>
<ListItem>
<Para>is &lt;<Symbol Role="Variable">pix</Symbol>, <Symbol Role="Variable">pixel</Symbol>, <Emphasis>pixels</Emphasis>>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">inches</Symbol></Term>
<ListItem>
<Para>is &lt;<Symbol Role="Variable">in</Symbol>, <Symbol Role="Variable">inch</Symbol>, <Symbol Role="Variable">inches</Symbol>>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">centimeter</Symbol></Term>
<ListItem>
<Para>is &lt;<Symbol Role="Variable">cm</Symbol>, <Symbol Role="Variable">centimeter</Symbol>, <Symbol Role="Variable">centimeters</Symbol>>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">millimeters</Symbol></Term>
<ListItem>
<Para>is &lt;<Symbol Role="Variable">mm</Symbol>, <Symbol Role="Variable">millimeter</Symbol>, <Symbol Role="Variable">millimeters</Symbol>>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Literal>points</Literal></Term>
<ListItem>
<Para>is &lt;<Symbol Role="Variable">pt</Symbol>, <Symbol Role="Variable">point</Symbol>, <Symbol Role="Variable">points</Symbol>>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Literal>font units</Literal></Term>
<ListItem>
<Para>is &lt;<Symbol Role="Variable">fu</Symbol>, <Literal>font_unit</Literal>, <Literal>font_units</Literal>>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">float</Symbol></Term>
<ListItem>
<Para>is {"+"|"-"}{{&lt;"0"-"9">*}.}&lt;"0"-"9">*
</Para>
<Para>Note that the type Dimension must always be positive.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
<Para>For example,
</Para>
<InformalExample>
<ProgramListing>xmfonts*XmMainWindow.height: 10.4cm
*PostIn.width: 3inches
</ProgramListing>
</InformalExample>
<Para><SystemItem Class="Resource">XmNunitType</SystemItem> can have the following values:
</Para>
<VariableList>
<VarListEntry>
<Term><SystemItem Class="Constant">XmPIXELS</SystemItem></Term>
<ListItem>
<Para>All values provided to the widget are treated as normal
pixel values.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Constant">XmMILLIMETERS</SystemItem></Term>
<ListItem>
<Para>All values provided to the widget are treated as normal millimeter
values.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol>Xm100TH_MILLIMETERS</Symbol></Term>
<ListItem>
<Para>All values provided to the widget are treated
as 1/100 of a millimeter.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Constant">XmCENTIMETERS</SystemItem></Term>
<ListItem>
<Para>All values provided to the widget are treated as normal centimeter
values.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Constant">XmINCHES</SystemItem></Term>
<ListItem>
<Para>All values provided to the widget are treated as normal inch
values.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol>Xm1000TH_INCHES</Symbol></Term>
<ListItem>
<Para>All values provided to the widget are treated as
1/1000 of an inch.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Constant">XmPOINTS</SystemItem></Term>
<ListItem>
<Para>All values provided to the widget are treated as normal point
values. A point is a unit used in text processing
applications and is defined as 1/72 of an inch.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol>Xm100TH_POINTS</Symbol></Term>
<ListItem>
<Para>All values provided to the widget are treated as
1/100 of a point. A point is a unit used in text processing
applications and is defined as 1/72 of an inch.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Constant">XmFONT_UNITS</SystemItem></Term>
<ListItem>
<Para>All values provided to the widget are treated as normal font
units. A font unit has horizontal and vertical components.
These are the values of the XmScreen resources <SystemItem Class="Resource">XmNhorizontalFontUnit</SystemItem>
and <SystemItem Class="Resource">XmNverticalFontUnit</SystemItem>.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol>Xm100TH_FONT_UNITS</Symbol></Term>
<ListItem>
<Para>All values provided to the widget are
treated as 1/100 of a font unit.
A font unit has horizontal and vertical components.
These are the values of the XmScreen resources <SystemItem Class="Resource">XmNhorizontalFontUnit</SystemItem>
and <SystemItem Class="Resource">XmNverticalFontUnit</SystemItem>.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Resource">XmNuserData</SystemItem></Term>
<ListItem>
<Para>Allows the application to attach
any necessary specific data to the widget. This is an internally
unused resource.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
</RefSect2>
<RefSect2>
<Title>Dynamic Color Defaults</Title>
<Para>The foreground, background, top shadow, bottom shadow, and
highlight color resources are dynamically defaulted.
If no color data is specified, the colors are
automatically generated. On a single-plane system, a black and white color
scheme is generated. Otherwise, four colors are
generated, which display the correct shading for the 3-D visuals.
If the background is the only color specified for a widget, the top
shadow and bottom shadow colors are generated to give the 3-D appearance.
Foreground and highlight colors are generated to provide sufficient
contrast with the background color.
</Para>
<Para>Colors are generated only at creation. Resetting the background through
<Function>XtSetValues</Function> does not regenerate the other colors.
<Function>XmChangeColor</Function> can be used to recalculate all associated colors
based on a new background color.
</Para>
</RefSect2>
<RefSect2>
<Title>Inherited Resources</Title>
<Para>Manager inherits resources from the
superclasses described in the following tables.
For a complete description of each resource, refer to the
reference page for that superclass.
</Para>
<Para><!-- --><!-- @OSF_COPYRIGHT@--><!-- COPYRIGHT NOTICE--><!-- Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.--><!-- ALL RIGHTS RESERVED (MOTIF). See the file named COPY.MOTIF.DOC for--><!-- the full copyright text.--><!-- --><!-- HISTORY--><!-- --></Para>
<InformalTable Frame="All" Remap="center" Orient="Port">
<TGroup Cols="5">
<ColSpec Rowsep="1" Colsep="1" Align="Left" Colname="1">
<ColSpec Rowsep="1" Colsep="1" Align="Left" Colname="2">
<ColSpec Rowsep="1" Colsep="1" Align="Left" Colname="3">
<ColSpec Rowsep="1" Colsep="1" Align="Left" Colname="4">
<ColSpec Rowsep="1" Align="Left" Colname="5">
<TBody>
<Row>
<Entry Align="Center" Nameend="5" Namest="1"><Literal>Composite Resource Set</Literal></Entry>
</Row>
<Row>
<Entry Rowsep="1"><Literal>Name</Literal></Entry>
<Entry Rowsep="1"><Literal>Class</Literal></Entry>
<Entry Rowsep="1"><Literal>Type</Literal></Entry>
<Entry Rowsep="1"><Literal>Default</Literal></Entry>
<Entry Rowsep="1"><Literal>Access</Literal></Entry>
</Row>
<Row>
<Entry>XmNchildren</Entry>
<Entry>XmCReadOnly</Entry>
<Entry>WidgetList</Entry>
<Entry>NULL</Entry>
<Entry>G</Entry>
</Row>
<Row>
<Entry>XmNinsertPosition</Entry>
<Entry>XmCInsertPosition</Entry>
<Entry>XtOrderProc</Entry>
<Entry>NULL</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNnumChildren</Entry>
<Entry>XmCReadOnly</Entry>
<Entry>Cardinal</Entry>
<Entry>0</Entry>
<Entry>G</Entry>
</Row>
</TBody>
</TGroup>
</InformalTable>
<Para><!-- --><!-- @OSF_COPYRIGHT@--><!-- COPYRIGHT NOTICE--><!-- Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.--><!-- ALL RIGHTS RESERVED (MOTIF). See the file named COPY.MOTIF.DOC for--><!-- the full copyright text.--><!-- --><!-- HISTORY--><!-- --><!--no-op:  .in--></Para>
<InformalTable Frame="All" Remap="center" Orient="Port">
<TGroup Cols="5">
<ColSpec Rowsep="1" Colsep="1" Align="Left" Colname="1">
<ColSpec Rowsep="1" Colsep="1" Align="Left" Colname="2">
<ColSpec Rowsep="1" Colsep="1" Align="Left" Colname="3">
<ColSpec Rowsep="1" Colsep="1" Align="Left" Colname="4">
<ColSpec Rowsep="1" Align="Left" Colname="5">
<TBody>
<Row>
<Entry Align="Center" Nameend="5" Namest="1"><Literal>Core Resource Set</Literal></Entry>
</Row>
<Row>
<Entry Rowsep="1"><Literal>Name</Literal></Entry>
<Entry Rowsep="1"><Literal>Class</Literal></Entry>
<Entry Rowsep="1"><Literal>Type</Literal></Entry>
<Entry Rowsep="1"><Literal>Default</Literal></Entry>
<Entry Rowsep="1"><Literal>Access</Literal></Entry>
</Row>
<Row>
<Entry>XmNaccelerators</Entry>
<Entry>XmCAccelerators</Entry>
<Entry>XtAccelerators</Entry>
<Entry>dynamic</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNancestorSensitive</Entry>
<Entry>XmCSensitive</Entry>
<Entry>Boolean</Entry>
<Entry>dynamic</Entry>
<Entry>G</Entry>
</Row>
<Row>
<Entry>XmNbackground</Entry>
<Entry>XmCBackground</Entry>
<Entry>Pixel</Entry>
<Entry>dynamic</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNbackgroundPixmap</Entry>
<Entry>XmCPixmap</Entry>
<Entry>Pixmap</Entry>
<Entry>XmUNSPECIFIED_PIXMAP</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNborderColor</Entry>
<Entry>XmCBorderColor</Entry>
<Entry>Pixel</Entry>
<Entry>XtDefaultForeground</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNborderPixmap</Entry>
<Entry>XmCPixmap</Entry>
<Entry>Pixmap</Entry>
<Entry>XmUNSPECIFIED_PIXMAP</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNborderWidth</Entry>
<Entry>XmCBorderWidth</Entry>
<Entry>Dimension</Entry>
<Entry>0</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNcolormap</Entry>
<Entry>XmCColormap</Entry>
<Entry>Colormap</Entry>
<Entry>dynamic</Entry>
<Entry>CG</Entry>
</Row>
<Row>
<Entry>XmNdepth</Entry>
<Entry>XmCDepth</Entry>
<Entry>int</Entry>
<Entry>dynamic</Entry>
<Entry>CG</Entry>
</Row>
<Row>
<Entry>XmNdestroyCallback</Entry>
<Entry>XmCCallback</Entry>
<Entry>XtCallbackList</Entry>
<Entry>NULL</Entry>
<Entry>C</Entry>
</Row>
<Row>
<Entry>XmNheight</Entry>
<Entry>XmCHeight</Entry>
<Entry>Dimension</Entry>
<Entry>dynamic</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNinitialResourcesPersistent</Entry>
<Entry>XmCInitialResourcesPersistent</Entry>
<Entry>Boolean</Entry>
<Entry>True</Entry>
<Entry>C</Entry>
</Row>
<Row>
<Entry>XmNmappedWhenManaged</Entry>
<Entry>XmCMappedWhenManaged</Entry>
<Entry>Boolean</Entry>
<Entry>True</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNscreen</Entry>
<Entry>XmCScreen</Entry>
<Entry>Screen *</Entry>
<Entry>dynamic</Entry>
<Entry>CG</Entry>
</Row>
<Row>
<Entry>XmNsensitive</Entry>
<Entry>XmCSensitive</Entry>
<Entry>Boolean</Entry>
<Entry>True</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNtranslations</Entry>
<Entry>XmCTranslations</Entry>
<Entry>XtTranslations</Entry>
<Entry>dynamic</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNwidth</Entry>
<Entry>XmCWidth</Entry>
<Entry>Dimension</Entry>
<Entry>dynamic</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNx</Entry>
<Entry>XmCPosition</Entry>
<Entry>Position</Entry>
<Entry>0</Entry>
<Entry>CSG</Entry>
</Row>
<Row>
<Entry>XmNy</Entry>
<Entry>XmCPosition</Entry>
<Entry>Position</Entry>
<Entry>0</Entry>
<Entry>CSG</Entry>
</Row>
</TBody>
</TGroup>
</InformalTable>
</RefSect2>
<RefSect2>
<Title>Callback Information</Title>
<Para>A pointer to the following structure is passed to each callback for
<SystemItem Class="Resource">XmNhelpCallback</SystemItem>:
</Para>
<Synopsis>typedef struct
{
        int <Symbol Role="Variable">reason</Symbol>;
        XEvent <Symbol Role="Variable">* event</Symbol>;
} XmAnyCallbackStruct;</Synopsis>
<!--no-op:  .fi-->
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">reason</Symbol></Term>
<ListItem>
<Para>Indicates why the callback was invoked.
For this callback, <Symbol Role="Variable">reason</Symbol> is set to <SystemItem Class="Constant">XmCR_HELP</SystemItem>.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">event</Symbol></Term>
<ListItem>
<Para>Points to the <Symbol>XEvent</Symbol> that triggered the callback.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
<Para>A pointer to the following structure is passed to each callback for
<SystemItem Class="Resource">XmNpopupHandlerCallback</SystemItem>:
</Para>
<Synopsis>typedef struct
{
        int <Symbol Role="Variable">reason</Symbol>;
        XEvent <Symbol Role="Variable">* xevent</Symbol>;
        Widget <Symbol Role="Variable">menuToPost</Symbol>;
        Boolean <Symbol Role="Variable">postIt</Symbol>;
        Widget <Symbol Role="Variable">target</Symbol>;
} XmPopupHandlerCallbackStruct;</Synopsis>
<!--no-op:  .fi-->
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">reason</Symbol></Term>
<ListItem>
<Para>Indicates why the callback was invoked.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">xevent</Symbol></Term>
<ListItem>
<Para>Points to the <Symbol>XEvent</Symbol> that triggered the handler.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">menuToPost</Symbol></Term>
<ListItem>
<Para>Specifies the popup menu that the menu system believes should be
posted. The application may modify this field.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">postIt</Symbol></Term>
<ListItem>
<Para>Indicates whether the posting process should continue. The
application may modify this field.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">target</Symbol></Term>
<ListItem>
<Para>Specifies the most specific widget or gadget that the menu sytem found
from the event that matches the event.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
<!-- -->
<!-- @OSF_COPYRIGHT@-->
<!-- COPYRIGHT NOTICE-->
<!-- Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.-->
<!-- ALL RIGHTS RESERVED (MOTIF). See the file named COPY.MOTIF.DOC for-->
<!-- the full copyright text.-->
<!-- -->
<!-- HISTORY-->
<!-- -->
<!-- Action Table for XmManager -->
</RefSect2>
<RefSect2>
<Title>Translations</Title>
<Para>The following set of translations are used by Manager widgets that
have Gadget children. Because Gadgets cannot have translations associated
with them, it is the responsibility of the Manager widget to intercept the
events of interest and pass them to any Gadget child with focus.
These events are ignored if no Gadget child has the focus.
</Para>
<Para>The following key names are listed in the
X standard key event translation table syntax.
This format is the one used by Motif to
specify the widget actions corresponding to a given key.
A brief overview of the format is provided under
&cdeman.VirtualBindings;.
For a complete description of the format, please refer to the
X Toolkit Instrinsics Documentation.
</Para>
<VariableList>
<VarListEntry>
<Term><KeySym>BtnMotion</KeySym>:</Term>
<ListItem>
<Para><Action>ManagerGadgetButtonMotion()</Action>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Literal>c&lt;Btn1Down></Literal>:</Term>
<ListItem>
<Para><Action>ManagerGadgetTraverseCurrent()</Action>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Literal>&ap;c</Literal><KeySym>Btn1Down</KeySym>:</Term>
<ListItem>
<Para><Action>ManagerGadgetArm()</Action>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Literal>&ap;c</Literal><KeySym>Btn1Down</KeySym><Literal>,&ap;c</Literal><KeySym>Btn1Up</KeySym>:</Term>
<ListItem>
<Para><Action>ManagerGadgetActivate()</Action>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Literal>&ap;c</Literal><KeySym>Btn1Up</KeySym>:</Term>
<ListItem>
<Para><Action>ManagerGadgetActivate()</Action>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Literal>&ap;c</Literal><KeySym>Btn1Down</KeySym><Literal>(2+)</Literal>:</Term>
<ListItem>
<Para><Action>ManagerGadgetMultiArm()</Action>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Literal>&ap;c</Literal><KeySym>Btn1Up</KeySym><Literal>(2+)</Literal>:</Term>
<ListItem>
<Para><Action>ManagerGadgetMultiActivate()</Action>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><KeySym>Btn2Down</KeySym>:</Term>
<ListItem>
<Para><Action>ManagerGadgetDrag()</Action>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Literal>:</Literal><KeySym>Key</KeySym><KeySym>osfActivate</KeySym>:</Term>
<ListItem>
<Para><Action>ManagerParentActivate()</Action>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Literal>:</Literal><KeySym>Key</KeySym><KeySym>osfCancel</KeySym>:</Term>
<ListItem>
<Para><Action>ManagerParentCancel()</Action>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Literal>:</Literal><KeySym>Key</KeySym><KeySym>osfSelect</KeySym>:</Term>
<ListItem>
<Para><Action>ManagerGadgetSelect()</Action>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Literal>:</Literal><KeySym>Key</KeySym><KeySym>osfHelp</KeySym>:</Term>
<ListItem>
<Para><Action>ManagerGadgetHelp()</Action>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Literal>&ap;s &ap;m &ap;a</Literal> <KeySym>Key</KeySym><Literal>Return</Literal>:</Term>
<ListItem>
<Para><Action>ManagerParentActivate()</Action>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Literal>&ap;s &ap;m &ap;a</Literal> <KeySym>Key</KeySym><Literal>space</Literal>:</Term>
<ListItem>
<Para><Action>ManagerGadgetSelect()</Action>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><KeySym>Key</KeySym>:</Term>
<ListItem>
<Para><Action>ManagerGadgetKeyInput()</Action>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Literal>:</Literal><KeySym>Key</KeySym><KeySym>osfBeginLine</KeySym>:</Term>
<ListItem>
<Para><Action>ManagerGadgetTraverseHome()</Action>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Literal>:</Literal><KeySym>Key</KeySym><KeySym>osfUp</KeySym>:</Term>
<ListItem>
<Para><Action>ManagerGadgetTraverseUp()</Action>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Literal>:</Literal><KeySym>Key</KeySym><KeySym>osfDown</KeySym>:</Term>
<ListItem>
<Para><Action>ManagerGadgetTraverseDown()</Action>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Literal>:</Literal><KeySym>Key</KeySym><KeySym>osfLeft</KeySym>:</Term>
<ListItem>
<Para><Action>ManagerGadgetTraverseLeft()</Action>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Literal>:</Literal><KeySym>Key</KeySym><KeySym>osfRight</KeySym>:</Term>
<ListItem>
<Para><Action>ManagerGadgetTraverseRight()</Action>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Literal>s &ap;m &ap;a</Literal> <KeySym>Key</KeySym><Literal>Tab</Literal>:</Term>
<ListItem>
<Para><Action>ManagerGadgetPrevTabGroup()</Action>
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Literal>&ap;m &ap;a</Literal> <KeySym>Key</KeySym><Literal>Tab</Literal>:</Term>
<ListItem>
<Para><Action>ManagerGadgetNextTabGroup()</Action>
</Para>
</ListItem>
</VarListEntry>
</VariableList>
<!--These translations may not directly correspond to a
translation table.
.VL 2i 0 1
.LI "&bsol;*LBAny Motion:&bsol;*O"
&bsol;*LManagerGadgetButtonMotion()&bsol;*O
.LI "&bsol;*LBSelect Press:&bsol;*O"
&bsol;*LManagerGadgetArm()&bsol;*O
.LI "&bsol;*LBSelect Click:&bsol;*O"
&bsol;*LManagerGadgetActivate()&bsol;*O
.LI "&bsol;*LBSelect Release:&bsol;*O"
&bsol;*LManagerGadgetActivate()&bsol;*O
.LI "&bsol;*LBSelect Press 2+:&bsol;*O"
&bsol;*LManagerGadgetMultiArm()&bsol;*O
.LI "&bsol;*LBSelect Release 2+:&bsol;*O"
&bsol;*LManagerGadgetMultiActivate()&bsol;*O
.LI "&bsol;*LBTransfer Press:&bsol;*O"
&bsol;*LManagerGadgetDrag()&bsol;*O
.zA "feature, 5750, R2.0, Added new translation"
.LI "&bsol;*LCtrl&lt;Btn1Down>:&bsol;*O"
&bsol;*LGadgetTakeFocus()&bsol;*O
.zZ "feature, 5750, R2.0, Added new translation"
.LI "&bsol;*LKSelect:&bsol;*O"
&bsol;*LManagerGadgetSelect()&bsol;*O
.LI "&bsol;*LKActivate:&bsol;*O"
&bsol;*LManagerParentActivate()&bsol;*O
.LI "&bsol;*LKCancel:&bsol;*O"
&bsol;*LManagerParentCancel()&bsol;*O
.LI "&bsol;*LKPrevField:&bsol;*O"
&bsol;*LManagerGadgetPrevTabGroup()&bsol;*O
.LI "&bsol;*LKNextField:&bsol;*O"
&bsol;*LManagerGadgetNextTabGroup()&bsol;*O
.LI "&bsol;*LKUp:&bsol;*O"
&bsol;*LManagerGadgetTraverseUp()&bsol;*O
.LI "&bsol;*LKDown:&bsol;*O"
&bsol;*LManagerGadgetTraverseDown()&bsol;*O
.LI "&bsol;*LKLeft:&bsol;*O"
&bsol;*LManagerGadgetTraverseLeft()&bsol;*O
.LI "&bsol;*LKRight:&bsol;*O"
&bsol;*LManagerGadgetTraverseRight()&bsol;*O
.LI "&bsol;*LKBeginLine:&bsol;*O"
&bsol;*LManagerGadgetTraverseHome()&bsol;*O
.LI "&bsol;*LKHelp:&bsol;*O"
&bsol;*LManagerGadgetHelp()&bsol;*O
.LI "&bsol;*LKAny:&bsol;*O"
&bsol;*LManagerGadgetKeyInput()&bsol;*O
.LE
-->
</RefSect2>
<RefSect2>
<Title>Action Routines</Title>
<Para>The <Classname>XmManager</Classname> action routines are
</Para>
<VariableList>
<VarListEntry>
<Term><Action>GadgetTakeFocus():</Action></Term>
<ListItem>
<Para>Causes the current gadget to take keyboard focus when
<Literal>Ctrl&lt;Btn1Down></Literal> is pressed.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Action>ManagerGadgetActivate():</Action></Term>
<ListItem>
<Para>Causes the current gadget to be activated.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Action>ManagerGadgetArm():</Action></Term>
<ListItem>
<Para>Causes the current gadget to be armed.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Action>ManagerGadgetButtonMotion():</Action></Term>
<ListItem>
<Para>Causes the current gadget to process a mouse motion event.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Action>ManagerGadgetDrag():</Action></Term>
<ListItem>
<Para>Causes the current gadget to begin a drag operation.
This action is undefined for gadgets used in a menu system.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Action>ManagerGadgetHelp():</Action></Term>
<ListItem>
<Para>Calls the callbacks for the current gadget's <SystemItem Class="Resource">XmNhelpCallback</SystemItem> if
any exist.
If there are no help
callbacks for this widget, this action calls the help callbacks
for the nearest ancestor that has them.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Action>ManagerGadgetKeyInput():</Action></Term>
<ListItem>
<Para>Causes the current gadget to process a keyboard event.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Action>ManagerGadgetMultiActivate():</Action></Term>
<ListItem>
<Para>Causes the current gadget to process a multiple mouse click.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Action>ManagerGadgetMultiArm():</Action></Term>
<ListItem>
<Para>Causes the current gadget to process a multiple mouse button press.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Action>ManagerGadgetNextTabGroup():</Action></Term>
<ListItem>
<Para>This action depends on the value of the Display resource
<SystemItem Class="Resource">XmNenableButtonTab</SystemItem>. When <SystemItem Class="Resource">XmNenableButtonTab</SystemItem> is False
(default), this action traverses to the first item in the next tab
group. If the current tab group is the last entry in the tab group
list, it wraps to the beginning of the tab group list.
</Para>
<Para>When <SystemItem Class="Resource">XmNenableButtonTab</SystemItem> is True, this action moves to the next
item within the current tab group, unless it is the last item in the
tab group. When the item is the last in the group, the action
traverses to the first item in the next tab group. The
<SystemItem Class="Resource">XmNenableButtonTab</SystemItem> behavior applies only to PushButton, ArrowButton,
and DrawnArrow.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Action>ManagerGadgetPrevTabGroup():</Action></Term>
<ListItem>
<Para>This action depends on the value of the Display resource
<SystemItem Class="Resource">XmNenableButtonTab</SystemItem>. When <SystemItem Class="Resource">XmNenableButtonTab</SystemItem> is False
(default), this action traverses to the first item in the previous tab
group. If the beginning of the tab group list is reached, it wraps to
the end of the tab group list.
</Para>
<Para>When <SystemItem Class="Resource">XmNenableButtonTab</SystemItem> is True, this action moves to the
previous item within the current tab group unless it is the first item
in the tab group. When the item is the first in the group, the action
traverses to the first item in the previous tab group. The
<SystemItem Class="Resource">XmNenableButtonTab</SystemItem> behavior applies only PushButton, ArrowButton, and
DrawnButton.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Action>ManagerGadgetSelect():</Action></Term>
<ListItem>
<Para>Causes the current gadget to be armed and activated.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Literal>ManagerGadgetTraverseCurrent</Literal></Term>
<ListItem>
<Para>Causes the current gadget to take keyboard focus
when <Literal>Ctrl&lt;Btn1Down></Literal> is pressed. Gadget is not activated.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Action>ManagerGadgetTraverseDown():</Action></Term>
<ListItem>
<Para>Traverses to the next item below the current gadget in the current tab
group, wrapping if necessary.
The wrapping direction depends on the layout direction of the
widget tab group.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Action>ManagerGadgetTraverseHome():</Action></Term>
<ListItem>
<Para>Traverses to the first widget or gadget in the current tab group.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Action>ManagerGadgetTraverseLeft():</Action></Term>
<ListItem>
<Para>Traverses to the next item to the left of the current gadget in the
current tab group, wrapping if necessary.
The wrapping direction depends on the layout direction of the
widget tab group.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Action>ManagerGadgetTraverseNext():</Action></Term>
<ListItem>
<Para>Traverses to the next item in the current tab group, wrapping if
necessary.
The wrapping direction depends on the layout direction of the
widget tab group.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Action>ManagerGadgetTraversePrev():</Action></Term>
<ListItem>
<Para>Traverses to the previous item in the current tab group, wrapping if
necessary.
The wrapping direction depends on the layout direction of the
widget tab group.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Action>ManagerGadgetTraverseRight()</Action></Term>
<ListItem>
<Para>Traverses to the next item to the right of the current gadget in the
current tab, wrapping if necessary.
widget tab group.
The wrapping direction depends on the layout direction of the
widget tab group.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Action>ManagerGadgetTraverseUp():</Action></Term>
<ListItem>
<Para>Traverses to the next item above the current gadget in the current tab
group, wrapping if necessary.
The wrapping direction depends on the layout direction of the
widget tab group.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Action>ManagerParentActivate():</Action></Term>
<ListItem>
<Para>If the parent is a manager,
passes the <KeySym>osfActivate</KeySym> event received by the current widget/gadget
to its parent.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Action>ManagerParentCancel():</Action></Term>
<ListItem>
<Para>If the parent is a manager,
passes the <KeySym>osfCancel</KeySym> event received by the current widget/gadget
to its parent.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
</RefSect2>
<RefSect2>
<Title>Additional Behavior</Title>
<Para>This widget has the additional behavior described below:
</Para>
<VariableList>
<VarListEntry>
<Term><KeySym>FocusIn</KeySym>:</Term>
<ListItem>
<Para>If the shell's keyboard focus policy is <SystemItem Class="Constant">XmEXPLICIT</SystemItem> and the event
occurs in a gadget, causes the gadget to be highlighted and to take the
focus.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><KeySym>FocusOut</KeySym>:</Term>
<ListItem>
<Para>If the shell's keyboard focus policy is <SystemItem Class="Constant">XmEXPLICIT</SystemItem> and the event
occurs in a gadget, causes the gadget to be unhighlighted and to lose
the focus.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
</RefSect2>
<RefSect2>
<Title>Virtual Bindings</Title>
<Para>The bindings for virtual keys are vendor specific.
For information about bindings for virtual buttons and keys, see &cdeman.VirtualBindings;.
</Para>
</RefSect2>
</RefSect1>
<RefSect1>
<Title>RELATED</Title>
<Para>&cdeman.Composite;,
&cdeman.Constraint;,
&cdeman.Core;,
&cdeman.XmDirection;,
&cdeman.XmChangeColor;,
&cdeman.XmGadget;, and
&cdeman.XmScreen;.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
