Maintainer | gtk2hs-users@lists.sourceforge.net |
---|---|
Stability | provisional |
Portability | portable (depends on GHC) |
Safe Haskell | None |
Language | Haskell98 |
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 :: GlibString string => 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 -> ColorSelectionDialog Source
Constructors
colorSelectionDialogNew Source
:: GlibString string | |
=> string |
|
-> IO ColorSelectionDialog |
Creates a new ColorSelectionDialog
.
Methods
colorSelectionDialogGetColor :: ColorSelectionDialog -> IO ColorSelection Source
Retrieve the ColorSelection object contained within the dialog.
Removed in Gtk3.
colorSelectionDialogGetOkButton :: ColorSelectionDialog -> IO Button Source
Retrieve the OK button widget contained within the dialog.
Removed in Gtk3.
colorSelectionDialogGetCancelButton :: ColorSelectionDialog -> IO Button Source
Retrieve the Cancel button widget contained within the dialog.
Removed in Gtk3.
colorSelectionDialogGetHelpButton :: ColorSelectionDialog -> IO Button Source
Retrieve the Help button widget contained within the dialog.
Removed in Gtk3.