The construction of Widgets will be generated by ui2pvc.
You don't have to do this manually. After the Constructors are called you can apply the util functions to the widgets.
Again see the following:
The reference to the utility functions can be found here Utility Functions Reference
Here you can find which utility functions apply to a special widget. Utility Functions according to Widgets