GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XmtChooserGetState(3) FreeBSD Library Functions Manual XmtChooserGetState(3)

XmtChooserGetState(), XmtChooserGetValue(), XmtChooserGetSensitivity() - query an XmtChooser widget about its selected items and item sensitivity.

#include <Xmt/Chooser.h>

int XmtChooserGetState(Widget w)

XtPointer XmtChooserGetValue(Widget w)

Boolean XmtChooserGetSensitivity(Widget w, int item)

INPUTS
w
An XmtChooser widget.
item
The index of an item within w.

RETURNS

See below.

XmtChooserGetState() 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 with the selected item in the XmtChooser w. The specified widget must have its XmtNchooserType resource set to one of the ``single selection'' types: XmtChooserRadioBox, XmtChooserRadioPalette, XmtChooserRadioList, or XmtChooserOption. Note that the returned value is an untyped pointer. You must cast and dereference it as appropriate.

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.

Chapter 27, Presenting Choices,
XmtChooser, XmtChooserSetState(), XmtChooserSetItemValue(), XmtChooserSetSensitive().
Motif Tools Xmt

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.