Set the value of a text node to a formatted string. The node is not changed if it is not a text node.
int mxmlSetTextf( mxml_node_t * node, int whitespace, const char * format, ...);
Name | Description |
---|---|
node | Node to set |
whitespace | 1 = leading whitespace, 0 = no whitespace |
format | Printf-style format string |
... | Additional arguments as needed |
0 on success, -1 on failure