[comp.windows.x.motif] Resource specs

daf@mbunix.mitre.org (Dennis Franciskovich) (09/05/90)

(I've now crossposted to comp.windows.x; please followup appropriately)

asente@adobe.com (Paul Asente) writes:
| argv@turnpike.Eng.Sun.COM (Dan Heller) writes:
| >
| >    *label string.labelString: another label
| 
| [...] This bit, however, isn't quite right.  Space is not a legal character
| in a resource specification, so the above line is not a valid resource
| specification.

According to the man page for X(1), you are correct, but I have been using
spaces inside resource specs and have not (yet) had any problems.
I've been doing things like:

	XmCreateLabel(parent, "label string", NULL, 0);

and then in the resource file:

	*label string.x:  100
	*label string.y:  200

and it seems to work ok.
--
Dennis