Public Member Functions | |
| XAttributeLabel2 (const T &attr) | |
| XAttributeLabel2 (const T &attr, gfloat x, gfloat y) | |
| XAttributeLabel2 (const T &attr, Gtk::AlignmentEnum xalign, Gtk::AlignmentEnum yalign=Gtk::ALIGN_CENTER) | |
| ~XAttributeLabel2 () | |
| void | update () |
| T & | getAttribute () |
| template<> | |
| void | update () |
| template<> | |
| void | update () |
| template<> | |
| void | update () |
| template<> | |
| void | update () |
| template<> | |
| void | update () |
| template<> | |
| void | update () |
| template<> | |
| void | update () |
An "attribute" is any of the standard C++ data types (except of strings, as they don't have a defined formattation) and the types of the YGP library (such as ADate, ANumeric, ...).
This class only stores the attribute itself (meaning: the value of the provided attribute is copied). Use this class (instead of XAttributeLabel) if you only want to display something without storing the displayed value by yourself.
| XGP::XAttributeLabel2< T >::XAttributeLabel2 | ( | const T & | attr | ) | [inline] |
Constructor; pass the attribute to manage.
It is aligned according to the values.
| XGP::XAttributeLabel2< T >::XAttributeLabel2 | ( | const T & | attr, | |
| gfloat | x, | |||
| gfloat | y | |||
| ) | [inline] |
Constructor; pass the attribute to manage.
It is aligned according to the values.
| XGP::XAttributeLabel2< T >::XAttributeLabel2 | ( | const T & | attr, | |
| Gtk::AlignmentEnum | xalign, | |||
| Gtk::AlignmentEnum | yalign = Gtk::ALIGN_CENTER | |||
| ) | [inline] |
Constructor; pass the attribute to manage.
It is aligned according to the values.
| XGP::XAttributeLabel2< T >::~XAttributeLabel2 | ( | ) | [inline] |
Destructor.
| T& XGP::XAttributeLabel2< T >::getAttribute | ( | ) | [inline] |
Returns a reference to the handled attribute.
| void XGP::XAttributeLabel2< T >::update | ( | ) | [inline] |
Actualizes the displayed value with that of the attribute.