GNOME Bugzilla – Bug 51747
Rethink GtkStateType
Last modified: 2011-01-04 13:48:46 UTC
(http://mail.gnome.org/archives/gtk-devel-list/2001-March/msg00125.html) A number of problems can be identified with the current GtkStateType enumeration. * The color setup in RC files is very non-intuitive * State types are misused for things like the scrollbar trough * The states sometimes should be combined. * gtk_paint_* implementatiosn have great number of hacks involving special detail strings * It's hard to extend the current system to include an inactive state The proposal is to factor state into "the type of thing being drawn" (normal, selected, depressed, base) and "the event state" (normal, prelight, inactive, sensitive)
(Putting on 2.0 API, but high punt probability)
Going to have to wait for GTK+-3, most likely. :-(
This was solved in GTK+3 with the new GtkStyleContext and GtkStateFlags, I think