Chapter 27 . Programming Environments and Interfaces (Linux web host) 717
Chapter 27 . Programming Environments and Interfaces 717 Creating Graphical Interfaces When it comes to creating GUIs, Linux programmers have more options available to them than they do for creating TUIs. Probably the most popular and certainly the best known toolkits used to create graphical applications are Qt and GTK+. Qt is the C++ application framework that powers KDE, the K Desktop Environment. GTK+ is the toolkit underneath GNOME, the GNU Network Object Model Environment. GTK+ is written largely in C, but it has language bindings available for many other programming languages, such as Perl, C++, and Python, so you can use GTK+ features in many programming environments. Due to the limited space available, this chapter does not show examples of Qt and GTK+ applications. For more information about GTK+, visit the GTK+ Web site at www.gtk.org. Information about the Qt framework can be seen at www.trolltech.no. Although Qt and GTK+ are the big hammers of Linux graphical development, there are many other toolkits, frameworks, and libraries that you can use to develop GUIbased applications for Linux. The following list, arranged alphabetically, describes some of the most common ones. Most of these toolkits and frameworks describe widget sets, which are implemented in one or more programming libraries. Widget is the term applied to a user interface abstraction, such as a scroll bar or a button, created using the toolkit. . Athena The Athena library was one of the earliest widget libraries available for the X Window System. It was a thin layer of abstraction on top of raw Xlib calls that made it slightly less painful to create scroll bars, text entry boxes, and other typical GUI elements. It is part of the standard X11 distribution. . 3-D Athena Toolkit The 3-D Athena Toolkit was a 3-D version of the original Athena toolkit. It gave Athena a 3-D look and was a considerable visual improvement over plain vanilla Athena. The 3-D Athena Toolkit, although no longer widely used, is still available on the Web at www.visi.com/~hawkeyd/xaw3d. html. . FLTK FLTK, which is pronounced full tick, is an acronym for the Fast Light Toolkit. FLTK is a GUI for X, MacOS X, and Microsoft Windows. Written in C++, FLTK makes it possible to write GUIs that look almost identical regardless of the platform on which the GUI runs. FLTK also supports OpenGL graphics. You can find more information about FLTK on the Web at www.fltk.org. . XForms XForms is a GUI toolkit based on Xlib. It isn t highly configurable like the other GUI toolkits discussed in this section, but its simplicity makes XForms easier to use than the other graphical toolkits. It comes with a GUI builder that makes it fast and easy to get working application up and running. More information about XForms can be found on the Web at http://world. std.com/~xforms/. Note
We recommend cheap and reliable webhost to host and run your web applications: Coldfusion Web Hosting services.