Difference between revisions of "Widget"
m (Caretaker: categories) |
(nodal widgets, widget set) |
||
Line 1: | Line 1: | ||
[[Category:Glossary]][[Category:Interface]] | [[Category:Glossary]][[Category:Interface]] | ||
+ | = General = | ||
In computer programming, a '''widget''' (or '''control''') is an interface element that a computer user interacts with, such as a [[w:window (computing)|window]] or a [[w:text box|text box]]. Widgets are sometimes qualified as ''virtual'' to distinguish them from their physical counterparts, e.g. [[w:button (computing)|''virtual'' buttons]] that can be clicked with a mouse [[w:cursor (computers)|cursor]], vs. physical [[w:button (control)|buttons]] that can be pressed with a finger. Widgets are often packaged together in [[w:widget toolkit|widget toolkit]]s. Programmers use widgets to build [[GUI]]s (graphical user interfaces). | In computer programming, a '''widget''' (or '''control''') is an interface element that a computer user interacts with, such as a [[w:window (computing)|window]] or a [[w:text box|text box]]. Widgets are sometimes qualified as ''virtual'' to distinguish them from their physical counterparts, e.g. [[w:button (computing)|''virtual'' buttons]] that can be clicked with a mouse [[w:cursor (computers)|cursor]], vs. physical [[w:button (control)|buttons]] that can be pressed with a finger. Widgets are often packaged together in [[w:widget toolkit|widget toolkit]]s. Programmers use widgets to build [[GUI]]s (graphical user interfaces). | ||
*see [[w:Widget (computing)|Wikipedia:Widget]] | *see [[w:Widget (computing)|Wikipedia:Widget]] | ||
+ | |||
+ | = Nodal widgets = | ||
+ | In [[the nodal model]] widgets are [[node]]s containing graphical [[layer]]s which can undergo change based on input events such as mouse clicks or drags. Widgets can exhibit [[input focus]] so they receive keyboard input. If a widget receives an event which it has no use for, it passes the event to its [[parent]] node. | ||
+ | |||
+ | = Widget set = | ||
+ | In the nodal model, all of the most important widgets (the ones required to achieve the basic wiki-like functionality of the nodal [[interface]]) are just trees of the same basic [[layer]] functionality. Different settings and containment structures of the same basic layout properties give rise to the basic classes of widget such as textarea, editbox, listbox, link, button, checkbox etc | ||
+ | *The first [[:Category:Milestones|milestone]] toward achieving a widget set is [[recursive rectangles]] |
Revision as of 07:51, 16 November 2006
General
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 GUIs (graphical user interfaces).
- see Wikipedia:Widget
Nodal widgets
In the nodal model widgets are nodes containing graphical layers which can undergo change based on input events such as mouse clicks or drags. Widgets can exhibit input focus so they receive keyboard input. If a widget receives an event which it has no use for, it passes the event to its parent node.
Widget set
In the nodal model, all of the most important widgets (the ones required to achieve the basic wiki-like functionality of the nodal interface) are just trees of the same basic layer functionality. Different settings and containment structures of the same basic layout properties give rise to the basic classes of widget such as textarea, editbox, listbox, link, button, checkbox etc
- The first milestone toward achieving a widget set is recursive rectangles