TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

GTK+ gets CSS style theming

41 pointsby junkbitalmost 15 years ago

5 comments

makmanalpalmost 15 years ago
Shameless plug to my favorite toolkit: Qt has had this for ages now: <a href="http://doc.qt.nokia.com/4.6/stylesheet.html" rel="nofollow">http://doc.qt.nokia.com/4.6/stylesheet.html</a><p>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:<p><a href="http://labs.trolltech.com/blogs/2009/05/13/qt-declarative-ui/" rel="nofollow">http://labs.trolltech.com/blogs/2009/05/13/qt-declarative-ui...</a>
评论 #1628976 未加载
评论 #1628846 未加载
Zakalmost 15 years ago
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.
krainboltgreenealmost 15 years ago
I can understand adding stylesheets to GUI. That makes sense, perfect sense even.<p>But to copy all the flaws of CSS as well?
KeithMajhoralmost 15 years ago
This change seems very much in line with the GNOME philosophy. It would _greatly_ simplify theme creation.
houseabsolutealmost 15 years ago
. . . and still look horrible.<p>You can't say that here! But the screenshot makes it pretty clear.<p>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.
评论 #1628656 未加载
评论 #1628796 未加载