Bug interface tkinter
MMaxouB
Messages postés
2
Statut
Membre
-
Phil_1857 Messages postés 1956 Statut Membre -
Phil_1857 Messages postés 1956 Statut Membre -
Bonjour, j'essaye de placer l'icon de mr Beast mais l'image elle ne bouge pas quelqu'un pourrai m'aider ?
Et quand j'essaye d'afficher uniquement la frame elle ne s'affiche pas
import string
from random import *
from tkinter import *
#creation de la fenetre
window = Tk()
#personnalisation de la fenetre
window.title("ytb chaines")
window.geometry("720x720")
window.minsize(720, 720)
window.iconbitmap("ytb\youtube_icon.ico")
window.config(background='#ffffff')
#creation de la frame mr beast
frame_mrbeast = Frame(window, bg='#4065A4')
frame_mrbeast.grid(row=1,column=1)
# personnalisation de la frame mr_beast : image
width = 900
height = 900
image = PhotoImage(file="icon_mr_beast.png").zoom(1).subsample(5)
canvas = Canvas(frame_mrbeast, width=width, height=height, bg='#ffffff', bd=0, highlightthickness=0)
canvas.create_image(width/2, height/2, image=image)
canvas.pack()
# creation de la sous-frame
frame_mrbeast1 = Frame(frame_mrbeast,bg='#4065A4')
frame_mrbeast1.pack()
# personnalisation de la frame mr_beast : texte
label = Label(frame_mrbeast, text="Mr beast")
label.pack(expand=YES)
window.mainloop()
Windows / Edge 119.0.0.0
A voir également:
- Bug interface tkinter
- Bug chromecast - Guide
- Iptv bug forum ✓ - Forum Box et Streaming vidéo
- Iptv bug - Forum Box et Streaming vidéo
- Ubuntu sans interface graphique ✓ - Forum Linux / Unix
- Bug de chaîne IPTV ✓ - Forum TV & Vidéo