Tk and xdefaults on windows (prompted by Re: Tk's lack of "chrome")
Nick Ing-Simmons <[email protected]>
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <[email protected]> |
Hans Jeuken <[email protected]> writes: >> I well thought out set of xresources can help X11 >> for sure. Windows might be a little more tricky >> as core tk (as currently ported) aims to use "native look". >> > >A couple of years ago i had a W98 machine and i was >sharing my linux home folder on that machines through >samba. When launching a perl/Tk script from that >shared drive on the W98 it used the settings in >the .Xdefaults file in my homedirectory on my linux >machine. I do not remember if all settings were correct, >but at least background colours matched. I know how basics work as I have used them myself. You are correct that for some meaning of "home directory" (which isn't really a Win32 concept) it will find an .Xdefaults file and parse & load it - in a tk core way which isn't quite the way other X toolkits work. But there isn't the X11 concept of defaults per-Display (or per-Screen). > >My guess therefore is that an .Xdefaults in the root >of the drive from where you are launching the script >will be used on Windows, but i did not pursue this >then and now i don't have a Windows machine to >test. > >I don't know if anybody has been investigating this, >but would be very interested to hear experiences. > >Hans >-++**==--++**==--++**==--++**==--++**==--++**==--++**== >This message was posted through the Stanford campus mailing list >server. If you wish to unsubscribe from this mailing list, send the >message body of "unsubscribe ptk" to [email protected] -++**==--++**==--++**==--++**==--++**==--++**==--++**== This message was posted through the Stanford campus mailing list server. If you wish to unsubscribe from this mailing list, send the message body of "unsubscribe ptk" to [email protected]