GTK+ 3.19.2, More CSS Changes For The Toolkit

Written by Michael Larabel in GNOME on 20 November 2015 at 07:33 AM EST. 15 Comments
GNOME
GTK+ 3.19.2 was released today as the newest development version of the toolkit in the road to GNOME 3.20.

GTK+ 3.19.2 ports most widgets over to using CSS nodes, the GTK+ Inspector now shows CSS nodes, support for the native file chooser on Windows when using the GtkFileChooserNative API, changes to the GtkFileChooser, GtkShortcutsWindows changes, and various bug fixes. The changes of having widgets ported to CSS nodes require now that third-party themes be ported over to compatibility with this GTK+ 3.20 development release.

The list of the GTK+ 3.19.2 changes can be found via the NEWS entry.

Red Hat developer Matthias Clasen has also written a blog post today about the GTK+ changes in the CSS space. He explained the new CSS nodes work, "A CSS node has an element name, a state and it can have style classes. Each widget has one or more CSS nodes, and they are organized in a tree. GTK+’s CSS machinery matches CSS selectors on this CSS node tree, and as a result, each node carries a full set of CSS properties. The transition to CSS nodes is mostly done in GTK+ 3.19.2. In a second step, we will integrate CSS nodes into size allocation and rendering. This will bring consistent support for margins, padding and min-width/height for all widgets. This step is currently being prepared on the wip/otte/gadget branch."

You can read Clasen's blog post here.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week