Contents Previous Next

mxmlSetText()


Description

Set the value of a text node. The node is not changed if it is not a text node.

Syntax

int
mxmlSetText(
    mxml_node_t * node,
    int whitespace,
    const char * string);

Arguments

NameDescription
nodeNode to set
whitespace1 = leading whitespace, 0 = no whitespace
stringString

Returns

0 on success, -1 on failure


Contents Previous Next