When a widget is created it inherits resources from a higher widget class and creates its own.
All these resources have default values. It would be tedious to specify 30 plus resource values each time we create a widget!!.
However we may want to alter one or two resources such as colour or size for instance.
There are a few ways in which we can alter a particular resource's value.
We will look at the PushButton program push.c and see how we alter the size (width and height) of the button. The resource variables XmNwidth and XmNheight hold these values.