gtkmm proporciona cuatro tipos básicos de botones:
![Tipos de botones pulsadores o Tipos de botones pulsadores o](/uploads/1/2/4/8/124895964/343335128.jpg)
Existen muchos tipos de pulsadores e interruptores, que se diferencian en la forma que tienen de accionarse: - Por medio de llaves: Como sucede en el contacto de los coches, las cerradoras.
Gtk::Button. Standard buttons, usuallymarked with a label or picture. Pushing one triggers an action. See the Button section.
Gtk::ToggleButton.Unlike a normal Button, which springs back up, a ToggleButton stays down until youpress it again. It might be useful as an on/off switch. See the ToggleButton section.
![Tipos de botones pulsadores 2 Tipos de botones pulsadores 2](http://www.ermec.com/photogallery/2012/GUIA-DE-SELECCION-BASES-PULSADORES-PARA-CIRCUITO-IMPRESO-DE-MEC.jpg)
Gtk::CheckButton.These act like ToggleButtons, but show their state in small squares,with their label at the side. They should be used in most situationswhich require an on/off setting.See the CheckButton section.
Gtk::RadioButton.Named after the station selectors on old carradios, these buttons are used in groups for options which aremutually exclusive. Pressing one causes all theothers in its group to turn off. They are similar toCheckBoxes (a small widget with a label at the side), but usuallylook different.See the RadioButton section.
Tenga en cuenta que, debido a sistema de tema de GTK+, las apariencia de estos widgets variará. En el caso de las casillas y de los botones de radio, variará considerablemente.
- 5.1. Botón
- 5.2. Botón Conmutable
- 5.3. Casilla de verificación
- 5.4. Botón de radio