GUI Widget – Offer Single Interaction Point

A widget is an element of computer programming that displays an information arrangement such as a Window or a text box. The main objective of widget is to offer a single interaction point of a given kind of data. In other terms, widgets are essential visual building blocks combined in an application that contain all the data processed by the application. Various accomplishments of generic widgets are always packed together in widget toolkits. This toolkit used by programmers to create graphical user interface. Most of the OS contain a set of ready to tailor widgets that a user can incorporate in an application. By object oriented programming every type of widgets normally is distinct as a class. A widget may be enabled or disabled at a given point in time in the context of an application. An enabled widget has the ability to react to events, just like keystrokes or mouse actions.


The family of the common reusable widgets now has evolved to hold the general information based on Palo Alto Research Center research for Xerox Alto User. Various implementations of the generic widgets are packaged often together in the widget toolkits that programmers make use of for building the graphical user interfaces. Most of the operating systems include set of the ready 2 tailor widgets that the programmer will incorporate in the application, and specifying how it will behave. Every kind of the widgets normally is defined as the class by the object oriented programming. Thus, lots of widgets are been derived from the class inheritance.

In context of the application, widget is enabled and disabled at the given time. The enabled widget has a capacity to respond for events, like keystrokes and mouse actions. The widget, which can’t respond to these events is been considered disabled. Appearance of the disabled widget is generally different from the enabled widget; disabled widget is drawn in the lighter color, or visually obscured in a few way.

Leave a Reply

Your email address will not be published. Required fields are marked *