Creating a simple GUI example with using Python

import tkinter as tk


# Pencere oluşturma

root = tk.Tk()

root.title("Basit GUI Örneği")


# Etiket (Label) ekleme

label = tk.Label(root, text="Merhaba, bu basit bir GUI örneğidir.")

label.pack()


# Düğme (Button) oluşturma

def button_click():

    label.config(text="Düğmeye tıklandı!")


button = tk.Button(root, text="Tıkla", command=button_click)

button.pack()


# Pencereyi başlatma

root.mainloop()


Yorumlar

Bu blogdaki popüler yayınlar

THE KULAKLIK

BİZ Mİ TOPU SEÇERİZ YOKSA TOP Mİ BİZİ SEÇER TOPUN İZİNDE 😂

Abu , Labne, Labubu 😅