Python Forum
how to add two numbers and pass the result to the next page in tkinter?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to add two numbers and pass the result to the next page in tkinter?
#6
It is not good user interface design to have controls in one "page" change displays in a second "page". It is not an absolute, but should give you pause. If you don't immediately see the results of your actions, how do you know that you performed the action correctly? For your example I would put a button in frame 2 that draws a dialog to enter values for first_no and second_no which are applied when you press the "Ok" button in the dialog, or ignored if you press the "Cancel" button.

I cannot tell you what is a good design for your application (I don't know what you are trying to achieve), but I can say you should be spending most of your programming time thinking about the user experience and relatively little time writing code.
Reply


Messages In This Thread
RE: how to add two numbers and pass the result to the next page in tkinter? - by deanhystad - Feb-14-2022, 08:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  pass a variable between tkinter and toplevel windows janeik 10 2,855 Jan-24-2024, 06:44 AM
Last Post: Liliana
  [Tkinter] How to get the result of a ping to show in tkinter? jacklee26 6 8,054 Feb-10-2023, 01:12 PM
Last Post: NebularNerd
  [Tkinter] tkinter best way to pass parameters to a function Pedroski55 3 5,109 Nov-17-2021, 03:21 AM
Last Post: deanhystad
Thumbs Up tkinter canvas; different page sizes on different platforms? philipbergwerf 4 4,343 Mar-27-2021, 05:04 AM
Last Post: deanhystad
Star [Tkinter] How to perform math function in different page of Tkinter GUI ravaru 2 4,702 Oct-23-2020, 05:46 PM
Last Post: deanhystad
  [Tkinter] tkinter How to pass label fiilename to another module? johnjh 0 2,067 Apr-17-2020, 11:34 PM
Last Post: johnjh
  Tkinter: increasing numbers and Radiobutton issue PeroPuri 1 2,242 Apr-13-2020, 05:48 PM
Last Post: deanhystad
  Want to dynamically update numbers using tkinter in pygame script k0gane 0 2,129 Feb-09-2020, 09:01 AM
Last Post: k0gane
  [Tkinter] Result not change using Tkinter cmala 2 2,836 May-17-2019, 08:12 AM
Last Post: cmala

Forum Jump:

User Panel Messages

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