j4321 / tkcalendar

Calendar widget for Tkinter
https://pypi.python.org/pypi/tkcalendar
GNU General Public License v3.0
97 stars 33 forks source link

Calendar drop-down issue #66

Closed vpdotta closed 4 years ago

vpdotta commented 4 years ago

Hi!

First, thanks for the code!

Today I noticed an issue that was fixed on 1.6.0 (thanks again), when i changed from python 3.7.3 to 3.8.1.

It was ok, solved, but when i select the calendar the drop-down issue appears again.

pyDateEntry

vpdotta commented 4 years ago

I've seen that you add those following lines

if self.winfotoplevel().attributes('-topmost', True_): self._top_cal.attributes('-topmost', True) else: self._top_cal.attributes('-topmost', False)

Removing True from if, getting the value of -topmost from window solved the issue.

j4321 commented 4 years ago

Thanks for pointing out the typo, I did some tests in Windows on a different machine and I introduced the error afterwards.