Комментарии:
Hello sir,
Sir when I run the code, it comes out good, but, after expanding the window to its maximum size, the background image does not fill the rest of the portion left on the window. Please help....
Thank you
Love from India
when you resize the program window the background doesnt fill and the text is no longer centered. other than that your tutorial works well but the code please i need to see the whole window going back and fourth and replying alot makes it harder to read.
Ответитьgood
ОтветитьHow to add image on it
Ответитьthis isn't working for me
from tkinter import *
window = Tk()
window.geometry("800x700")
c=Canvas(window,bg="grey16",height=200,width=200)
filename = PhotoImage(file='C:/Users/omen/Downloads/image.gif')
background_lable=Lable(window,image=filename)
background_lable.place(x=0,y=0 ,relwidth=1, relheight=1)
c.pack()
window.mainloop()
any idea how to make a matplotlib chart background transparent in a tkinter window!?
Ответитьhow i can create a tk.text or tk.entry with fg= transparent?
Ответитьwhen doing in mac os, buttons still having background color
ОтветитьThanks John. That was great❤️
ОтветитьI wish you were my python teacher in my college... I'm struggling a lot to learn python. From now onwards I won't cause I found you SIR. Thank you so much for your explanation. It was really an amazing explanation I have ever heard from anyone.....
Ответитьcan we replace images with videos as background
ОтветитьIf you get the error that the image can't be read just remove 'root' from this line
bgimage_label = Label(root, image=bg_image)
and if the image is jpg, convert it to png
You just earned a sub! Is there any way you could make a video on using videos or image sequences that loop as a background in tkinter?
ОтветитьHello sir
How to do the same with checkbutton, the background of the checkbutton is white,how do we change the background of the checkbutton to merge with background image please help me sir
aint working
ОтветитьThanks
Ответитьi get a permission denied error when tkinter tries to open up an image .Any clue on how to fix?
ОтветитьNoone dislikes anything????
Ответитьcan you set a gif file as the background?
ОтветитьSours Cod?
ОтветитьWow! I've learned a lot from this video, thanks Elder👌🏾
Awesome!!!!
Can we use background video in Tkinter using canvas?
ОтветитьCan u plz tell how I can add button images with another image as a background
I've tried this method bit I get a grey square background in my button
I don't know how to get rid of that , I can't set a background colour cuz there are variety of colours in the bg image
Can u plz help
bg = PhotoImage(file="C:\Users\awips\Desktop\SMPTE.png.png")
^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
Thank you is not enough for you my friend. this was such a headache for me until i watched your video. thank you a million times over. you are truly one of a kind.😃😃😃❤❤💯💯
ОтветитьSir I'm getting error when I am using the "file" attribute and its shows blank white space if not used the fill attribute
ОтветитьCan you show me how to make a live wallpaper using tkinter 🥺🥺
ОтветитьThank you for this video!
ОтветитьI tried this (canvas method) and my image isn't being displayed properly. It hugs in the northwest corner but the image is too big. How do I make it so that the image fits perfectly inside of the window?
ОтветитьAaaand subscribe *click
ОтветитьI am not sure, but I think it is only works if your image pixels are also 800x500
Ответитьi keep getting an error no such file or directory idk how to find it.
ОтветитьThank you teacher... very good...
ОтветитьCan this be implement in raspberry pi ?
Ответитьany way to do the same for checkbuttons?
Ответитьthanks Walter white 😄
ОтветитьCan i do this with gifs too?
ОтветитьWell found today and gave a sub :) Thanks for providing such content
ОтветитьI wish if i could like this video 100 times 😀👍🏻
ОтветитьThanks man, this helped !
After watching few of his videos, I am convinced that buying his courses is gonna be worth it ! 🙌🏻
Why do I have "couldn't recognize data in image file"?
ОтветитьAlso I tried your code it does not work
ОтветитьCould you please share your code Github Link makes it a lot easier to take the code for project
ОтветитьYou say check the pin comment where is it ??
ОтветитьCan't I just make bg = None ? just a guess /:
ОтветитьThanks man 👍
ОтветитьMan your videos are truly a lot of help! 🔥🔥
ОтветитьHello, I want to change the background. But it didn't work out. Can you help me?
Ответить