gtk3-0.13.7: Binding to the Gtk+ graphical user interface library.

Maintainergtk2hs-users@lists.sourceforge.net
Stabilityprovisional
Portabilityportable (depends on GHC)
Safe HaskellNone
LanguageHaskell98

Graphics.UI.Gtk.Buttons.CheckButton

Contents

Description

Create widgets with a discrete toggle button

Synopsis

Detail

A CheckButton places a discrete ToggleButton next to a widget, (usually a Label). See the section on ToggleButton widgets for more information about toggle/check buttons.

The important signal ('toggled') is also inherited from ToggleButton.

Class Hierarchy

| GObject
| +----Object
| +----Widget
| +----Container
| +----Bin
| +----Button
| +----ToggleButton
| +----CheckButton
| +----RadioButton

Types

Constructors

checkButtonNewWithLabel Source

Arguments

:: GlibString string 
=> string

label - the text for the check button.

-> IO CheckButton 

Creates a new CheckButton with a Label to the right of it.

checkButtonNewWithMnemonic Source

Arguments

:: GlibString string 
=> string

label - The text of the button, with an underscore in front of the mnemonic character

-> IO CheckButton 

Creates a new CheckButton containing a label. The label will be created using labelNewWithMnemonic, so underscores in label indicate the mnemonic for the check button.