Specifications

Athena Widget Set libXaw 1.0.7
The default value for this resource (25) causes the default height to be
125% of the height of the font.
4.4. SmeLine Object
Application Header file <X11/Xaw/SmeLine.h>
Class Header file <X11/Xaw/SmeLineP.h>
Class smeLineObjectClass
Class Name SmeLine
Superclass Sme
The SmeLine object is used to add a horizontal line or menu separator to a menu. Since each
SmeLine is an independent object, the application is able to change the color,height, and other
attributes of the SmeLine objects on an entry by entry basis. This object is not selectable, and
will not highlight when the pointer cursor is overit.
4.4.1. Resources
The resources associated with the SmeLine object are defined in this section, and affect only the
single menu entry specified by this object.
Name Class Type Notes Default Value
destroyCallback Callback XtCallbackList NULL
foreground Foreground Pixel XtDefaultForeground
height Height Dimension lineWidth
international International Boolean C False
lineWidth LineWidth Dimension 1
stipple Stipple Pixmap XtUnspecifiedPixmap
width Width Dimension 1
destroyCallback All functions on this list are called when this widget is destroyed.
foreground Apixel value which indexesthe SimpleMenu’scolormap to derive the
foreground color used to drawthe separator line.
height
width The height and width of this widget in pixels. Keep in mind that the
SimpleMenu widget will force all menu items to be the width of the
widest entry.Thus, setting the width is generally not very important.
international This is a boolean flag, only settable at widget creation time. While not
utilized in this widget, it can and should be checked by anysubclasses
that have behavior that should vary with locale.
lineWidth The width of the horizontal line that is to be displayed.
stipple If a bitmap is specified for this resource, the line will be stippled through
it. This allows the menu separator to be rendered as something more
exciting than just a line. Forinstance, if you define a stipple that is a
chain link, then your menu separators will look likechains.
4.5. Sme Object
Application Header file <X11/Xaw/Sme.h>
Class Header file <X11/Xaw/SmeP.h>
Class smeObjectClass
65