xmdropdowngetvalue(3) - Linux man page
Name XmDropDownGetValue -- retrieve the value from the DropDown
Synopsis
#include <Xm/DropDown.h> XmString XmDropDownGetValue( Widget w);
Description
The w argument specifies the XmDropDown widget ID.
The XmDropDownGetValue function returns the string contained within the text widget of the DropDown widget. This string has been allocated with XtMalloc() and most be freed by the application with XtFree(). Always leave the specified margin between its edge and the nearest child. A new String to fillOption resource converter has been registered to convert the following strings to fill options: "none", "major", "minor", "all." This resource can therefore be set in an application defaults file.
Return Value
The XmDropDownGetValue function returns the string contained within the text widget of the DropDown widget.
See Also
xmdropdown(3).