Button (computing)

Different types of buttons in GTK

In computing, a button (sometimes known as a command button or push button) is a graphical control 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]

Overview

A typical button is a rectangle or rounded rectangle, wider than it is tall, with a descriptive caption in its center.[2] Other buttons may be square or round, with simple icons.

The most common method of pressing a button is clicking it with a pointer controlled by a mouse, or a touchpad, but other input such as keystroke can be used to execute the command of a button. However, a button is not 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. Such a button may be called a latch button or a latching switch.

A button often displays a tooltip when a user moves the pointer over it, especially if the button's content is a standalone icon. The tooltip serves as built-in documentation that briefly explains the purpose of the button. If you hover your mouse over the blue window button below (without clicking it or moving your mouse), it will display a text saying "Window (computing)."

Some very common incarnations of the button widget are:

  • An OK button for confirming actions and closing the windows
  • 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

Appearance

macOS

Buttons in macOS's Aqua interface are usually depicted as rounded-rectangles of crystallized 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 an 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.

Windows shell

Buttons in Microsoft Windows are usually rectangular, with mildly rounded corners in Windows XP, Vista, and 7, in Windows 11. In Windows 8, the buttons are rectangular with sharp corners. 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.

Linux and other Unix-like systems

The appearance and behavior 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 as well. The use of multiple toolkits can lead to less uniform look and feel across applications. Most widget toolkits also have theming capabilities, so there is no single standard appearance as there is with Mac OS and Windows.

HTML

Buttons appear as elements of HTML forms to carry out actions such as clearing user input or submitting the form contents to the server. Buttons specified in HTML may be rendered by web browsers in different ways, typically either using the native button appearance of the underlying OS, or by using a button definition from within the browser. Buttons may also be styled by the developer of the web site the form appears on by using cascading style sheets.

HTML links are sometimes represented by a graphic closely resembling a button. Sometimes this type of link is used in advertisements to induce the user to click the ad and visit the advertiser's site.

References

  1. ^ button at FOLDOC
  2. ^ "Mozilla button description". Archived from the original on 2012-04-02. Retrieved 2009-09-18.
  3. ^ checkState button attribute in Mozilla's XUL Archived 2012-04-02 at the Wayback Machine

Read other articles:

Filosofi KopiPoster filmSutradaraAngga Dwimas SasongkoProduser Anggia Kharisma Handoko Hendroyono Glenn Fredly (ko-produser) SkenarioJenny JusufCeritaAngga Dwimas SasongkoM. Irfan RamliJenny JusufBerdasarkanFilosofi Kopioleh Dewi LestariPemeran Chicco Jerikho Rio Dewanto Julie Estelle Jajang C. Noer Slamet Rahardjo Otig Pakis Penata musikGlenn FredlySinematograferRobie TaswinPenyuntingAhsan AndrianPerusahaanproduksiVisinema PicturesDistributor Visinema Pictures Netflix Tanggal rilis9 Ap...

 

Strada statale 544di TrinitapoliLocalizzazioneStato Italia Regioni Puglia DatiClassificazioneStrada statale InizioFoggia FineNSA 113 presso Ponte su fiume Ofanto Lunghezza57,000[1] km Provvedimento di istituzioneD.M. 17/04/1967 - G.U. 151 del 19/06/1967[2] GestoreTratte ANAS: nessuna (dal 2001 la gestione è passata alla Provincia di Foggia; dal 2010 è passato alla Provincia di Barletta-Andria-Trani il tratto competente) Manuale La ex strada statale 544 di Trinitapo...

 

Penyuntingan Artikel oleh pengguna baru atau anonim untuk saat ini tidak diizinkan.Lihat kebijakan pelindungan dan log pelindungan untuk informasi selengkapnya. Jika Anda tidak dapat menyunting Artikel ini dan Anda ingin melakukannya, Anda dapat memohon permintaan penyuntingan, diskusikan perubahan yang ingin dilakukan di halaman pembicaraan, memohon untuk melepaskan pelindungan, masuk, atau buatlah sebuah akun. Nugini BelandaNederlands-Nieuw-Guinea1949–1962 Bendera BelandaBendera Bintang K...

artikel ini perlu dirapikan agar memenuhi standar Wikipedia. Tidak ada alasan yang diberikan. Silakan kembangkan artikel ini semampu Anda. Merapikan artikel dapat dilakukan dengan wikifikasi atau membagi artikel ke paragraf-paragraf. Jika sudah dirapikan, silakan hapus templat ini. (Pelajari cara dan kapan saatnya untuk menghapus pesan templat ini) Artikel ini tidak memiliki referensi atau sumber tepercaya sehingga isinya tidak bisa dipastikan. Tolong bantu perbaiki artikel ini dengan menamba...

 

English composer (1626–1669) Richard Ayleward (1626 – 15 October 1669) was an English composer and musician. He is noted for his contribution to the repertoire of Anglican church music. Early life Ayleward was born the son of a minor canon at Winchester Cathedral. There he sang as a chorister in the cathedral choir. Career Ayleward served at organist at Norwich Cathedral (illustrated 1723) During the English Restoration, Ayleward was appointed organist and choirmaster of Norwich Cathedral...

 

坐标:43°11′38″N 71°34′21″W / 43.1938516°N 71.5723953°W / 43.1938516; -71.5723953 此條目需要补充更多来源。 (2017年5月21日)请协助補充多方面可靠来源以改善这篇条目,无法查证的内容可能會因為异议提出而被移除。致使用者:请搜索一下条目的标题(来源搜索:新罕布什尔州 — 网页、新闻、书籍、学术、图像),以检查网络上是否存在该主题的更多可靠来源...

Moez MasoudLahir1978Kairo, MesirPendidikanEconomics AUC Moez Masoud (Arab: معز مسعود; lahir 4 Juli 1978) adalah presenter televisi dan radio, pemimpin agama, dan aktivis. Pada November 2011, disebutkan oleh The Economist sebagai salah satu dari lima pemuka agama berpengaruh di dunia.[1] Referensi ^ Islamic televangelists: Holy smoke. The Economist. 29 Oktober 2011. Diakses tanggal 12 Juli 2014.  Pranala luar (Arab) Situs web resmi Artikel bertopik biografi tokoh ini ...

 

Deep neural network-based chess engine This article uses bare URLs, which are uninformative and vulnerable to link rot. Please consider converting them to full citations to ensure the article remains verifiable and maintains a consistent citation style. Several templates and tools are available to assist in formatting, such as reFill (documentation) and Citation bot (documentation). (August 2022) (Learn how and when to remove this message) Original author(s)Gian-Carlo Pascutto, Gary LinscottD...

 

V. Srinivas MohanBornVadlamudi Srinivas Murali MohanVijayawada, Andhra Pradesh, IndiaOccupation(s)Visual Effects SupervisorSoftware EngineerYears active1996–present Vadlamudi Srinivas Murali Mohan is an Indian visual effects designer, coordinator and supervisor known for his works primarily in Telugu, Tamil and Malayalam films.[1] He is also known for his works in few Hindi and Kannada films.[2] Srinivas fetched five National Film Awards for Best Special Effects for wo...

Tabel sejarah alam, dari Cyclopedia Sejarah alam adalah penelitian ilmiah tentang tumbuhan maupun hewan, lebih menuju ke metode belajar pengamatan daripada eksperimental, dan mencakup lebih banyak penelitian yang diterbitkan di majalah daripada jurnal akademik, sehingga istilah ini dianggap kuno di kalangan masyarakat ilmiah akibat revolusi ilmiah. Seseorang yang ahli di bidang sejarah alam disebut sebagai naturalis. Akar sejarah alam dapat dilacak dari masa Aristoteles dan filsuf klasik lain...

 

Stock phrase of U.S. politician Andrew Johnson (1808–1875) Thomas Nast included the line in this image comparing living conditions of Andersonville prisoners and Jefferson Davis at Fort Monroe Parson Brownlow's newspaper had quotes at the ready to remind Johnson of his past statements (Brownlow's Knoxville Whig, July 4, 1866) Treason must be made odious was the most common shorthand rendering of a stump speech (a standardized campaign speech repeatedly made by a politician at a series of lo...

 

Nathan NgoyNazionalità Belgio Altezza183 cm Peso74 kg Calcio RuoloDifensore Squadra Standard Liegi CarrieraGiovanili -2019 Anderlecht2019-2020 Standard Liegi Squadre di club1 2020- Standard Liegi28 (1) Nazionale 2018 Belgio U-152 (4)2018-2019 Belgio U-164 (4)2019-2020 Belgio U-173 (4) 1 I due numeri indicano le presenze e le reti segnate, per le sole partite di campionato.Il simbolo → indica un trasferimento in prestito. Statistiche aggiornate al 26 ottobre 202...

Saskatoon South redirects here. For other uses, see Saskatoon South (provincial electoral district).Federal electoral district in Saskatchewan, Canada Saskatoon—Grasswood Saskatchewan electoral districtSaskatoon—Grasswood in relation to other Saskatchewan federal electoral districts as of the 2013 Representation Order.Federal electoral districtLegislatureHouse of CommonsMP    Kevin WaughConservativeDistrict created2013First contested2015Last contested2021District webpagepro...

 

British general, administrator and diplomat (1861–1953) GeneralSir Reginald WingateBt GCB GCVO GBE KCMG DSO TD DLGovernor-General of the SudanIn office22 December 1899 – 31 December 1916MonarchsQueen VictoriaEdward VIIGeorge VPreceded byThe Lord KitchenerSucceeded bySir Lee StackHigh Commissioner in EgyptIn office1917–1919MonarchGeorge VPreceded bySir Henry McMahonSucceeded byThe Viscount Allenby Personal detailsBornFrancis Reginald Wingate(1861-06-2...

 

1791–1804 slave revolt in Saint-Domingue Haitian RevolutionPart of the Atlantic Revolutions, French Revolutionary and Napoleonic WarsDate21 August 1791 – 1 January 1804 (12 years, 4 months, 1 week and 4 days)LocationHispaniolaResult Haitian victoryTerritorialchanges Independent Empire of Haiti establishedBelligerents 1791–1793 St. Dominican Rebels Spain (from 1793) St. Dominican Royalists 1793–1798 French Republic 1798–1801 Louverture Loyalists 1802–1804 Armée...

Shenzhen Open 2013Sport Tennis Data31 dicembre - 5 gennaio Edizione1ª SuperficieCemento CampioniSingolare Li Na Doppio Chan Hao-ching / Chan Yung-jan 2014 Lo Shenzhen Open 2013, conosciuto anche come Shenzhen Longgang Gemdale Open 2013 per motivi di sponsorizzazione, è stato un torneo di tennis giocato all'aperto sul cemento. È stata la 1ª edizione dello Shenzhen Open, che fa parte della categoria International nell'ambito del WTA Tour 2013. Si è giocato allo Shenzhen Luohu Tennis Centre...

 

Michael Constantine nella serie televisiva Room 222 (1969) Michael Constantine, pseudonimo di Constantine Joanides (Reading, 22 maggio 1927 – Reading, 31 agosto 2021[1]), è stato un attore statunitense, di origini greche. Indice 1 Filmografia parziale 1.1 Cinema 1.2 Televisione 2 Doppiatori italiani 3 Note 4 Altri progetti 5 Collegamenti esterni Filmografia parziale Cinema Le otto celle della morte (The Last Mile), regia di Howard W. Koch (1959) Lo spaccone (The Hustler), regia di ...

 

Questa voce o sezione sull'argomento aviazione non cita le fonti necessarie o quelle presenti sono insufficienti. Puoi migliorare questa voce aggiungendo citazioni da fonti attendibili secondo le linee guida sull'uso delle fonti. Segui i suggerimenti del progetto di riferimento. Decollo dal Monte Cucco con un aquilone (non ala Rogallo) Un deltaplano (detto anche, più semplicemente, aquilone o ala dagli appassionati) è un mezzo progettato per il volo libero. Viene utilizzato per il cos...

German youth movement Group from Berlin c. 1930 Wandervogel (plural: Wandervögel; English: Wandering Bird) is the name adopted by a popular movement of German youth groups from 1896 to 1933, who protested against industrialization by going to hike in the country and commune with nature in the woods. Drawing influence from medieval wandering scholars, their ethos was to revive old Teutonic values, with a strong emphasis on German nationalism.[1][2] According to historian...

 

Municipal unit in GreeceAris ΆριςMunicipal unitVillage square of ArisArisLocation within the regional unit Coordinates: 37°06′N 22°00′E / 37.100°N 22.000°E / 37.100; 22.000CountryGreeceAdministrative regionPeloponneseRegional unitMesseniaMunicipalityKalamataArea • Municipal unit22.497 km2 (8.686 sq mi)Population (2021)[1] • Municipal unit1,719 • Municipal unit density76/km2 (200/sq mi)...