Tix.FileEntry directory

Mike Clarkson support at internetdiscovery.com
Thu Oct 3 22:21:38 CEST 2002


On 3 Oct 2002 08:25:24 -0700, timothy.williams at nvl.army.mil (Tim
Williams) wrote:

>I'm trying to use the Tix.FileEntry widget. I can set the default
>value, but how do I specify what directory to initially look in?

You want to set the entry subwidget:

import Tix
root = Tix.Tk()
foo = Tix.FileEntry(root)
foo.subwidget('entry').insert(0,'/my/dir')
foo.pack()


Mike.



More information about the Python-list mailing list