Tkinter GUI Demo Description
This is a simple Python GUI application built using Tkinter. The program demonstrates the basics of graphical interfaces, including labels, text entry fields, buttons, and event handling. When the user enters text into the input field and clicks the button, the label updates to show the entered text and changes its color.
This project is ideal for beginners who want to learn how to create interactive desktop applications with Python.
Features
Interactive window with a label, text entry, and button
Updates label text dynamically based on user input
Changes label text color on button click
Demonstrates use of Frames, Labels, Entry widgets, and Buttons in Tkinter
How to Run
Make sure Python 3 is installed on your computer.
Save the Python script (e.g., main.py) in a folder.
Open a terminal or command prompt in that folder.
Run the script with the command:
python main.py
The GUI window will open. Enter text in the input field and click "Оновити лейбл" to update the label.
Example Usage
Launch the program.
Type any text into the entry field.
Click the Update Label button.
The label will display the entered text and change its color to yellow.
Learning Goals
Create a basic GUI using Tkinter
Understand Frames, Labels, Entry, and Button widgets
Handle user input and events in a GUI
Update widget properties dynamically