Skip to content

vlshevtsiv-lab/firstGUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

firstGUI

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

About

This is a simple Python Tkinter GUI application that lets the user enter text and update a label with it. The label’s text and color change when the button is clicked, demonstrating basic widgets, event handling, and interactive interfaces.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages