Category : tkinter-canvas

My goal heher is to show the photo but its not showing #import tkintter from tkinter import * from tkinter.font import Font from PIL import ImageTk,Image root = Tk() #window title root.title("Ad-hoc Networks Attendance System") #Create topframe on root window topframe=Frame(root) #create coustom font for my company my_font=Font(family="Rekha",size=30,weight="bold",slant="italic") #create label on root window label=Label(root,text="Ad-hoc Networks ..

Read more

I have a very small 10 x 10 pixel jpg image that I want to repeat it in the whole background using tkinter. from tkinter import * root = Tk() img = Image.open(resource_path("FILE LOCATION//filename.jpg")) for i in range(0,1000): image1 = ImageTk.PhotoImage(i) label1 = Label(root, image=image1) label1.pack() root.mainloop() This code this iterating but not sequentially.. I ..

Read more