gi-gtk-3.0.24: Gtk bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.ColorChooserDialog

Contents

Description

The ColorChooserDialog widget is a dialog for choosing a color. It implements the ColorChooser interface.

Synopsis

Exported types

class GObject o => IsColorChooserDialog o Source #

Type class for types which can be safely cast to ColorChooserDialog, for instance with toColorChooserDialog.

toColorChooserDialog :: (MonadIO m, IsColorChooserDialog o) => o -> m ColorChooserDialog Source #

Cast to ColorChooserDialog, for types for which this is known to be safe. For general casts, use castTo.

Methods

new

colorChooserDialogNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsWindow a) 
=> Maybe Text

title: Title of the dialog, or Nothing

-> Maybe a

parent: Transient parent of the dialog, or Nothing

-> m ColorChooserDialog

Returns: a new ColorChooserDialog

Creates a new ColorChooserDialog.

Since: 3.4

Properties

showEditor

No description available in the introspection data.

constructColorChooserDialogShowEditor :: IsColorChooserDialog o => Bool -> IO (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “show-editor” property. This is rarely needed directly, but it is used by new.

getColorChooserDialogShowEditor :: (MonadIO m, IsColorChooserDialog o) => o -> m Bool Source #

Get the value of the “show-editor” property. When overloading is enabled, this is equivalent to

get colorChooserDialog #showEditor

setColorChooserDialogShowEditor :: (MonadIO m, IsColorChooserDialog o) => o -> Bool -> m () Source #

Set the value of the “show-editor” property. When overloading is enabled, this is equivalent to

set colorChooserDialog [ #showEditor := value ]