WDS_Pick
WDS_Pick
wds
1998 12-05
CLASS
WDS_Pick - a widget used to select from a popup list of various strings
SYNOPSIS
Class WDS_Pick
allows a user to select a string from a given list of strings.
As per the underlying WDS_Popup configuration,
some mouse button(s) can cause a new borderless window to pop up.
From this list, a entry can be selected.
The selected value becomes the new label and can be read using
char *WDS_Widget::GetLabel(void).
The label can be manually set using
WDS_Widget::SetLabel(char *)
and does not need to be on the list of strings.
PUBLIC MEMBER FUNCTIONS
Inheritance from class WDS_Popup
WDS_PickList *GetPickList(void)
Returns the pointer to the WDS_PickList member.
This object is used to hold the list of strings.
WDS_PickScroll *GetScrollRegion(void)
Returns the pointer to the WDS_PickScroll member.
This is the WDS_ScrollRegion
used to scroll through the list of strings.
long PickNumber(long index)
Manually pick an entry on the pick list given by the specified index.
This will set the label.
STATE CHANGES
Inherited from WDS_Popup
| WDS_STATE_0 |
Drop/UnTear
|
| WDS_STATE_1 |
Pop/Tear
|
FILES
wds/pick.h Pick List header file
SEE ALSO
WDS_intro(3),
WDS_Popup(3),
WDS_PickButton(3),
WDS_PickList(3),
WDS_PickScroll(3),
WDS_ScrollRegion(3),
WDS_TextList(3)