Button (computing)

Button (computing)
Different types of buttons in GTK+.

In computing, a button (sometimes known as a command button or push button) is a user interface element that provides the user a simple way to trigger an event, like searching for a query at a search engine, or to interact with dialog boxes, like confirming an action.[1]

Contents

Description

A typical button is a rectangle or rounded rectangle, wider than it is tall, with a descriptive caption in its center.[2] The most common method of pressing a button is clicking it with a pointer controlled by a mouse, but other input such as keystrokes can be used to execute the command of a button. A button is not however always restricted to a rectangular shape. The sole requirement of button interaction is that the user can execute a command by a click action. Thus pictures and background areas can be programmed as buttons. When pressed, in addition to performing a predetermined task, buttons often undergo a graphical change to mimic a mechanical button being depressed.

Depending on the circumstance, buttons may be designated to be pushed only once and execute a command, while others may be used to receive instant feed back and may require the user to click more than once to receive the desired result. Other buttons are designed to toggle behavior on and off like a check box.[3] These buttons will show a graphical clue (such as staying depressed after the mouse is released) to indicate the state of the option.

Most of the buttons are capable to show the tool tip when mouse hovers over them for the longer time. Tool tip is part of the built-in documentation, explaining briefly the purpose of the button.

Some very common incarnations of the button widget are:

  • An OK button for confirming actions and closing the window
  • A Cancel button for canceling actions and closing the window
  • An Apply button for confirming actions without closing the window
  • A Close button for closing windows after changes have already been applied

Buttons in Mac OS X

Buttons in Mac OS X’s Aqua interface are usually depicted as rounded-rectangles of crystallised glass. Normally these buttons are light grey in color, and turn blue when pressed. The button with keyboard focus (selectable with the spacebar) appears with a blue glow surrounding it. The default button in the active window (selectable with the return key) animates between a bright blue and a darker blue. (the same color as a pressed button)

Also used, primarily within application toolbars, are slightly rounded rectangles with a light grey metallic appearance. These buttons appear darker and “pushed inward” when pressed.

Window management controls appear in the top left corner of each window. These buttons are similar in style to standard aqua buttons, but are color-coded as a memory aid. From left to right, these are: “Close Window”, shown in red; “Minimize Window”, shown in yellow; and “Zoom”, shown in green, which causes the window to resize to best fit its contents.

Buttons in Microsoft Windows

Buttons in Microsoft Windows are usually rectangular, with mildly rounded corners in more recent versions. A button with active focus is shown with a black dotted line just inside the border of the button. In addition, more recent versions, the default button is shown with a blue border. In Windows Vista and Windows 7, the default button will slowly fade between its normal appearance and the blue border. Window management controls are in the upper right-hand corner of the application window, and, from left to right: "minimize" the window (causing it to disappear into the taskbar at the bottom of the screen); maximize the window (causing it to expand to cover the whole screen; if the window is already maximized, the button will restore it to its previous size and position); and close the window.

Buttons in Linux

The appearance and behaviour of buttons in Linux (and other Unix-like) operating systems is defined primarily by which widget toolkit is being employed, the most popular being GTK and Qt, though other toolkits are used. The use of multiple toolkits can lead to less uniform behaviour and appearance across applications when compared with Mac OS or Microsoft Windows. Most widget toolkits also have theming capabilities, so there is no single standard appearance as there is with Mac OS and Windows.

References


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Button (disambiguation) — A button is a clothing fastener or similar implement used to temporarily attach one item to another.Button may also refer to:In people*Dick Button, US Olympic Figure Skater, *Jenson Button, a Formula One racing driver *John Button, Australian… …   Wikipedia

  • button — but‧ton [ˈbʌtn] noun [countable] 1. something that you press to make a machine or piece of electrical equipment do something : • She got in the elevator and pressed the button for the top floor. • What happens if I push this button? 2. COMPUTING… …   Financial and business terms

  • button bar — UK US noun [countable] [singular button bar plural button bars] computing a row of symbols on a computer screen that you can use to start programs quickly Thesaurus: on the computer screen …   Useful english dictionary

  • button bar — button ,bar noun count COMPUTING a row of symbols on a computer screen that you can use to start programs quickly …   Usage of the words and phrases in modern English

  • button — but|ton1 [ bʌtn ] noun count ** 1. ) a small round object that is used for fastening clothes by pushing it through a hole: He had undone the top button of his shirt. a blouse with small pearl buttons 2. ) a small object that you press to make a… …   Usage of the words and phrases in modern English

  • button — {{Roman}}I.{{/Roman}} noun 1 for fastening clothes ADJECTIVE ▪ bottom, top ▪ The top button of his shirt was undone. ▪ coat, shirt, etc. ▪ …   Collocations dictionary

  • button — I UK [ˈbʌt(ə)n] / US noun [countable] Word forms button : singular button plural buttons ** 1) a small object that you press to make a machine start working or perform a particular action Just press this button to start the computer. Press the… …   English dictionary

  • button bar — UK / US noun [countable] Word forms button bar : singular button bar plural button bars computing a row of symbols on a computer screen that you can use to start programs quickly …   English dictionary

  • Push-button — Buttons on a handheld calculator …   Wikipedia

  • Wikipedia:Reference desk/Computing — The Wikipedia Reference Desk covering the topic of computing. Computing #eee #f5f5f5 #eee #aaa #aaa #aaa #00f #36b #000 #00f computing Wikipedia:Reference de …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”