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 643347 - consider allowing style data in builder data
consider allowing style data in builder data
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Class: GtkStyleContext
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Carlos Garnacho
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-02-26 02:54 UTC by Matthias Clasen
Modified: 2011-03-03 01:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (3.35 KB, patch)
2011-02-26 02:54 UTC, Matthias Clasen
none Details | Review

Description Matthias Clasen 2011-02-26 02:54:39 UTC
Created attachment 181962 [details] [review]
patch

Here is a patch that parses custom attributes like

  <style>
     <class name="dark-label"/>
     <class name="big-heading"/>
  </style>

to add style classes to widgets.

This could be extended in the future to allow more style data.
Comment 1 Carlos Garnacho 2011-02-28 00:35:42 UTC
Very good idea :), sounds worthwhile to have