[PythonCE] Tkinter captures the little "X" close window button?
jimswalsh at gmail.com
Thu Mar 6 14:53:50 CET 2008
I think my problem is the use of overrideredirect.
I want my pythonce Tkinter window to look like all good WindowsCE windows:
using the top of the screen as the title bar and the little X up there.
If I use:
I get a pretty big window but still with a separate title bar wasting screen
If I add:
I get a truly full screen window. But I realized the bar across the top of
the screen doesn't belong to "tk" but rather to the last app. Apparently
overrideredirects keeps my app out of the hands of the window manager all
Does anyone know the best way to get a proper WinCE application appearance
Frédéric Mantegazza-2 wrote:
> On mercredi 05 mars 2008, Jim Walsh wrote:
>> I want to do something when the user taps the little "X" in the upper
>> right hand corner. Can we do the default action of hiding the app?
> I use something like:
> self.protocol("WM_DELETE_WINDOW", self._quit)
> to bind the X close button to my _quit() method. But I don't know how to
> hide the app (you mean iconify?)...
> PythonCE mailing list
> PythonCE at python.org
View this message in context: http://www.nabble.com/Tkinter-captures-the-little-%22X%22-close-window-button--tp15852528p15873131.html
Sent from the Python - pythonce mailing list archive at Nabble.com.
More information about the PythonCE