[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
Motif 2.1 Widget Writer's Guide
XmeDrawIndicator
Draws a Motif-style indicator (either a check mark or a cross) at the
specified location in the drawable
Format
#include <Xm/DrawP.h>
void XmeDrawIndicatorDisplay
*displayDrawable drawableGC
gcPosition xPosition
yDimension widthDimension
heightDimension marginXtEnum
indicator_type
DESCRIPTION
XmeDrawIndicator draws an indicator inside the specified drawable. The
indicator_type argument determines whether the indicator will be a
check mark or a cross. The arguments x, y, width,
and height define a bounding box; the indicator is rendered inside
this bounding box. The margin argument determines the offset of the
indicator from the sides of the bounding box.
displaySpecifies the display.
drawableSpecifies the drawable on which the indicator is to be drawn. Typically,
the drawable will be a widget window.
gcSpecifies the graphics context used to render the indicator.
xSpecifies the x-coordinate, in pixels, of the leftmost point of the
bounding box.
ySpecifies the y-coordinate, in pixels, of the top point of the bounding
box.
widthSpecifies the width, in pixels, of the bounding box.
heightSpecifies the height, in pixels, of the bounding box.
marginSpecifies the size of the blank space between the sides of the bounding
box and the indicator. For example, a margin of 0 would tell
XmeDrawIndicator to draw the indicator so that its sides touched the sides of
the bounding box.
indicator_typeSpecifies the kind of indicator to render. You must specify one of the
following:
XmINDICATOR_CHECKDraws a check mark.
XmINDICATOR_CROSSDraws a cross.
RELATED
XmeDrawSeparator(3).
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]