|
libyui
3.1.5
|
Class for widget properties. More...
#include <YProperty.h>
Public Member Functions | |
| YProperty (const std::string &name, YPropertyType type, bool isReadOnly=false) | |
| Constructor: Create a property with the specified name and type. More... | |
| std::string | name () const |
| Returns the name of this property. | |
| YPropertyType | type () const |
| Returns the type of this property. | |
| bool | isReadOnly () const |
| Returns 'true' if this property cannot be changed, only retrieved. | |
| std::string | typeAsStr () const |
| Returns the type of this property as string. | |
Static Public Member Functions | |
| static std::string | typeAsStr (YPropertyType type) |
| Returns a string description of a property type. | |
Class for widget properties.
Definition at line 51 of file YProperty.h.
|
inline |
Constructor: Create a property with the specified name and type.
'isReadOnly' is for properties that cannot be set, only retrieved.
Definition at line 58 of file YProperty.h.