Sie sind auf Seite 1von 3

lhlkhlkhkl

jhgjhgsdgsdgjhgjhg

qfqfqfqf‫يبشسيبشيب‬

Dfljsdgsdglkasdl

asfasf‫يلبلبي‬

wegsdgsdgsdfg

sdgsdgsdg

Table of Contents [hide]


• 1 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Create your first GUI application
• 2 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Create a label widget
• 2.1 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Set label font size
• 2.2 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Setting window size
• 3 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Adding a button widget
• 3.1 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Change button foreground and background colors
• 3.2 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Handle button click event
• 4 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-tutorial/" Get
input using Entry class (Tkinter textbox)
• 4.1 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Set focus to entry widget
• 4.2 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Disable entry widget
• 5 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-tutorial/" Add
a combobox widget
• 6 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-tutorial/" Add
a Checkbutton widget (Tkinter checkbox)
• 6.1 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Set check state of a Checkbutton
• 7 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-tutorial/" Add
radio buttons widgets
• 7.1 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Get radio button value (selected radio button)
• 8 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-tutorial/" Add
a ScrolledText widget (Tkinter textarea)
• 8.1 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Set scrolledtext content
• 8.2 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Delete/Clear scrolledtext content
• 9 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Create a MessageBox
• 9.1 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Show warning and error messages
• 9.2 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Show askquestion dialogs
• 10 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Add a SpinBox (numbers widget)
• 10.1 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Set default value for Spinbox
• 11 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Add a Progressbar widget
• 11.1 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Change Progressbar color
• 12 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Add a filedialog (file HYPERLINK "https://likegeeks.com/python-gui-
examples-tkinter-tutorial/"& HYPERLINK "https://likegeeks.com/python-gui-
examples-tkinter-tutorial/" directory chooser)
• 12.1 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Specify file types (filter file extensions)
• 13 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Add a Menu bar
• 14 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Add a Notebook widget (tab control)
• 14.1 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Add widgets to Notebooks
• 15 HYPERLINK "https://likegeeks.com/python-gui-examples-tkinter-
tutorial/" Add spacing for widgets (padding)

se the progressbar class like this:

1 from tkinter.ttk import Progressbar


2
3 bar = Progressbar(window, length=200)
You can set the progress bar value like this:

bar['value'] = 70
You can set this value based on any process you want like downloading a file
or completing a task.

kgjkjgkgkjgk

Das könnte Ihnen auch gefallen