Simple widgets are easy to program. For example a textLabel is such a simple widget.
Here you find what you can apply to a textLabel. textLabel functions
For example you can code the following:
pvSetFontColor(p, textLabel1, RED); pvPrintf(p, textLabel1,"Hello World d->val=%d",d->val);