Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #105939

Re: [newbie] tkFileDialog does not show title

From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Newsgroups comp.lang.python
Subject Re: [newbie] tkFileDialog does not show title
Date 2016-03-28 20:57 -0400
Organization IISS Elusive Unicorn
Message-ID <mailman.123.1459213086.28225.python-list@python.org> (permalink)
References <968ddc19-1944-4ec8-975b-ec88e4391361@googlegroups.com>

Show all headers | View raw


On Mon, 28 Mar 2016 14:10:28 -0700 (PDT), jenswaelkens@gmail.com declaimed
the following:

>I'm using the tkFileDialog-module in Python 2.7, it works fine except for one thing: when I add a title, the title isn't shown.
>
>e.g. I have this line of code:
>inputfilename=tkFileDialog.askopenfilename(defaultextension=".dat", filetypes=(("data file", "*.dat"),("All Files", "*.*") ),title='Select input file')
>
>this works fine i.e. the file selector menu opens but I expected that the text
>'Select input file' would be displayed too. Can anyone here explain me how I can achieve this?
>
	Where did you look for the title? Shows up next to the Tk logo at the
top of the window here (Win7 -- and I even started it from inside of
PythonWin <G>)

	Now to figure out how to get rid of the empty "tk" window <G> (Ah,
needed to kill PythonWin)
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[newbie] tkFileDialog does not show title jenswaelkens@gmail.com - 2016-03-28 14:10 -0700
  Re: [newbie] tkFileDialog does not show title Wildman <best_lay@yahoo.com> - 2016-03-28 17:14 -0500
  Re: [newbie] tkFileDialog does not show title Peter Pearson <pkpearson@nowhere.invalid> - 2016-03-28 22:29 +0000
    Re: [newbie] tkFileDialog does not show title jenswaelkens@gmail.com - 2016-03-28 23:47 -0700
      Re: [newbie] tkFileDialog does not show title Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-03-29 09:13 -0400
  Re: [newbie] tkFileDialog does not show title Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-03-28 20:57 -0400

csiph-web