Specifications
Athena Widget Set libXaw 1.0.7
Widget XawSimpleMenuGetActiveEntry(w)
Widget w;
w Specifies the SimpleMenu widget.
This function returns the menu entry that is currently highlighted, or NULL if no entry is high-
lighted.
To clear the SimpleMenu widget’sinternal information about the currently highlighted menu
entry use XawSimpleMenuClearActiveEntry:
Widget XawSimpleMenuClearActiveEntry(w)
Widget w;
w Specifies the SimpleMenu widget.
This function unsets all internal references to the currently highlighted menu entry.Itdoes not
unhighlight or otherwise alter the appearance of the active entry.This function is primarily for
use by implementors of menu entries.
4.3. SmeBSB Object
Application Header file <X11/Xaw/SmeBSB.h>
Class Header file <X11/Xaw/SmeBSBP.h>
Class smeBSBObjectClass
Class Name SmeBSB
Superclass Sme
The SmeBSB object is used to create a menu entry that contains a string, and optional bitmaps in
its left and right margins. Since each menu entry is an independent object, the application is able
to change the font, color,height, and other attributes of the menu entries, on an entry by entry
basis. The format of the string may either be the encoding of the 8 bit font utilized, or in a multi-
byte encoding for use with a fontSet.
4.3.1. Resources
The resources associated with the SmeBSB object are defined in this section, and affect only the
single menu entry specified by this object.
Name Class Type Notes Default Value
ancestorSensitive AncestorSensitive Boolean D True
callback Callback Callback NULL
destroyCallback Callback XtCallbackList NULL
font Font FontStruct XtDefaultFont
fontSet FontSet XFontSet XtDefaultFontSet
foreground Foreground Pixel XtDefaultForeground
height Height Dimension A Font height + vertSpace
international International Boolean C False
justify Justify Justify XtjustifyLeft
label Label String NULL
leftBitmap LeftBitmap Pixmap XtUnspecifiedPixmap
leftMargin leftMargin Dimension 4
rightBitmap RightBitmap Pixmap XtUnspecifiedPixmap
rightMargin rightMargin Dimension 4
sensitive Sensitive Boolean True
vertSpace VertSpace int 25
63