<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
Buona sera, volevo costruire una form con delle Entry che in base allo stato cambiano il colore in background<br />ho provato come segue, non mi da' nessun errore in esecuzione del codice,  ma il colore in background rimane bianco<br />dove sbaglio ? <br /> 
<pre>>>> import tkinter as tk<br />>>> from tkinter import ttk<br />>>> Fin=tk.Tk()<br />>>> ST=ttk.Style()<br />>>> ST.configure('TEntry',background='blue')<br />{}<br />>>> CasellaTesto=ttk.Entry(Fin,style='TEntry')<br />>>> CasellaTesto.grid(column=0,row=0)<br /><br />grazie Gian </pre>
</body></html>
<br><br/><br/>Con Smart 3 Giga a 9 euro/4 sett navighi veloce, chiami e invii SMS dal tuo smartphone verso tutti i fissi e mobili in Italia. Passa a Tiscali Mobile! <a href='http://casa.tiscali.it/mobile/' target='_blank'>http://casa.tiscali.it/mobile/</a><br/><br/>