DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Python - Change_color_entry
// Cambia il colore di sfondo di una gtk.Entry, ma il discorso vale anche
// per la gtk.TextView...
import gtk
def change_color_entry(entry, color):
entry.modify_base(gk.STATE_NORMAL, gtk.gdk.color_parse(color))





