Widget (computing)
From Wikipedia, the free encyclopedia
- This article is about computer programming. For other uses of widget, see widget.
In computer programming, a widget (or control) is an interface element that a computer user interacts with, such as a window or a text box. Widgets are sometimes qualified as virtual to distinguish them from their physical counterparts, e.g. virtual buttons that can be clicked with a mouse cursor, vs. physical buttons that can be pressed with a finger. Widgets are often packaged together in widget toolkits. Programmers use widgets to build graphical user interfaces (GUIs).
Contents |
[edit] Etymology
The earliest known occurrence of the word "widget" (Window Gadget) is in Beggar on Horseback (1924), the Broadway comedy by George S. Kaufman and Marc Connelly. The hero of this play is a struggling composer who must choose between creating music that stimulates his soul (but earns no money) or earning a living by accepting a soul-deadening job in a factory that makes "widgets." The text of the play intentionally refrains from revealing what "widgets" are; clearly, they represent any purely mercantile commodity that has no artistic or spiritual value.
[edit] Various widgets
- Selection
- Window
- Modal window
- Dialog box
- Palette window, also known as "Utility window"
[edit] Layout
- systematic
- tiles (= frames)
- docking
- grid
- free
- windows (on a form or on the desktop)
- by
- programmer and then fixed at compilation
- user
[edit] See also
- Widget toolkit for the implementations of widget programming interfaces
- Widget engine for mostly unrelated, physically inspired "widgets"
- Elements of graphical user interfacesde:Widget (GUI)
es:Widget fr:Widget it:Widget hu:Widget nl:Widget pl:Widget pt:Widgets ru:Элемент интерфейса vi:Thành tố điều khiển tr:Widget

