Python Forum
[Tkinter] Use function from other class (Tkinter)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Use function from other class (Tkinter)
#3
thank you :)

#EDIT

I have 1 more question... how can i access user's input from the Entry now?
If there is Entry in rents.py(another class)
entry_location.get()
How can i access it in main?
I thought that it could work but it dont:
print(Rents_tab.entry_location.get())
Reply


Messages In This Thread
Use function from other class (Tkinter) - by zarize - Aug-15-2020, 09:49 AM
RE: Use function from other class (Tkinter) - by zarize - Aug-15-2020, 01:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Using Tkinter inside function not working Ensaimadeta 5 5,089 Dec-03-2023, 01:50 PM
Last Post: deanhystad
Lightbulb Using Tkinter With Concurrent.Futures / ThreadPoolExecutor Class AaronCatolico1 1 1,490 Dec-14-2022, 08:01 PM
Last Post: deanhystad
Lightbulb [Tkinter] Tkinter Class Import Module Issue AaronCatolico1 6 3,152 Sep-06-2022, 03:37 PM
Last Post: AaronCatolico1
  Tkinter won't run my simple function AthertonH 6 3,911 May-03-2022, 02:33 PM
Last Post: deanhystad
  [Tkinter] tkinter best way to pass parameters to a function Pedroski55 3 4,902 Nov-17-2021, 03:21 AM
Last Post: deanhystad
  Creating a function interrupt button tkinter AnotherSam 2 5,576 Oct-07-2021, 02:56 PM
Last Post: AnotherSam
  [Tkinter] Have tkinter button toggle on and off a continuously running function AnotherSam 5 5,053 Oct-01-2021, 05:00 PM
Last Post: Yoriz
  [Tkinter] Redirecting all print statements from all functions inside a class to Tkinter Anan 1 2,664 Apr-24-2021, 08:57 AM
Last Post: ndc85430
  tkinter get function finndude 2 2,979 Mar-02-2021, 03:53 PM
Last Post: finndude
  tkinter -- after() method and return from function -- (python 3) Nick_tkinter 12 7,490 Feb-20-2021, 10:26 PM
Last Post: Nick_tkinter

Forum Jump:

User Panel Messages

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