GNOME Bugzilla – Bug 766763
Create GTK theme CSS nodes and classes for GtkLabel markup elements
Last modified: 2016-05-22 07:46:25 UTC
As of 3.20, GtkLabel create both a "selection" and "link" nodes for theming using CSS, but no others. It would be useful if it also created a node for every elements found in the label's markup such as span, so apps to be able to apply GTK CSS widget theme to substrings in the label. For example, calling: > gtk_label_set_markup("<span class="warn">danger</span> normal") Would create a "span" node with the class "danger" under the label's node, which then could then be themed using: > label > span.warn { color: @warning_color }
Thanks for taking the time to report this. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 657194 ***