Specifications
Athena Widget Set libXaw 1.0.7
Class simpleMenuWidgetClass
Class Name SimpleMenu
Superclass OverrideShell
The SimpleMenu widget is a container for the menu entries. It is a direct subclass of shell, and is
should be created with XtCreatePopupShell,not XtCreateManagedWidget.This is the only
part of the menu that actually is associated with a window. The SimpleMenu serves as the glue to
bind the individual menu entries together into a menu.
4.2.1. Resources
The resources associated with the SimpleMenu widget control aspects that will affect the entire
menu.
Name Class Type Notes Default Value
accelerators Accelerators AcceleratorTable NULL
ancestorSensitive AncestorSensitive Boolean D True
allowShellResize AllowShellResize Boolean True
background Background Pixel XtDefaultBackground
backgroundPixmap Pixmap Pixmap XtUnspecifiedPixmap
backingStore BackingStore BackingStore see below
borderColor BorderColor Pixel XtDefaultForeground
borderPixmap Pixmap Pixmap XtUnspecifiedPixmap
borderWidth BorderWidth Dimension 1
bottomMargin VerticalMargins Dimension 0
children ReadOnly WidgetList R NULL
createPopupChildProc CreatePopupChildProc Function NULL
colormap Colormap Colormap Parent’sColormap
cursor Cursor Cursor None
depth Depth int C Parent’sDepth
destroyCallback Callback XtCallbackList NULL
geometry Geometry String NULL
height Height Dimension Enough space to contain all entries
label Label String NULL
labelClass LabelClass Pointer SmeBSBObjectClass
mappedWhenManaged MappedWhenManaged Boolean True
menuOnScreen MenuOnScreen Boolean True
numChildren ReadOnly Cardinal R 0
overrideRedirect OverrideRedirect Boolean True
popdownCallback Callback XtCallbackList NULL
popupCallback Callback XtCallbackList NULL
popupOnEntry PopupOnEntry Widget A Label or first entry
rowHeight RowHeight Dimension 0
saveUnder SaveUnder Boolean False
screen Screen Screen R Parent’sScreen
sensitive Sensitive Boolean True
topMargin VerticalMargins Dimension 0
translations Translations TranslationTable See below
visual Visual Visual CopyFromParent
width Width Dimension Width of widest entry
xPosition Position 0
yPosition Position 0
accelerators A list of event to action bindings to be executed by this widget, even
though the event occurred in another widget. (See the XToolkit Intrin-
sics — C Language Interface for details).
59