Python Forum
[Tkinter] Modal window
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Modal window
#11
OK, I'll explain the functionality, what would be the best approach then?

User opens a search program, and gets a single-select list(box) with
names of counties, provinces, French "préfectures"., etc.
He clicks on one of them, and the TopLevel opens, showing a list(box)
with all the villages in that county... , for which documents are available (prayer cards, marriage records, etc.)
This is just for info, the user can verify if the location he is interested in, has stuff available.
He can scroll the list f is is long.
The only thing he can do now, is click on the toplevel window close button.
No, he is not supposed to click on a village in the toplevel window,
because data are organised by event type first. (If you want marriage info, you don't look in prayer cards)
(Parish registers are also per type of event, at a lower geo level than village or town)
That's all, no dialog.
Paul

edit: I suppose that I do not need a "mainloop" for this window. Otherwise it throws an error when the window is closed.(tkinter.TclError)
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Reply


Messages In This Thread
Modal window - by DPaul - Oct-15-2023, 06:51 AM
RE: Modal window - by menator01 - Oct-15-2023, 09:06 AM
RE: Modal window - by DPaul - Oct-15-2023, 09:51 AM
RE: Modal window - by Gribouillis - Oct-15-2023, 09:58 AM
RE: Modal window - by menator01 - Oct-15-2023, 10:01 AM
RE: Modal window - by Larz60+ - Oct-15-2023, 01:11 PM
RE: Modal window - by deanhystad - Oct-15-2023, 03:06 PM
RE: Modal window - by DPaul - Oct-15-2023, 05:21 PM
RE: Modal window - by DPaul - Oct-16-2023, 03:08 PM
RE: Modal window - by deanhystad - Oct-16-2023, 07:13 PM
RE: Modal window - by DPaul - Oct-17-2023, 07:11 AM
RE: Modal window - by deanhystad - Oct-17-2023, 09:40 AM
RE: Modal window - by DPaul - Oct-17-2023, 12:17 PM
RE: Modal window - by deanhystad - Oct-17-2023, 01:19 PM
RE: Modal window - by DPaul - Oct-18-2023, 06:11 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Interaction between Matplotlib window, Python prompt and TKinter window NorbertMoussy 3 742 Mar-17-2024, 09:37 AM
Last Post: deanhystad
  tkinter window and turtle window error 1885 3 6,843 Nov-02-2019, 12:18 PM
Last Post: 1885
  Closing Modal Window in QT nieselfriem 0 4,758 Apr-19-2017, 03:32 PM
Last Post: nieselfriem
  update a variable in parent window after closing its toplevel window gray 5 9,231 Mar-20-2017, 10:35 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020