Specifications
Athena Widget Set libXaw 1.0.7
resize Specifies whether the widget should attempt to resize to its preferred
dimensions wheneverits resources are modified with XtSetValues.This
attempt to resize may be denied by the parent of this widget. The parent
is always free to resize the widget regardless of the state of this resource.
screen The screen on which this widget is displayed. This is not a settable
resource.
sensitive Whether or not the toolkit should pass user events to this widget. The
widget will not get input events if either ancestorSensitive or sensitive is
False.
translations The ev e nt bindings associated with this widget.
x
yThe location of the upper left outside corner of this widget in its parent.
3.4. List Widget
Application header file <X11/Xaw/List.h>
Class header file <X11/Xaw/ListP.h>
Class listWidgetClass
Class Name List
Superclass Simple
The List widget contains a list of strings formatted into rows and columns. When one of the
strings is selected, it is highlighted, and the List widget’s Notify action is invoked, calling all rou-
tines on its callback list. Only one string may be selected at a time.
3.4.1. Resources
When creating a List widget instance, the following resources are retrievedfrom the argument list
or from the resource database:
Name Class Type Notes Default Value
accelerators Accelerators AcceleratorTable NULL
ancestorSensitive AncestorSensitive Boolean D True
background Background Pixel XtDefaultBackground
backgroundPixmap Pixmap Pixmap XtUnspecifiedPixmap
borderColor BorderColor Pixel XtDefaultForeground
borderPixmap Pixmap Pixmap XtUnspecifiedPixmap
borderWidth BorderWidth Dimension 1
callback Callback Callback NULL
colormap Colormap Colormap Parent’sColormap
columnSpacing Spacing Dimension 6
cursor Cursor Cursor XC_left_ptr
cursorName Cursor String NULL
defaultColumns Columns int 2
depth Depth int C Parent’sDepth
destroyCallback Callback XtCallbackList NULL
font Font FontStruct XtDefaultFont
fontSet FontSet XFontSet XtDefaultFontSet
forceColumns Columns Boolean False
foreground Foreground Pixel XtDefaultForeground
height Height Dimension A Enough space to contain the list
28