LinuxTOY 是一个致力于提供 Linux 相关资讯的专题站点。如果您发现了好用好玩的 Linux 东东并愿意发扬自由、分享的精神,可以点击顶部导航 Contact 按钮进行投稿。

Related entries

GTK+ 主题引擎将添加 CSS 支持

Ars Technica 报道,在最近于伊斯坦布尔召开的 GUADEC 大会上,GTK+ 社区对改进主题系统进行了讨论。特别令人感到兴奋的是,讨论决定创建一个实验性的 GTK+ 主题引擎,该主题引擎将通过添加 CSS 支持来让主题开发者定制其外观。

first-roundtrip

我们知道,CSS 即层叠样式表,它在网站设计中具有广泛应用。可以猜想,结合 CSS 的强大特性,将使下一代的 GTK+ 主题制作更添光彩。

目前,由 GNOME 开发者 Robert Staudinger 开发的 GTK+ 主题引擎原型已经实现。感兴趣的同学可至此处获取代码相关讨论

署名 • 注明出处 • 非商业性使用

16 Comments

  1. 1 zhuqin Commented @ 2008-07-18 10:23 amReply to this comment

    嗯,岂不是逼得让人学css?不过,好像由此网络和桌面的区别也在逐步减小。

  2. 2 黑传说 Commented @ 2008-07-18 10:30 amReply to this comment

    呵呵,网络和桌面不仅在缩小区别,更是没有区别了!

  3. 3 乌鸦飞飞 Commented @ 2008-07-18 11:10 amReply to this comment

    支持CSS以后网页和桌面的距离更小了。哈哈

  4. 4 LD Commented @ 2008-07-18 11:37 amReply to this comment

    未来的桌面会是怎样的? 有的看罗

  5. 5 lh Commented @ 2008-07-18 11:38 amReply to this comment

    gtk3么?我比较期待支持rgba的gtk3…

  6. 6 Edward Commented @ 2008-07-18 12:53 pmReply to this comment

    ownsome function!!!

  7. 7 shellex Commented @ 2008-07-18 3:36 pmReply to this comment

    非常NB。不过我希望gtk3的接口不要变化太大

  8. 8 雪梨 Commented @ 2008-07-18 5:10 pmReply to this comment

    既然 Qt4.4 集成了 QtWebKit,
    Gtk 不如也集成 WebKitGtk 吧

  9. 9 dogfox Commented @ 2008-07-18 5:30 pmReply to this comment

    css好强大?百度空间的背景就是依靠用户自己书写css来修改自己空间的背景。css是趋势?

  10. 10 fcicq Commented @ 2008-07-18 8:43 pmReply to this comment

    这个… 将来需要增加多少编译时间? :D

  11. 11 Daniel King Commented @ 2008-07-19 1:49 pmReply to this comment

    to dogfox:
    用css将表现逻辑从html里分离出来是趋势

  12. 12 Daniel King Commented @ 2008-07-19 1:53 pmReply to this comment

    其实firefox的界面就是可以用html/xml和css来定义的, 它用到了mozilla的xul引擎
    这个gtk的引擎肯定是类似xul的, 说不定就是用了xul

  13. 13 ylinon Commented @ 2008-07-19 3:55 pmReply to this comment

    CSS,真的有点令人兴奋啊。更多、更方便、更容易实现各种的效果了

    广告一下啊,我的小站 http://www.ithoter.com

  14. 14 雪梨 Commented @ 2008-07-19 4:52 pmReply to this comment

    @Daniel King:
    不, 这个引擎并没有用 xul,
    仅仅是自己解析 css。

    btw: 其实 Gtk 自己用的 pango 排版引擎也是支持 css 子集的

  15. 15 shellex Commented @ 2008-07-20 11:47 amReply to this comment

    GUI的设计趋势。

  16. 16 Moligaloo Commented @ 2008-09-08 2:21 amReply to this comment

    Qt不是老早就支持了吗?