Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
GI.Gtk.Objects.ColorChooserDialog
Description
The ColorChooserDialog
widget is a dialog for choosing
a color. It implements the ColorChooser
interface.
- newtype ColorChooserDialog = ColorChooserDialog (ManagedPtr ColorChooserDialog)
- class GObject o => IsColorChooserDialog o
- toColorChooserDialog :: (MonadIO m, IsColorChooserDialog o) => o -> m ColorChooserDialog
- noColorChooserDialog :: Maybe ColorChooserDialog
- colorChooserDialogNew :: (HasCallStack, MonadIO m, IsWindow a) => Maybe Text -> Maybe a -> m ColorChooserDialog
- constructColorChooserDialogShowEditor :: IsColorChooserDialog o => Bool -> IO (GValueConstruct o)
- getColorChooserDialogShowEditor :: (MonadIO m, IsColorChooserDialog o) => o -> m Bool
- setColorChooserDialogShowEditor :: (MonadIO m, IsColorChooserDialog o) => o -> Bool -> m ()
Exported types
newtype ColorChooserDialog Source #
Constructors
ColorChooserDialog (ManagedPtr ColorChooserDialog) |
Instances
class GObject o => IsColorChooserDialog o Source #
Instances
toColorChooserDialog :: (MonadIO m, IsColorChooserDialog o) => o -> m ColorChooserDialog Source #
Methods
new
colorChooserDialogNew Source #
Arguments
:: (HasCallStack, MonadIO m, IsWindow a) | |
=> Maybe Text |
|
-> Maybe a |
|
-> m ColorChooserDialog | Returns: a new |
Creates a new ColorChooserDialog
.
Since: 3.4
Properties
showEditor
constructColorChooserDialogShowEditor :: IsColorChooserDialog o => Bool -> IO (GValueConstruct o) Source #
getColorChooserDialogShowEditor :: (MonadIO m, IsColorChooserDialog o) => o -> m Bool Source #
setColorChooserDialogShowEditor :: (MonadIO m, IsColorChooserDialog o) => o -> Bool -> m () Source #