Python Forum
I'm Student. help
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I'm Student. help
#1
Hi.

I want to background image full screen and "sistemeGirilenKisi" background of the Label transparan. How do it?
import tkinter
from tkinter import*
from tkinter import messagebox
import PIL
from PIL import ImageTk
from PIL import Image

kullaniciEkran = Tk()
kullaniciEkran.title("Stok")
kullaniciEkran.geometry("800x600+0+0")
kullaniciEkran.resizable(FALSE,FALSE)
bilgilendirme = messagebox.showinfo("Bilgilendirme", "Sisteme Giriş Başarılı!")
my_image= ImageTk.PhotoImage(Image.open("bgimage.jpg"))
arkaplan = Label(kullaniciEkran, image=my_image)
arkaplan.place(x=0,y=0,width=800,height=600)

bilgimesaji=Label(kullaniciEkran,text="Catering  Sistemimize Hoş Geldiniz!")
bilgimesaji.pack(side=TOP)


def deneme():
    print("deneme")


menuEkle=Button(kullaniciEkran,compound=TOP, text="Menü Ekle", command=deneme)
menuEkle.place(x=50,y=50,height=50,width=100)
kullaniciEkle = Button(kullaniciEkran, text="Kullanıcı Ekle", compound=TOP , command=deneme)
kullaniciEkle.place(x=150,y=50,height=50,width=100)


sistemeGirilenKisi=Label(kullaniciEkran,text="Sisteme Kayıtlı Kişi Sayısı : ")
sistemeGirilenKisi.place(x=50,y=250)




kullaniciEkran.mainloop()
Reply


Messages In This Thread
I'm Student. help - by oguzcan - Apr-25-2020, 11:08 PM
RE: I'm Student. help - by Larz60+ - Apr-26-2020, 02:04 AM
RE: I'm Student. help - by oguzcan - Apr-26-2020, 10:05 PM
RE: I'm Student. help - by Larz60+ - Apr-26-2020, 10:13 PM
RE: I'm Student. help - by oguzcan - Apr-26-2020, 10:19 PM
RE: I'm Student. help - by Larz60+ - Apr-27-2020, 04:43 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020