About 454,000 results
Open links in new tab
  1. python - Creating a back button in tkinter? - Stack Overflow

    Oct 24, 2015 · I have a button, encrypt_button, which destroys what was originally on the screen and displays something new under def encrypt(). I want to create a back button which can restore what was on a previous screen after it has been destroyed.

  2. How to create a "go back Button" on a second window with tkinter?

    Mar 23, 2019 · I'm doing a little "Supplementshop" with python 3.7.2 and tkinter. I want to use a "go back to the main window"-button. Because I'm creating new windows through buttons and functions, I think I can't use the .destroy method...

  3. python - Tkinter Back button - Stack Overflow

    Jul 2, 2021 · I wanted to add a 'back button' which would show the previous frame. To do so, in my main window class, I created a back button and assigned it with a function. And everytime I change frames, I change a parameter of my main frame : previous and current.

  4. Tkinter Application to Switch Between Different Page Frames

    Dec 11, 2022 · In this article, we are going to write a Python script to change the color of the button in Tkinter. It can be done with two methods: Using bg properties.Using activebackground properties.Prerequisite: Creating a button in tkinter, Python GUI – Tkinter Change the color of the button in Python - Tkin

  5. [TKinter] How to implement forward or backward button in a …

    Jun 30, 2023 · I want to create a forward / backward function using tkinter button which will charge all the contents in the window. For example gmail login. The first page asks for the email and there is the submit button.

  6. python - How to add a back button to go back to previous page - Ask Ubuntu

    The WebkitWebView has a go_back() and go_forward() method which will handle everything for you. So going from your example, just do: def on_backbutton_clicked(self, widget): self.webview.go_back() def on_forwardbutton_clicked(self, widget): self.webview.go_forward()

  7. Python Tkinter - Create Button Widget - GeeksforGeeks

    Aug 14, 2024 · The Tkinter Button widget is a graphical control element used in Python's Tkinter library to create clickable buttons in a graphical user interface (GUI). It provides a way for users to trigger actions or events when clicked.

  8. Python Tkinter universal “Backbutton - dorsetrigs.org.uk

    Aug 30, 2024 · The Universal "Back" Button Solution. The key to implementing a universal "Back" button is to keep track of the currently active frame. We can achieve this by: Maintaining a list of frames: Store all frames in a list or dictionary. Updating the active frame: Whenever a new frame is displayed, update the active frame reference.

  9. Tkinter Button - Python Tutorial

    To assign a callback to the command option, you can use a regular function: root, . text= "Click Me", . command=callback. If the function contains one expression, you can use a lambda expression: root, . text= "Demo Button", . command= lambda: ...

  10. Tkinter Cheat Sheet | GeeksforGeeks

    Jul 19, 2023 · The Tkinter Button widget is a graphical control element used in Python's Tkinter library to create clickable buttons in a graphical user interface (GUI). It provides a way for users to trigger actions or events when clicked.

  11. Some results have been removed
Refresh