Portability | portable (depends on GHC) |
---|---|
Stability | provisional |
Maintainer | gtk2hs-users@lists.sourceforge.net |
Safe Haskell | Safe-Infered |
A standard dialog box for selecting a color
- data ColorSelectionDialog
- class DialogClass o => ColorSelectionDialogClass o
- castToColorSelectionDialog :: GObjectClass obj => obj -> ColorSelectionDialog
- gTypeColorSelectionDialog :: GType
- toColorSelectionDialog :: ColorSelectionDialogClass o => o -> ColorSelectionDialog
- colorSelectionDialogNew :: String -> IO ColorSelectionDialog
- colorSelectionDialogGetColor :: ColorSelectionDialog -> IO ColorSelection
- colorSelectionDialogGetOkButton :: ColorSelectionDialog -> IO Button
- colorSelectionDialogGetCancelButton :: ColorSelectionDialog -> IO Button
- colorSelectionDialogGetHelpButton :: ColorSelectionDialog -> IO Button
Detail
The ColorSelectionDialog
provides a standard dialog which allows the
user to select a color much like the FileSelection
provides a standard
dialog for file selection.
Class Hierarchy
|GObject
| +----Object
| +----Widget
| +----Container
| +----Bin
| +----Window
| +----Dialog
| +----ColorSelectionDialog
Types
data ColorSelectionDialog Source
class DialogClass o => ColorSelectionDialogClass o Source
castToColorSelectionDialog :: GObjectClass obj => obj -> ColorSelectionDialogSource
Constructors
:: String |
|
-> IO ColorSelectionDialog |
Creates a new ColorSelectionDialog
.
Methods
colorSelectionDialogGetColor :: ColorSelectionDialog -> IO ColorSelectionSource
Retrieve the ColorSelection object contained within the dialog.
colorSelectionDialogGetOkButton :: ColorSelectionDialog -> IO ButtonSource
Retrieve the OK button widget contained within the dialog.
colorSelectionDialogGetCancelButton :: ColorSelectionDialog -> IO ButtonSource
Retrieve the Cancel button widget contained within the dialog.
colorSelectionDialogGetHelpButton :: ColorSelectionDialog -> IO ButtonSource
Retrieve the Help button widget contained within the dialog.