[Q] Tkinter and Xdefaults.
Fredrik Lundh
fredrik at pythonware.com
Wed Sep 22 04:06:12 EDT 1999
Leonid Gluhovsky <leonid at vnet.ibm.com> wrote:
> How can one write a Tkinter application which uses the .Xdefaults file
> under Unix?
>
> We thought we could use Tk's option database, but found out that Tk
> looks up options in the database according to Tk "window paths", which
> under Tkinter are just automatically generated numbers.
you can use the "name" option to override this.
for more info, ksee "more on widget names" at:
http://www.pythonware.com/library/tkinter/introduction/hello-again.htm
</F>
More information about the Python-list
mailing list