[comp.windows.x.motif] Label widget, fontLists and resources

kolban@winvmc.vnet.ibm.com ("Neil Kolban") (03/21/91)

*** NOVICE ALERT ***

I have just started learning Motif and have the following question:
I understand that an XmLabel widget has its own XmLabel resource set
which is not inherited from any parent. So, if I create a label widget,
it will have its own copy of its resource set.
Two questions:

1) How can I specify that I want all subsequent Label widgets to have
   a particular font (fontList resource)? Do I have to specify this
   everytime I create a Label widget? I understand that I can use
   an .Xdefaults file to specify this for my application but I am now
   curious as to how this can be achieved from within my application.

2) How can I query what the current default value for the XmNfontList
   resource for a Label Widget will be without first creating it?

Cheers, Neil Kolban (kolban@winvmc.vnet.ibm.com)