• Benvenuti su RaspberryItaly!
Benvenuto ospite! Login Login con Facebook Registrati Login with Facebook


Tags
Author: cpnet - Replies: 2 - Views: 2983
Python3 tkinter testo con sfondo trasparente
Salve gente,
per favore qualcuno potrebbe aiutarmi a rendere lo sfondo del testo trasparente con tkinter...!?

Allego il mio codice:
------------------------------------
[code]from tkinter import *

root = Tk()

img = PhotoImage(file="image.gif")
background=Label(root, image=img)
background.place(x=0,y=0,relwidth=1,relheight=1)

w = Label(root, text="Testo di prova su RaspBerry Pi 4")   # Questo è il testo che vorrei rendere trasparente.
root.attributes('-fullscreen', True
Forum con nuovi Post
Forum senza nuovi post
Forum bloccato
Forum Redirect