Kevin Walzer <wordt...@users.sourceforge.net> added the comment:

With the attached patch, the calltip now displays in the test in calltips_w.py 
on macOS. As I suspected, a judicious call to "update" forces the event loop to 
cycle on macOS. It should be harmless on other platforms, but if it causes some 
sort of performance slowdown, it can be wrapped in a call to "tk 
windowingsystem" eq "aqua" (not sure how to implement that in this module) so 
it only runs on the Mac. I also removed the platform call to "MacWindowStyle" 
as it is no longer needed on recent versions of the Mac.

----------
keywords: +patch
Added file: https://bugs.python.org/file47725/calltip_w.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34275>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to