So if I write
dtterm -xrm '*iconPixmap:SDtErrors.l'
it says
Warning: Cannot convert string "SDtErrors.l" to type Pixmap
Warning: Cannot convert string "SDtErrors.l" to type Pixmap
But if I then iconize the dtterm window, lo and behold it is indeed using
the SDtErrors pixmap (which it found, according to truss, in
/usr/dt/appconfig/icons/C/SDtErrors.l.pm).
So why is that?
Some poking around with DBX showed that it gets into CvtStringToPixmap,
and while still within the saem call of that routine it first calls
GetPixmap (which indeed finds the right file as mentioned) and after that
it calls XtDisplayConversionWarning, which prints on stderr the warning
you see (I think the second was when it was repeating the whole thing
when building the widget for the icon itself).
--
Charles H. Lindsey ---------At Home, doing my own thing------------------------
Tel: +44 161 436 6131 Fax: +44 161 436 6133 Web: http://www.cs.man.ac.uk/~chl
Email: c...@clerew.man.ac.uk Snail: 5 Clerewood Ave, CHEADLE, SK8 3JU, U.K.
PGP: 2C15F1A9 Fingerprint: 73 6D C2 51 93 A0 01 E7 65 E8 64 7E 14 A4 AB A5
It's likely that some other widgets than the one you intended are doing the
complaining. (That's because of the "*" in the pattern - lots of widgets
get to offer an opinion).
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
>In comp.unix.solaris Charles Lindsey <c...@clerew.man.ac.uk> wrote:
>> dtterm -xrm '*iconPixmap:SDtErrors.l'
>...
>> Warning: Cannot convert string "SDtErrors.l" to type Pixmap
>> Warning: Cannot convert string "SDtErrors.l" to type Pixmap
>...
>> So why is that?
>It's likely that some other widgets than the one you intended are doing the
>complaining. (That's because of the "*" in the pattern - lots of widgets
>get to offer an opinion).
No. Even Dtterm.iconPixmap:SDtErrors.l causes the same response.