Over a million developers have joined DZone.

Python - Change_color_entry

DZone's Guide to

Python - Change_color_entry

Free Resource
// 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))

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}