News for hackers. Stuff that matters.
Re:GTK+ gets CSS style theming by makmanalp on Monday August 23, 2010 @07:58PM (#1628473)
Shameless plug to my favorite toolkit: Qt has had this for ages now: http://doc.qt.nokia.com/4.6/stylesheet.html

The Qt guys also have been trying to take this a step further with the declarative UI / QML (basically a tiny DSL for UIs) project:

http://labs.trolltech.com/blogs/2009/05/13/qt-declarative-ui...

Re:GTK+ gets CSS style theming by ramidarigaz on Tuesday August 24, 2010 @12:41AM (#1628976)
I love Qt. My current project at work is all Qt, and it is so, so easy. After Gtk (no offense to those guys), Qt is fun.
Re:GTK+ gets CSS style theming by omouse on Monday August 23, 2010 @11:41PM (#1628846)
by 'ages' you mean 1 year?
Re:GTK+ gets CSS style theming by icefox on Tuesday August 24, 2010 @12:10AM (#1628913)
Try Qt 4.2 which was released October 4, 2006 and thats not even to mention the fact that you could use it for months before that. http://doc.trolltech.com/4.2/qt4-2-intro.html#widget-style-s...
Re:GTK+ gets CSS style theming by Locke1689 on Tuesday August 24, 2010 @12:40AM (#1628972)
@krainboltgreene

I don't know, I think that's a reasonably long period of time in graphics framework development.

Re:GTK+ gets CSS style theming by krainboltgreene on Tuesday August 24, 2010 @12:36AM (#1628961)
When did 4 years become "ages"?
Re:GTK+ gets CSS style theming by Zak on Monday August 23, 2010 @07:00PM (#1628346)
Great in concept, but copying from CSS itself seems like a bad idea. The lack of abstraction can lead to some really inelegant stylesheets or necessitate writing the stylesheet in another language and generating CSS with a compiler. The lack of conditionals and variables is, to my way of thinking the most significant limitation.
Re:GTK+ gets CSS style theming by krainboltgreene on Tuesday August 24, 2010 @12:38AM (#1628969)
I can understand adding stylesheets to GUI. That makes sense, perfect sense even.

But to copy all the flaws of CSS as well?

Re:GTK+ gets CSS style theming by KeithMajhor on Monday August 23, 2010 @07:43PM (#1628432)
This change seems very much in line with the GNOME philosophy. It would _greatly_ simplify theme creation.
Re:GTK+ gets CSS style theming by houseabsolute on Monday August 23, 2010 @09:22PM (#1628620)
. . . and still look horrible.

You can't say that here! But the screenshot makes it pretty clear.

Edit: that's the default engine, as it says in the blog post. I still think GTK looks awful, but this is not really good evidence.

Re:GTK+ gets CSS style theming by ataranto on Monday August 23, 2010 @09:40PM (#1628656)
GTK+ doesn't "look" like anything. Themes and engines do though. Is that your complaint?
Re:GTK+ gets CSS style theming by houseabsolute on Tuesday August 24, 2010 @04:39AM (#1629311)
Technicalities and semantics. The only thing that matters is what I'm presented with as a user, and what I get when I use it does not look good.
Re:GTK+ gets CSS style theming by naner on Monday August 23, 2010 @11:04PM (#1628796)
Yeah the default look is crap. We don't have a lot of options on Linux, though. Qt doesn't have many good themes either and it doesn't feel as nice as GTK. Enlightenment feels really quirky and unpolished.