Python Forum
[Tkinter] Unable to Obtain values from one Tkinter Program into another
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Unable to Obtain values from one Tkinter Program into another
#2
You must not call .mainloop() more than once. You could read this tutorial at effbot to create a dialog window. Look at the tkSimpleDialog.py file the key steps are in the dialog class' __init__() method, namely the calls to grab_set(), focus_set(), wait_window(). You may need to adapt this code to python 3 (which is easy).
Reply


Messages In This Thread
RE: Unable to Obtain values from one Tkinter Program into another - by Gribouillis - Aug-24-2018, 01:24 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] Noob question:Using pyttsx3 with tkinter causes program to stop and close, any ideas? Osman_P 4 5,292 Nov-14-2020, 10:51 AM
Last Post: Osman_P
  [Tkinter] Tkinter delete values in Entries, when I'm changing the Frame robertoCarlos 11 5,801 Jul-29-2020, 07:13 PM
Last Post: deanhystad
  [Tkinter] Problems to display Web Scraping values in Tkinter Lucas_Ribeiro 0 1,564 May-07-2020, 12:36 AM
Last Post: Lucas_Ribeiro
  [Tkinter] Tkinter adding entry values scratchmyhead 1 2,199 May-04-2020, 05:21 AM
Last Post: Yoriz
  Tkinter:Unable to bind and unbind function with a button shallanq 2 5,029 Mar-28-2020, 02:05 AM
Last Post: joe_momma
  Unable fetch fucntion data in class in tkinter jenkins43 2 3,882 Nov-30-2019, 09:47 PM
Last Post: jenkins43
  Unable to put background image on Tkinter Frame jenkins43 2 8,749 Nov-27-2019, 11:38 AM
Last Post: jenkins43
  tkInter and Pillow don't display any images in GUIs - program gives errors instead SomeRandomGuy 9 10,773 Oct-29-2019, 02:57 PM
Last Post: SomeRandomGuy
  Unable to update or refresh label text in tkinter jenkins43 3 6,598 Jul-24-2019, 02:09 PM
Last Post: Friend
  Exiting/killing a program with tkinter but leaving the graphic on the screen jpezz 3 3,968 Apr-07-2019, 02:13 PM
Last Post: jpezz

Forum Jump:

User Panel Messages

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