12.07.2015 Views

Athena Widget Set - C Language Interface - X Consortium ... - X.Org

Athena Widget Set - C Language Interface - X Consortium ... - X.Org

Athena Widget Set - C Language Interface - X Consortium ... - X.Org

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Simple <strong>Widget</strong>sforegroundA pixel value which indexes the widget's colormapto derive the color used to paint the text of the listelements.\fPinternalHeight\fP\fPinternalWidth\fPlistlongestnumberStringspasteBufferverticalListList ActionsThe margin, in pixels, between the edges of the listand the corresponding edge of the List widget's window.An array of text strings displayed in the List widget.If numberStrings is zero (the default) then the listmust be NULL terminated. If a value is not specifiedfor the list, then numberStrings is set to 1, and thename of the widget is used as the list, and longestis set to the length of the name of the widget. Thelist is used in place, and must be available to theList widget for the lifetime of this widget, or until itis changed with Xt<strong>Set</strong>Values or XawListChange.Specifies the width, in pixels, of the longest stringin the current list. The List widget will compute thisvalue if zero (the default) is specified. If this resourceis set by hand, entries longer than this will be clippedto fit.The number of strings in the current list. If a valueof zero (the default) is specified, the List widget willcompute it. When computing the number of stringsthe List widget assumes that the list is NULL terminated.If this resource is set to True then the name ofthe currently selected list element will be put intoCUT_BUFFER_0.If this resource is set to True then the list elementswill be presented in column major order.The List widget supports the following actions:• Highlighting and unhighlighting the list element under the pointer with <strong>Set</strong> andUnset• Processing application callbacks with NotifyThe following is the default translation table used by the List <strong>Widget</strong>:,: <strong>Set</strong>(\|) Notify(\|)The full list of actions supported by List widget is:32

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!