|
libRocket
|
#include <SelectOption.h>
Public Member Functions | |
| SelectOption (Core::Element *element, const Rocket::Core::String &value, bool selectable) | |
| ~SelectOption () | |
| Core::Element * | GetElement () |
| const Rocket::Core::String & | GetValue () const |
| bool | IsSelectable () |
Represents individual options within a select control.
| Rocket::Controls::SelectOption::SelectOption | ( | Core::Element * | element, |
| const Rocket::Core::String & | value, | ||
| bool | selectable | ||
| ) |
| Rocket::Controls::SelectOption::~SelectOption | ( | ) |
| Core::Element* Rocket::Controls::SelectOption::GetElement | ( | ) |
Returns the element that represents the option visually.
| const Rocket::Core::String& Rocket::Controls::SelectOption::GetValue | ( | ) | const |
Returns the value of the option.
|
inline |
Returns true if the item is selectable.
1.8.8