On 21-Apr-97 Thimo Jansen wrote:
> On 20 Apr 1997, Bud Rogers (budr_at_tanet.net) wrote:
>
> xkeycaps.geometry: 780x390
> pixmap.geometry: 700x720
> Xedit*geometry: 650x550+0+0
>
> I haven't yet found out what the exact difference is between
> using a "*" or a ".", but what the h_at_#$, it's working... ;)
A "*" is a wildcard. If, for example, the exact resource string
was:
xkeycaps.window1.widget2.hsize
Then this would match:
xkeycaps*widget2.hsize: 50
and
xkeycaps*widget2*hsize: 50
but not
xkeycaps.hsize: 50
In fact, "*" can match not only '.', but any character. So
xkeycaps*size: 50
matches any resource string that starts with "xkeycaps" and
ends with "size". Obviously, you have to be a little careful
with that. similarly, if you wanted to match all widgets on
a particular window, then you can:
xkeycaps*widget*.hsize: 50
Same thing with fonts too, btw. It is sort of a very primitive
(glob-like) string matching method that is much cheaper than
regular expressions.
Regards,
David Nugent - Unique Computing Pty Ltd - Melbourne, Australia
Voice +61-3-9791-9547 Data/BBS +61-3-9792-3507
3:632/348_at_fidonet davidn_at_freebsd.org
davidn_at_blaze.net.au
http://www.blaze.net.au/~davidn/
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Mon Apr 21 1997 - 13:07:51 BST