On Sep 15, 11:42 am, Sean DiZazzo <half.ital...@gmail.com> wrote:

>
> Whats interesting is that if you call overrideredirect from a button
> command, it works as expected.  Well, at least the text entry field
^^^^^^^^^^^^^^^^^so, Sean, you know how to *click this magic button in
the programming way*?
> behaves for me on Ubuntu...
>
> from Tkinter import *
>
> root = Tk()
>
> def override():
>     if root.overrideredirect():
>         root.overrideredirect(False)
>     else:
>         root.overrideredirect(True)
>
>     root.withdraw()
>     root.deiconify()
>
> Entry(root).pack()
> Button(root, text='Override', command=override).pack()
> root.mainloop()
>
> ~Sean

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to