Next: Dymanic Control Up: Overriding Resource Defaults Previous: Overriding Resource Defaults

.Xdefaults file

When Motif initialises the application it looks for a special file in your HOME directory: .Xdefaults.

This file contains directives that can reset any resource using the following method:

The advantage of this method is that we do not have to alter and recompile our program to get different sized widgets.
Tue May 24 16:52:56 BST 1994