GNOME Bugzilla – Bug 644248
stylecontext: add a raised style class
Last modified: 2017-09-13 16:14:27 UTC
This is needed e.g. for raised buttons on toolbars.
Created attachment 182887 [details] [review] stylecontext: add a raised style class This is useful for raised elements, for example raised buttons on primary toolbars.
Attachment 182887 [details] pushed as e772082 - stylecontext: add a raised style class Pushed to master.
Doesn't this duplicate the relief property? Especially if the only use case is tool buttons which are implemented as GtkButton anyway.
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.
I'd be OK removing this style class this for GTK4.