gtk-0.11.2: Binding to the Gtk+ graphical user interface library.Source codeContentsIndex
Graphics.UI.Gtk.Buttons.CheckButton
Portabilityportable (depends on GHC)
Stabilityprovisional
Maintainergtk2hs-users@lists.sourceforge.net
Contents
Detail
Class Hierarchy
Types
Constructors
Description
Create widgets with a discrete toggle button
Synopsis
data CheckButton
class ToggleButtonClass o => CheckButtonClass o
castToCheckButton :: GObjectClass obj => obj -> CheckButton
gTypeCheckButton :: GType
toCheckButton :: CheckButtonClass o => o -> CheckButton
checkButtonNew :: IO CheckButton
checkButtonNewWithLabel :: String -> IO CheckButton
checkButtonNewWithMnemonic :: String -> IO CheckButton
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
data CheckButton Source
show/hide Instances
class ToggleButtonClass o => CheckButtonClass o Source
show/hide Instances
castToCheckButton :: GObjectClass obj => obj -> CheckButtonSource
gTypeCheckButton :: GTypeSource
toCheckButton :: CheckButtonClass o => o -> CheckButtonSource
Constructors
checkButtonNew :: IO CheckButtonSource
Creates a new CheckButton.
checkButtonNewWithLabelSource
:: Stringlabel - the text for the check button.
-> IO CheckButton
Creates a new CheckButton with a Label to the right of it.
checkButtonNewWithMnemonicSource
:: Stringlabel - 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 Graphics.UI.Gtk.Display.Label.labelNewWithMnemonic, so underscores in label indicate the mnemonic for the check button.
Produced by Haddock version 2.6.1