Function TextWidget.textResource

set text resource ID to show

Widget textResource(
  string s
) @property;