Re: Tkinter file dialog screwed
On Wednesday, September 14, 2016 at 2:14:16 AM UTC+1, Steve D'Aprano wrote: > On Wed, 14 Sep 2016 06:08 am, kerbingamer376 wrote: > > > The tkinter file dialog is, for me, unusable. Whenever I try to use it, it > > opens, but all the text is white on a white background (see this > > http://xomf.com/qzhgy) making it unusable. This has happened on 2 linux > > systems, both KDE plasma 5. Any help? > > > What happens if you change your KDE theme, or use another desktop > environment? > > > > > -- > Steve > “Cheer up,” they said, “things could be worse.” So I cheered up, and sure > enough, things got worse. neither make any difference. -- https://mail.python.org/mailman/listinfo/python-list
Re: Tkinter file dialog screwed
On Wed, 14 Sep 2016 06:08 am, kerbingamer376 wrote: > The tkinter file dialog is, for me, unusable. Whenever I try to use it, it > opens, but all the text is white on a white background (see this > http://xomf.com/qzhgy) making it unusable. This has happened on 2 linux > systems, both KDE plasma 5. Any help? What happens if you change your KDE theme, or use another desktop environment? -- Steve “Cheer up,” they said, “things could be worse.” So I cheered up, and sure enough, things got worse. -- https://mail.python.org/mailman/listinfo/python-list
Re: Tkinter file dialog screwed
yes, I can make the labels turn black by selecting them with the arrow keys. -- https://mail.python.org/mailman/listinfo/python-list
Re: Tkinter file dialog screwed
Am 13.09.16 um 22:08 schrieb kerbingamer376: The tkinter file dialog is, for me, unusable. Whenever I try to use it, it opens, but all the text is white on a white background (see this http://xomf.com/qzhgy) making it unusable. This has happened on 2 linux systems, both KDE plasma 5. Any help? Never seen that. This dialog is implemented in Tcl under X11, so maybe somebody from over there can help. I can imagine that it is a strange setting for colours in the option database. In your screenshot, I can see the file names in a very bright grey colour. bin, probably selected, is black. If you use the arrow keys to navigate the files, does it "highlight" the current item in black? Best regards, Christian -- https://mail.python.org/mailman/listinfo/python-list
Re: Tkinter file dialog
On Thu, May 28, 2009 at 7:48 PM, Ronn Ross ronn.r...@gmail.com wrote: I'm using Tkinter file selector to get a direcotry path. I'm using: self.file = tkFileDialog.askdirectory(title=Please select your directory) print file but all it prints out is: type 'file' How would I print the directory path? print self.file Your forgot the self. in your version. Without it, Python assumes you're talking about built-in `file` type. Cheers, Chris -- http://blog.rebertia.com -- http://mail.python.org/mailman/listinfo/python-list
Re: Tkinter file dialog
Ronn Ross wrote: I'm using Tkinter file selector to get a direcotry path. I'm using: self.file = tkFileDialog.askdirectory(title=Please select your directory) print file but all it prints out is: type 'file' How would I print the directory path? try doing: self.filename = tkFileDialog.askopenfilename(title = 'this is a message',initialdir='./' ) and see what happens - Hendrik -- http://mail.python.org/mailman/listinfo/python-list
Re: Tkinter file dialog
Ronn Ross wrote: I'm using Tkinter file selector to get a direcotry path. I'm using: self.file = tkFileDialog.askdirectory(title=Please select your directory) print file but all it prints out is: type 'file' How would I print the directory path? Perhaps you meant: self.file = tkFileDialog.askdirectory(title=Please select your directory) print self.file -- http://mail.python.org/mailman/listinfo/python-list