var alinks_link; var trackImage = new Image(); function alinks_click(link) { var keyphrase = link.innerHTML; trackImage.src = 'http://www.thecredence.com/wp-content/plugins/alinks/classes/aLinksAjax.php?log=' + keyphrase; pause(1000); return true; } function pause(numberMillis) { var now = new Date(); var exitTime = now.getTime() + numberMillis; while (true) { now = new Date(); if (now.getTime() > exitTime) return; } }
You seem to be using a version of Internet Explorer.你似乎可以用一个版本的ie 。 For a safer browsing experience, please consider一个更安全的浏览体验,请考虑 and

If you're new here, you may want to subscribe to our RSS feed as well as to our NewsLetter (on Top Right hand menu) to get highly informative articles weekly...and NO, we never spam!如果你是新这里,你可以订阅我们的rss以及我们简讯 (顶右手菜单) ,以获得翔实周刊文章… …不,我们从来垃圾!

I have decided to cover some more linux related topics in the weekend, so be prepared for Linux Weekend我已决定支付多一些linux的相关课题,在周末,所以愿意为linux周末 : ) Although I will also be putting occasional PHP stuff, afterall the last Article on PHP Frameworks become a Huge Hit, got 28 comments so far and people like JoshDavey(of http://madeam.com/ ) and Nate(of http://cakephp.org ) had put there thoughts on it.虽然,我还会偶尔把php的东西,毕竟最后一条关于php框架成为一个巨大的打击,有28评论迄今人们喜欢joshdavey ( http://madeam.com/ )和内特( http:// cakephp.org )提出了有思考。 I will surely be covering more of PHP frameworks in coming week.我一定会涵盖更多的php框架,在未来一周。

Anyway so after 5 Alternatives to iTunes and How to make your windows desktop like linux articles, here is my third one on GUI toolkits.无论如何,所以经过5替代itunes如何使你的windows桌面linux一样物品,这里是我的第三个关于贵工具箱。 I hope you will find it interesting.我希望你会觉得有趣。

So Twenty years ago, having a feature-packed application with no GUI was tolerable – but this is no longer the case nowadays.所以20多年前,有一个特点,包装应用无鬼容忍-不过,这已不再是现今情况。 GUIs are especially important for Unix programmers, with Linux trying to gain an upper hand on the desktop.图形尤为重要的unix程序员,与linux试图抢占先机,对桌面。

If the choices of GUI toolkits are almost clear on Windows platforms, there are several prevalent toolkits on Linux and Unix in general.如果选择贵工具箱几乎明确windows平台上,有几个流行工具对linux和unix普遍欢迎。 Let's have a look at them.让我们来看看他们。

qt_logo.png Qt , developed by Trolltech , is considered by many to be an excellent example in terms of organization and ease-of-use. 夸脱开发奇趣 ,是许多人认为是一个非常好的例子,在组织和易用性。 Qt is a multi-platform, C++ framework, which contains a vast range of UI widgets, along with other constructs, like linked lists or XML parsers. qt是一个跨平台,三+框架,其中包含了大量的界面控件,连同其他结构,例如链表或xml解析器。 Despite being originally written for C++, various bindings for Qt, Perl, PHP, Ruby, LISP and others do exist.尽管原本写三+各种绑定夸脱,和perl , php中,红宝石, lisp的和其他不存在。

Those who prefer Qt consider it stands out through its signal/slot paradigm which makes it very easy to connect the UI to the actual functions.那些宁愿夸脱考虑脱颖而出通过其信号/插槽范式使得它很容易连接介面,以实际的功能。 However, Qt has the disadvantage of being very complex in terms of size and construction.不过,夸脱有缺点非常复杂,从规模和建筑等。 Qt-based applications tend to be rather slow, due to its complexity.基于qt的申请往往会相当缓慢,但由于其复杂性。 Another disadvantage is its heavy use of macros.另一个不利因素是其使用了大量的宏。 Although these do decrease the complexity of the code, it also makes porting Qt applications very difficult.虽然这些不降低复杂性代码,它也使得携夸脱申请非常困难。

gtk-logo.png GTK is the other major contender. gtk是其他主要竞争者。 Unlike Qt, is a C-based toolkit, and forms the base of Gnome .夸脱不像是一个三型工具,并形成基地化 It has the advantage of being very fast, as well as being less complex in construction when compared to Qt.它的优点是非常快速,以及受到那么复杂,在施工时相比夸脱。 Being written in C, bindings for other languages were easier to develop, so virtually every modern programming language has GTK bindings , from Python to Ruby and LISP, and even to lesser-used languages like Ada, D or Euphoria.被写在c ,绑定其他语言易于开发,所以几乎每一个现代编程语言gtk的绑定 ,从巨蟒,以红宝石和lisp ,甚至较少使用的语言一样,反倾销协定, d或欣快感。

However, GTK has its disadvantages.不过, gtk上有其不利之处。 It relies heavily on callbacks, instead of the slot/signal paradigm that Qt uses.它依靠回调,而不是槽/信号范式夸脱用途。 As a consequence, debugging GTK programs is often difficult, and many language hacks are employed.作为一种后果,调试gtk的节目往往是困难的,许多语言黑客受雇。 In addition, the documentation is of a sensibly lower quality when compared to Qt's.此外,该文件是一个明智的质量较低,相比夸脱的。

wxwidgets1.jpg wxWidgets is quickly catching up. 1.2.4正迅速赶上来。 wxWidgets uses an interesting approach – instead of drawing its own widgets, it provides a thin abstraction over the system's native widgets (e.g. Aqua on OS X, GTK or Motif on Linux and so on). 1.2.4用一个有趣的方法-而不是画自己的控件,它提供了一个抽象薄较系统的母语控件(如水色对o sx中, g tk的主线还是在l inux等) 。

As a consequence, wxWidgets programs are extremely portable.作为一种后果, 1.2.4节目非常便携。 However, wxWidgets has a rather poor documentation, and its bindings are often using incompatible branches (like PLT Scheme does).但是, 1.2.4有相当差文件,其约束往往利用不相容分行(如血小板是否计划) 。 Although it had a growing userbase, wxWidgets is seriously losing field.虽然它已越来越多用户升级, 1.2.4严重流失外地。 By the way, I have written a wxWidget Tutorial some time back, which you may like to read to under it better.由程,我已写了wxwidget补习一段时间回来,你可能想阅读下它变得更好。 : )

motiflogo.gif Motif is the grandfather of Unix GUI toolkits. 主线是祖父的unix工具贵。 It is famous for being insanely difficult to learn, a huge pain to debug and looking very ugly.它是著名正在疯狂难学,一个巨大的痛苦,调试和展望非常难看。 Motif programs are difficult to port to unsupported platforms – but this is the important aspect of Motif: almost every platform is supported.主线节目难以港口无依无靠的平台-而这是重要的一环主线:几乎每一个平台上的支持。 Motif programs are basically guaranteed to run on any operating system that has an X11 implementation available – and almost all do, from DOS to AIX .主线节目基本上保证任何操作系统上运行了一个x11的实现可用-几乎所有做的,由民政向艾克斯。

Motif is no longer widely used on the desktop, but many important Unix operating systems, including AIX and Solaris , use Motif-based programs extensively, and Motif-based programs are still being written.主线不再是广泛用于台式机,但许多重要的unix操作系统,包括aix和solaris ,使用母型节目广泛,图案为基础的计划仍在写。

The final choice greatly depends on one's end result.最终选择在很大程度上取决于一个人的归宿。 Qt is very useful when targeting all three major operating systems (Linux/Unix, Windows and OS X), also being easy to learn to the point of being productive, and benefiting from an excellent documentation. qt是非常有用的对象时,所有三个主要的操作系统(在linux / unix系统,窗户和os x ) ,也容易学点生产力,并从中获益的一个很好的文件。 GTK is, however, the standard for Gnome – and Gnome is used by some major distributions as default, and is also the quickest choice when using C. wxWidgets, FLTK and Motif each have their own share of advantages, but these should probably be considered only when both Qt and GTK have been found to be unsatisfactory. gtk的,但标准的精-精,是用一些主要分布作为默认的,也是最快捷的选择当使用c .1 .2.4, f ltk和图案都有自己的份额优势,但这些可能会考虑只有两者的qt和gtk已经发现不能令人满意。 I have found QT to be really Good(but than this is the only which I have extensively used)我发现夸脱可真是好(但比这是唯一我所广泛采用)

Anyway now I will take a day's break from writing.无论如何,现在我会将一天的休息写作。 Have to go to office tomorrow and have lots of pending work to do要到办公室,明天有很多工作有待做 : )

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet) (没有收视率却)
Loading ...  Loading ...装载...
Subscribe in a reader | 在订阅读者 |

Links you may find interesting -联系,你可以找到有趣- Yes !好的! Comments are FOLLOW So feel free to link back to related and meaningful posts.评论跟随感觉,所以无连接回相关和有意义的职位。

One Response to “Comparison Of Linux GUI Toolkits - Which one Do you Want ?”一反应"比较linux的贵工具箱-其中你想" ?

  1. myavatars 0.2 links for 2007-08-18 « napyfab:blog Says: 链接2007年8月18日« napyfab :博客说:

    […] Comparison Of Linux GUI Toolkits - Which one Do you Want ? [ … … ]比较linux系统贵工具箱-其中,你想吗? (tags: gui linux programming unix toolkit comparison guide) […] (标签:贵linux编程工具的unix比较指南) [ … ]

Post A Comment邮报评论