Re: winfo_id on OS/X

Michael Lange <[email protected]>
Newsgroups gmane.comp.python.tkinter
Message-ID <[email protected]>
Hi,

On Wed, 23 Dec 2015 20:06:28 -0500
Kevin Walzer <[email protected]> wrote:

(...)
> >
> Using Tk 8.6.4 / trunk on OS X 10.11, the following works just fine for
> me:
> 
>  >>> import tkinter
>  >>> frame = tkinter.Tk()
>  >>> id = frame.winfo_id()
>  >>> print(id)
> 140237681823504

quoting the link Jeff provided (apparently from "man winfo"):

"On the Macintosh the value has no meaning outside Tk."

I guess (although I do not have any experience with Tkinter on the
Mac) that this value (meaning the "140237681823504") is not recognized by
"Mac-Windows" as a valid window-identifier by the Macintosh's window
manager (or which ever instance may be responsible for that).

Best regards (and a nice Christmas to all of you and your loved ones!)

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

Love sometimes expresses itself in sacrifice.
		-- Kirk, "Metamorphosis", stardate 3220.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.