Button (computing)
Appearance
In computing, a button (sometimes known as a command button or push button) is a widget which provides the user a simple way to trigger an event, such as clearing the display on a calculator program. Buttons are also used to provide the user ways to respond to dialog boxes.
A typical button is a rectangle, wider than it is tall, with a descriptive caption in its center. The most common method of 'pushing' a button is clicking it, but other input such as the keyboard can be used. When 'pushed', in addition to performing a predetermined task, buttons often undergo a graphical change to look as if they were being temporarily depressed.
Very common uses for the button widget:
- An OK Button for confirming actions
- A Cancel button for cancelling actions
- An Exit button for closing programs.