- Widget toolkit
A widget toolkit, widget library, or GUI toolkit is a set of widgets for use in designing applications with
graphical user interface s (GUIs). The toolkit itself is a piece of software that is generally provided with anoperating system ,windowing system , orwindow manager which provides programs with anapplication programming interface (API), allowing them to make use of widgets. Each widget facilitates a specific user-computer interaction, and appears as a visible part of the computer's GUI.Widget s that are provided by a toolkit typically adhere to a unified design specification, including aesthetics, to lend a sense of overall cohesion among various parts of the application and between various applications within the GUI.Widget toolkits also contain software to assist in the creation of
window managers , as windows themselves are considered widgets. Some widgets support interaction with the user, for example labels, buttons, and check boxes. Others act as containers that group the widgets added to them, for example windows, panels, and tabs.The
graphical user interface of a program is commonly constructed in a cascading manner, with widgets being added directly to on top of existing widgets. In many implementations application windows are added directly to the desktop by the window manager, and can be stacked layered on top of each other through various means. Each window is associated with a particular application which controls the widgets added to its canvas, which can be watched and modified by their associated applications.The toolkit handles user events, for example when the user clicks on a button. When an event is detected it is passed onto the application, where it is dealt with.
The
look and feel of the widgets can be hard-coded in the toolkit, but some widget toolkit APIs decouple the look and feel from the definition of the widgets, allowing the widgets to be themed. (seepluggable look and feel ).ee also
*
Qt (toolkit) - A widget toolkit used by KDE.
*wxWidgets - A free widget toolkit.
*GTK+ - The GIMP toolkit, a widget toolkit used by GNOME applications.
* Motif
* XForms
*Graphical user interface builder
*List of widget toolkits
*WIMP (computing)
*FLTK - A light, cross platform, non-native widget toolkit
*FOX toolkit - A fast, open source, cross-platform widget toolkitExternal links
* [http://www.gtk.org/ GTK+ homepage]
* [http://expander.gtk.org/ GTK+ Planet]
* [http://www.trolltech.com/products/qt/ Qt Homepage]
* [http://www.wxwidgets.org/ wxWidgets Homepage]
Wikimedia Foundation. 2010.