|
Wt
3.2.1
|
A collection of predefined functions. More...
Static Public Member Functions | |
| static bool | tr (WTemplate *t, const std::vector< WString > &args, std::ostream &result) |
| A function that resolves to a localized string. | |
| static bool | id (WTemplate *t, const std::vector< WString > &args, std::ostream &result) |
| A function that resolves the id of a bound widget. | |
A collection of predefined functions.
|
static |
A function that resolves the id of a bound widget.
For example, when bound to the function "id", a place-holder
${id:name}
will be resolved to the value of:
This is useful for binding labels to input elements.
|
static |
A function that resolves to a localized string.
For example, when bound to the function "tr", a place-holder
${tr:name}
will be resolved to the value of:
1.8.1.2