On 16-Mar-18 3:51 AM, Ashok wrote:
> No, not a bug, nor a quirk:-). Tk "." is not actually a Windows
> toplevel window as you have discovered but is wrapped by one. Afaik,
> this has always been the case. If you look at the "wm title"
> implementation you will probably find it doing the equivalent of the
> get_parent_window sequence and setting its title.
>
> /Ashok
>
>
Thank you Ashok, that makes sense. Here's one thing though - it's
confusing as hell :) I was pulling my hair out trying to figure out
what's going on and why nothing works. May I suggest adding a small
clarification to the docs, something like "if you want to work with
toplevel windows, make sure to get the **parent** window handle when
using tkpath_to_hwnd" with an example of how to do it?
--
Best regards,
Eugene