In the last weeks I’ve been working on GTK+ themes, customizing some apps, and I missed the tools we have on the web world that allow us to to some live editing on CSS.
I remembered we had Parasite, a tool similar to Firebug, but for GTK+ apps. Unfortunately it didn’t support CSS tweaking. But it does now! I’ve made some improvements on it mainly to allow live editing of CSS, but not limited to that.
Some changes so far:
- Live editing of CSS, for the whole application, or only for the selected widget
- Ability to add/remove a CSS class for a specific widget. (Editing of pseudo-classes like :hover is planned)
- In the Property inspector, if a property itself is another Object, we can also inspect it. (For example, you can inspect a Buffer inside a TextView)
- A bit of UI change
I have made a small video showing the improvements:
Link to the video
The code is on the usual place, github: https://github.com/chipx86/gtkparasite
Please, test it and file bugs/wishes/pull requests. /me is now wearing the maintainer hat
Note: it requires GTK+ 3.10 (and optionally python+gobject introspection for the python shell)