Python Forum
Help with multi-window system
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with multi-window system
#1
I am developing a multi-window system using Python and tkinter. Though I am, in no way, new to programming (or Python) this aspect is new to me. Previously, when developing multi-window systems I have developed using interfaces such as Visual Studio, etc.

I have undertaken two potential experiments. One where each window is defined within it's own file, as a series of functions (dealing with events, etc), all held together via a single main file. The other is by building each window as a class, then using this within the main file.

At this point I cannot see any considerable issue with either approach; though I seem to find that, due tohaving independent imports of tkinter, the class methodology results in windows that are always independent of eachother; so I cannot yet get the main window to close all other, open windows (I feel this is something I should be able to define as a closing function).

Sorry for the vagueness but before I go down a terrible rabbit hole, is there a preferred option that those with experience would recommend? Is it one of the two I have opted for, or is there a third one? Or does this purely come down to personal preferences?
Reply


Messages In This Thread
Help with multi-window system - by garynewport - Mar-14-2022, 01:01 PM
RE: Help with multi-window system - by deanhystad - Mar-14-2022, 03:54 PM
RE: Help with multi-window system - by garynewport - Mar-15-2022, 09:59 AM
RE: Help with multi-window system - by deanhystad - Mar-16-2022, 03:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a way to call and focus any popup window outside of the main window app? Valjean 6 2,021 Oct-02-2023, 04:11 PM
Last Post: deanhystad
  Pyspark Window: perform sum over a window with specific conditions Shena76 0 1,230 Jun-13-2022, 08:59 AM
Last Post: Shena76
  Difference between os.system("clear") and os.system("cls") chmsrohit 7 16,806 Jan-11-2021, 06:30 PM
Last Post: ykumar34
Question Difference between Python's os.system and Perl's system command Agile741 13 7,006 Dec-02-2019, 04:41 PM
Last Post: Agile741
  run command on system with multi qoutes evilcode1 16 6,785 Aug-31-2018, 05:19 PM
Last Post: evilcode1

Forum Jump:

User Panel Messages

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