Python Forum
Pysimplegui - Windows location
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pysimplegui - Windows location
#1
Hello All,

I'm making a program using PySimpleGUI, and unlike my previous programs, I'm looking to make the windows appear in the same place as the previous window (Once an event is called).

I've tried saving the window.CurrentLocation to a variable and using that as the location in the second window, but that just flags errors. Any ideas?

Thanks,
James
while dad_has_cigs == True:
    happiness = True
    if dad_has_cigs == False:
    print("Dad come home!")
    happiness = not happiness
    break
Reply


Messages In This Thread
Pysimplegui - Windows location - by jamesaarr - Sep-09-2021, 03:47 PM
RE: Pysimplegui - Windows location - by deanhystad - Sep-09-2021, 04:40 PM
RE: Pysimplegui - Windows location - by jamesaarr - Sep-10-2021, 08:52 AM
RE: Pysimplegui - Windows location - by jamesaarr - Sep-10-2021, 09:07 AM
RE: Pysimplegui - Windows location - by FullOfHelp - Sep-11-2021, 02:15 PM
RE: Pysimplegui - Windows location - by jamesaarr - Sep-13-2021, 08:15 AM
RE: Pysimplegui - Windows location - by FullOfHelp - Sep-13-2021, 05:04 PM
RE: Pysimplegui - Windows location - by FullOfHelp - Sep-13-2021, 05:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PySimpleGUI Try Except jamesaarr 1 1,986 Nov-18-2021, 02:02 PM
Last Post: jamesaarr

Forum Jump:

User Panel Messages

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