| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| 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.
Since: 3.4
Synopsis
- newtype ColorChooserDialog = ColorChooserDialog (ManagedPtr ColorChooserDialog)
- class (GObject o, IsDescendantOf ColorChooserDialog o) => IsColorChooserDialog o
- toColorChooserDialog :: (MonadIO m, IsColorChooserDialog o) => o -> m ColorChooserDialog
- colorChooserDialogNew :: (HasCallStack, MonadIO m, IsWindow a) => Maybe Text -> Maybe a -> m ColorChooserDialog
- constructColorChooserDialogShowEditor :: (IsColorChooserDialog o, MonadIO m) => Bool -> m (GValueConstruct o)
- getColorChooserDialogShowEditor :: (MonadIO m, IsColorChooserDialog o) => o -> m Bool
- setColorChooserDialogShowEditor :: (MonadIO m, IsColorChooserDialog o) => o -> Bool -> m ()
Exported types
newtype ColorChooserDialog Source #
Memory-managed wrapper type.
Constructors
| ColorChooserDialog (ManagedPtr ColorChooserDialog) |
Instances
| Eq ColorChooserDialog Source # | |
Defined in GI.Gtk.Objects.ColorChooserDialog Methods (==) :: ColorChooserDialog -> ColorChooserDialog -> Bool # (/=) :: ColorChooserDialog -> ColorChooserDialog -> Bool # | |
| IsGValue ColorChooserDialog Source # | Convert |
Defined in GI.Gtk.Objects.ColorChooserDialog | |
| ManagedPtrNewtype ColorChooserDialog Source # | |
Defined in GI.Gtk.Objects.ColorChooserDialog Methods toManagedPtr :: ColorChooserDialog -> ManagedPtr ColorChooserDialog # | |
| TypedObject ColorChooserDialog Source # | |
Defined in GI.Gtk.Objects.ColorChooserDialog | |
| GObject ColorChooserDialog Source # | |
Defined in GI.Gtk.Objects.ColorChooserDialog | |
| HasParentTypes ColorChooserDialog Source # | |
Defined in GI.Gtk.Objects.ColorChooserDialog | |
| type ParentTypes ColorChooserDialog Source # | |
Defined in GI.Gtk.Objects.ColorChooserDialog type ParentTypes ColorChooserDialog = '[Dialog, Window, Bin, Container, Widget, Object, ImplementorIface, Buildable, ColorChooser] | |
class (GObject o, IsDescendantOf ColorChooserDialog o) => IsColorChooserDialog o Source #
Type class for types which can be safely cast to ColorChooserDialog, for instance with toColorChooserDialog.
Instances
| (GObject o, IsDescendantOf ColorChooserDialog o) => IsColorChooserDialog o Source # | |
Defined in GI.Gtk.Objects.ColorChooserDialog | |
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
Overloaded 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
No description available in the introspection data.
constructColorChooserDialogShowEditor :: (IsColorChooserDialog o, MonadIO m) => Bool -> m (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
setcolorChooserDialog [ #showEditor:=value ]