gtk-0.12.5.0: Binding to the Gtk+ graphical user interface library.

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

Graphics.UI.Gtk.Selectors.ColorSelectionDialog

Contents

Description

A standard dialog box for selecting a color

Synopsis

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

Constructors

colorSelectionDialogNewSource

Arguments

:: String

title - a string containing the title text for the dialog.

-> IO ColorSelectionDialog 

Creates a new ColorSelectionDialog.

Methods

colorSelectionDialogGetColor :: ColorSelectionDialog -> IO ColorSelectionSource

Retrieve the ColorSelection object contained within the dialog.

Removed in Gtk3.

colorSelectionDialogGetOkButton :: ColorSelectionDialog -> IO ButtonSource

Retrieve the OK button widget contained within the dialog.

Removed in Gtk3.

colorSelectionDialogGetCancelButton :: ColorSelectionDialog -> IO ButtonSource

Retrieve the Cancel button widget contained within the dialog.

Removed in Gtk3.

colorSelectionDialogGetHelpButton :: ColorSelectionDialog -> IO ButtonSource

Retrieve the Help button widget contained within the dialog.

Removed in Gtk3.