Re: Tk and xdefaults on windows (prompted by Re: Tk's lack of "chrome")
Ben Pavon <[email protected]>
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Organization | Boeing Satellite Systems |
| Message-ID | <[email protected]> |
Hi, Not sure about where/how the .Xdefaults file is read on Windows, however I am sure that one can read application-specific X resource files on Unix or Windows via the Tk::CmdLine module. (I contributed that code a few years back.) How to do it is in the documentation for Tk::CmdLine. Adios, Hans Jeuken wrote: > On Friday 09 December 2005 13:58, Nick Ing-Simmons wrote: > >> Hans Jeuken <[email protected]> writes: >> >>> It's not a very serious note what i have to say, >>> but in all the shiny glittery new gui's like qt and gtk(2) >>> and wrappers like wx, somehow, i don;t find >>> perl/Tk looking old fashioned looking, as i have seen >>> other people saying in this discussion, >>> if you take a little care of your xresources file. >> >> 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. > > 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] -- __END__ ------------------------------------------------------------------------ Ben Pavon 310.364.9827 [email protected] ------------------------------------------------------------------------ Benny says "Do it right, do it once!"