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 644248 - stylecontext: add a raised style class
stylecontext: add a raised style class
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-03-08 22:09 UTC by Cosimo Cecchi
Modified: 2017-09-13 16:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
stylecontext: add a raised style class (940 bytes, patch)
2011-03-08 22:09 UTC, Cosimo Cecchi
committed Details | Review

Description Cosimo Cecchi 2011-03-08 22:09:21 UTC
This is needed e.g. for raised buttons on toolbars.
Comment 1 Cosimo Cecchi 2011-03-08 22:09:23 UTC
Created attachment 182887 [details] [review]
stylecontext: add a raised style class

This is useful for raised elements, for example raised buttons on
primary toolbars.
Comment 2 Cosimo Cecchi 2011-03-09 01:06:05 UTC
Attachment 182887 [details] pushed as e772082 - stylecontext: add a raised style class

Pushed to master.
Comment 3 Christian Dywan 2011-03-09 10:24:20 UTC
Doesn't this duplicate the relief property? Especially if the only use case is tool buttons which are implemented as GtkButton anyway.
Comment 4 Daniel Boles 2017-09-13 13:49:29 UTC
More so, this class is not used anywhere, i.e. not added by any widget nor themed by Adwaita or HC.

The only indication of its existence is in demos/gtk-demo/theming.ui, where .raise is added to two GtkToggleToolButtons. It does nothing there, of course. However, they *were* given symbolic icons, unlike their 'unraised' counterparts, which just risks confusing people further, as if .raised will change the appearance of icons.
Comment 5 Cosimo Cecchi 2017-09-13 16:14:27 UTC
I'd be OK removing this style class this for GTK4.