![]() |
![]()
| ![]() |
![]()
NAMEXmtChooserGetState(), XmtChooserGetValue(), XmtChooserGetSensitivity() - query an XmtChooser widget about its selected items and item sensitivity. SYNOPSIS#include <Xmt/Chooser.h>
int XmtChooserGetState(Widget w) XtPointer XmtChooserGetValue(Widget w) Boolean XmtChooserGetSensitivity(Widget w, int item) ARGUMENTSINPUTS RETURNS See below. DESCRIPTIONXmtChooserGetState() returns the selection state of the XmtChooser widget w. If the XmtNchooserType resource of the widget is XmtChooserRadioBox, XmtChooserRadioPalette, XmtChooserRadioList, or XmtChooserOption, then the returned value is the index of the single selected item. If the XmtNchooserType resource is XmtChooserCheckBox, XmtChooserCheckPalette, or XmtChooserCheckList, then the returned value is a bitfield indicating the selection state of each of the items (up to 32) in the widget. If the XmtNchooserType resource is XmtChooserButtonBox, then the returned value is not meaning ful. Calling this function is equivalent to, but more efficient than, querying the XmtNstate resource of w. XmtChooserGetValue() returns the address of the value
associated
XmtChooserGetSensitivity() return True if item item in XmtChooser w is sensitive, and False otherwise. Use XmtChooser SetSensitive() to set the sensitivity of an item. Insensitive items cannot be selected by the user. SEE ALSOChapter 27, Presenting Choices,
|