25 #ifndef YSelectionBox_h
26 #define YSelectionBox_h
28 #include "YSelectionWidget.h"
75 virtual const char *
widgetClass()
const {
return "YSelectionBox"; }
126 virtual bool setProperty(
const std::string & propertyName,
158 #endif // YSelectionBox_h
bool shrinkable() const
Return 'true' if this SelectionBox should be very small.
Selection box: List box that displays a (scrollable) list of items from which the user can select exa...
virtual YPropertyValue getProperty(const std::string &propertyName)
Get a property.
void setImmediateMode(bool on=true)
Set immediateMode() on or off.
virtual const char * widgetClass() const
Returns a descriptive name of this widget class for logging, debugging etc.
A set of properties to check names and types against.
virtual ~YSelectionBox()
Destructor.
bool immediateMode() const
Deliver even more events than with notify() set.
const char * userInputProperty()
The name of the widget property that will return user input.
Transport class for the value of simple properties.
YSelectionBox(YWidget *parent, const std::string &label)
Constructor.
virtual const YPropertySet & propertySet()
Return this class's property set.
virtual bool setProperty(const std::string &propertyName, const YPropertyValue &val)
Set a property.
virtual void setShrinkable(bool shrinkable=true)
Make this SelectionBox very small.