After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 51731 - Add an INACTIVE state
Add an INACTIVE state
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
1.3.x
Other All
: Normal enhancement
: Medium API
Assigned To: gtk-bugs
gtk-bugs
Depends on: 51747
Blocks:
 
 
Reported: 2001-03-06 00:30 UTC by Owen Taylor
Modified: 2011-01-04 13:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Owen Taylor 2001-03-06 00:30:58 UTC
In some cases, people want to draw widgets within unfocused
toplevels in a different style than widgets within focused
toplevels. 

This is a style that first appeared in MacOS 8 and is has
been copied in other toolkits.

To add this to GTK+ would most cleanly done by adding an
extra state, INACTIVE. More details and alternate proposals
can be found in:

http://mail.gnome.org/archives/gtk-devel-list/2001-March/msg00108.html
Comment 1 Owen Taylor 2001-03-06 01:32:31 UTC
(Putting on 2.0 API, but high punt probability)
Comment 2 Owen Taylor 2001-06-05 19:40:54 UTC
I don't like the idea of doing this without more extensive
GtkStateType changes, which aren't going to make GTK+-2.0
:-( or probably GTK+-2.x since they are heavily incompatible.
Comment 3 Javier Jardón (IRC: jjardon) 2011-01-04 13:50:15 UTC
I think this was solved in GTK+3 with the new GtkStyleContext and GtkStateFlags enum.