MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria User Interface Library Interface > a) Functions > laTextFieldWidget_SetText Function
MPLAB® Harmony Graphics Suite
laTextFieldWidget_SetText Function

This function copies the contents of the input string into its internal string buffer. The input string can then be freed or altered without affecting the label's internal string value.

C
LIB_EXPORT laResult laTextFieldWidget_SetText(
    laTextFieldWidget* txt, 
    laString str
);
Parameters
Parameters 
Description 
laTextFieldWidget* txt 
the widget 
laString str 
an laString object 
Returns

laResult - the operation result

MPLAB® Harmony Graphics Suite