gi-gtk-3.0.9: 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.ColorSelection

Contents

Description

 

Synopsis

Exported types

newtype ColorSelection Source #

Constructors

ColorSelection (ManagedPtr ColorSelection) 

Instances

GObject ColorSelection Source # 
IsObject ColorSelection Source # 
IsWidget ColorSelection Source # 
IsContainer ColorSelection Source # 
IsBox ColorSelection Source # 
IsOrientable ColorSelection Source # 
IsBuildable ColorSelection Source # 
IsImplementorIface ColorSelection Source # 
IsColorSelection ColorSelection Source # 
((~) * info (ResolveColorSelectionMethod t ColorSelection), MethodInfo * info ColorSelection p) => IsLabel t (ColorSelection -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> ColorSelection -> p #

((~) * info (ResolveColorSelectionMethod t ColorSelection), MethodInfo * info ColorSelection p) => IsLabelProxy t (ColorSelection -> p) Source # 
HasAttributeList * ColorSelection Source # 
type SignalList ColorSelection Source # 
type SignalList ColorSelection
type AttributeList ColorSelection Source # 
type AttributeList ColorSelection

class GObject o => IsColorSelection o Source #

Instances

Methods

getCurrentAlpha

data ColorSelectionGetCurrentAlphaMethodInfo Source #

Instances

((~) * signature (m Word16), MonadIO m, IsColorSelection a) => MethodInfo * ColorSelectionGetCurrentAlphaMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ColorSelectionGetCurrentAlphaMethodInfo a -> signature -> s

getCurrentColor

data ColorSelectionGetCurrentColorMethodInfo Source #

Instances

((~) * signature (m Color), MonadIO m, IsColorSelection a) => MethodInfo * ColorSelectionGetCurrentColorMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ColorSelectionGetCurrentColorMethodInfo a -> signature -> s

colorSelectionGetCurrentColor :: (MonadIO m, IsColorSelection a) => a -> m Color Source #

Deprecated: (Since version 3.4)Use gtk_color_selection_get_current_rgba() instead.

getCurrentRgba

data ColorSelectionGetCurrentRgbaMethodInfo Source #

Instances

((~) * signature (m RGBA), MonadIO m, IsColorSelection a) => MethodInfo * ColorSelectionGetCurrentRgbaMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ColorSelectionGetCurrentRgbaMethodInfo a -> signature -> s

getHasOpacityControl

getHasPalette

data ColorSelectionGetHasPaletteMethodInfo Source #

Instances

((~) * signature (m Bool), MonadIO m, IsColorSelection a) => MethodInfo * ColorSelectionGetHasPaletteMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ColorSelectionGetHasPaletteMethodInfo a -> signature -> s

getPreviousAlpha

data ColorSelectionGetPreviousAlphaMethodInfo Source #

Instances

((~) * signature (m Word16), MonadIO m, IsColorSelection a) => MethodInfo * ColorSelectionGetPreviousAlphaMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ColorSelectionGetPreviousAlphaMethodInfo a -> signature -> s

getPreviousColor

data ColorSelectionGetPreviousColorMethodInfo Source #

Instances

((~) * signature (m Color), MonadIO m, IsColorSelection a) => MethodInfo * ColorSelectionGetPreviousColorMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ColorSelectionGetPreviousColorMethodInfo a -> signature -> s

colorSelectionGetPreviousColor :: (MonadIO m, IsColorSelection a) => a -> m Color Source #

Deprecated: (Since version 3.4)Use gtk_color_selection_get_previous_rgba() instead.

getPreviousRgba

data ColorSelectionGetPreviousRgbaMethodInfo Source #

Instances

((~) * signature (m RGBA), MonadIO m, IsColorSelection a) => MethodInfo * ColorSelectionGetPreviousRgbaMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ColorSelectionGetPreviousRgbaMethodInfo a -> signature -> s

isAdjusting

data ColorSelectionIsAdjustingMethodInfo Source #

Instances

((~) * signature (m Bool), MonadIO m, IsColorSelection a) => MethodInfo * ColorSelectionIsAdjustingMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ColorSelectionIsAdjustingMethodInfo a -> signature -> s

new

paletteFromString

colorSelectionPaletteFromString :: MonadIO m => Text -> m (Bool, [Color]) Source #

paletteToString

colorSelectionPaletteToString :: MonadIO m => [Color] -> m Text Source #

setCurrentAlpha

data ColorSelectionSetCurrentAlphaMethodInfo Source #

Instances

((~) * signature (Word16 -> m ()), MonadIO m, IsColorSelection a) => MethodInfo * ColorSelectionSetCurrentAlphaMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ColorSelectionSetCurrentAlphaMethodInfo a -> signature -> s

setCurrentColor

data ColorSelectionSetCurrentColorMethodInfo Source #

Instances

((~) * signature (Color -> m ()), MonadIO m, IsColorSelection a) => MethodInfo * ColorSelectionSetCurrentColorMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ColorSelectionSetCurrentColorMethodInfo a -> signature -> s

colorSelectionSetCurrentColor :: (MonadIO m, IsColorSelection a) => a -> Color -> m () Source #

Deprecated: (Since version 3.4)Use gtk_color_selection_set_current_rgba() instead.

setCurrentRgba

data ColorSelectionSetCurrentRgbaMethodInfo Source #

Instances

((~) * signature (RGBA -> m ()), MonadIO m, IsColorSelection a) => MethodInfo * ColorSelectionSetCurrentRgbaMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ColorSelectionSetCurrentRgbaMethodInfo a -> signature -> s

setHasOpacityControl

setHasPalette

data ColorSelectionSetHasPaletteMethodInfo Source #

Instances

((~) * signature (Bool -> m ()), MonadIO m, IsColorSelection a) => MethodInfo * ColorSelectionSetHasPaletteMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ColorSelectionSetHasPaletteMethodInfo a -> signature -> s

setPreviousAlpha

data ColorSelectionSetPreviousAlphaMethodInfo Source #

Instances

((~) * signature (Word16 -> m ()), MonadIO m, IsColorSelection a) => MethodInfo * ColorSelectionSetPreviousAlphaMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ColorSelectionSetPreviousAlphaMethodInfo a -> signature -> s

setPreviousColor

data ColorSelectionSetPreviousColorMethodInfo Source #

Instances

((~) * signature (Color -> m ()), MonadIO m, IsColorSelection a) => MethodInfo * ColorSelectionSetPreviousColorMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ColorSelectionSetPreviousColorMethodInfo a -> signature -> s

colorSelectionSetPreviousColor :: (MonadIO m, IsColorSelection a) => a -> Color -> m () Source #

Deprecated: (Since version 3.4)Use gtk_color_selection_set_previous_rgba() instead.

setPreviousRgba

data ColorSelectionSetPreviousRgbaMethodInfo Source #

Instances

((~) * signature (RGBA -> m ()), MonadIO m, IsColorSelection a) => MethodInfo * ColorSelectionSetPreviousRgbaMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ColorSelectionSetPreviousRgbaMethodInfo a -> signature -> s

Properties

currentAlpha

data ColorSelectionCurrentAlphaPropertyInfo Source #

Instances

AttrInfo ColorSelectionCurrentAlphaPropertyInfo Source # 
type AttrSetTypeConstraint ColorSelectionCurrentAlphaPropertyInfo Source # 
type AttrSetTypeConstraint ColorSelectionCurrentAlphaPropertyInfo = * ~ Word32
type AttrOrigin ColorSelectionCurrentAlphaPropertyInfo Source # 
type AttrLabel ColorSelectionCurrentAlphaPropertyInfo Source # 
type AttrLabel ColorSelectionCurrentAlphaPropertyInfo = "current-alpha"
type AttrGetType ColorSelectionCurrentAlphaPropertyInfo Source # 
type AttrBaseTypeConstraint ColorSelectionCurrentAlphaPropertyInfo Source # 
type AttrAllowedOps ColorSelectionCurrentAlphaPropertyInfo Source # 
type AttrAllowedOps ColorSelectionCurrentAlphaPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

colorSelectionCurrentAlpha :: AttrLabelProxy "currentAlpha" Source #

currentColor

data ColorSelectionCurrentColorPropertyInfo Source #

Instances

AttrInfo ColorSelectionCurrentColorPropertyInfo Source # 
type AttrSetTypeConstraint ColorSelectionCurrentColorPropertyInfo Source # 
type AttrSetTypeConstraint ColorSelectionCurrentColorPropertyInfo = * ~ Color
type AttrOrigin ColorSelectionCurrentColorPropertyInfo Source # 
type AttrLabel ColorSelectionCurrentColorPropertyInfo Source # 
type AttrLabel ColorSelectionCurrentColorPropertyInfo = "current-color"
type AttrGetType ColorSelectionCurrentColorPropertyInfo Source # 
type AttrBaseTypeConstraint ColorSelectionCurrentColorPropertyInfo Source # 
type AttrAllowedOps ColorSelectionCurrentColorPropertyInfo Source # 
type AttrAllowedOps ColorSelectionCurrentColorPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

colorSelectionCurrentColor :: AttrLabelProxy "currentColor" Source #

constructColorSelectionCurrentColor :: IsColorSelection o => Color -> IO (GValueConstruct o) Source #

currentRgba

data ColorSelectionCurrentRgbaPropertyInfo Source #

Instances

AttrInfo ColorSelectionCurrentRgbaPropertyInfo Source # 
type AttrSetTypeConstraint ColorSelectionCurrentRgbaPropertyInfo Source # 
type AttrSetTypeConstraint ColorSelectionCurrentRgbaPropertyInfo = * ~ RGBA
type AttrOrigin ColorSelectionCurrentRgbaPropertyInfo Source # 
type AttrLabel ColorSelectionCurrentRgbaPropertyInfo Source # 
type AttrLabel ColorSelectionCurrentRgbaPropertyInfo = "current-rgba"
type AttrGetType ColorSelectionCurrentRgbaPropertyInfo Source # 
type AttrBaseTypeConstraint ColorSelectionCurrentRgbaPropertyInfo Source # 
type AttrAllowedOps ColorSelectionCurrentRgbaPropertyInfo Source # 
type AttrAllowedOps ColorSelectionCurrentRgbaPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

colorSelectionCurrentRgba :: AttrLabelProxy "currentRgba" Source #

constructColorSelectionCurrentRgba :: IsColorSelection o => RGBA -> IO (GValueConstruct o) Source #

hasOpacityControl

data ColorSelectionHasOpacityControlPropertyInfo Source #

Instances

AttrInfo ColorSelectionHasOpacityControlPropertyInfo Source # 
type AttrSetTypeConstraint ColorSelectionHasOpacityControlPropertyInfo Source # 
type AttrSetTypeConstraint ColorSelectionHasOpacityControlPropertyInfo = * ~ Bool
type AttrOrigin ColorSelectionHasOpacityControlPropertyInfo Source # 
type AttrLabel ColorSelectionHasOpacityControlPropertyInfo Source # 
type AttrLabel ColorSelectionHasOpacityControlPropertyInfo = "has-opacity-control"
type AttrGetType ColorSelectionHasOpacityControlPropertyInfo Source # 
type AttrBaseTypeConstraint ColorSelectionHasOpacityControlPropertyInfo Source # 
type AttrAllowedOps ColorSelectionHasOpacityControlPropertyInfo Source # 
type AttrAllowedOps ColorSelectionHasOpacityControlPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

colorSelectionHasOpacityControl :: AttrLabelProxy "hasOpacityControl" Source #

hasPalette

data ColorSelectionHasPalettePropertyInfo Source #

Instances

AttrInfo ColorSelectionHasPalettePropertyInfo Source # 
type AttrSetTypeConstraint ColorSelectionHasPalettePropertyInfo Source # 
type AttrSetTypeConstraint ColorSelectionHasPalettePropertyInfo = * ~ Bool
type AttrOrigin ColorSelectionHasPalettePropertyInfo Source # 
type AttrLabel ColorSelectionHasPalettePropertyInfo Source # 
type AttrLabel ColorSelectionHasPalettePropertyInfo = "has-palette"
type AttrGetType ColorSelectionHasPalettePropertyInfo Source # 
type AttrBaseTypeConstraint ColorSelectionHasPalettePropertyInfo Source # 
type AttrAllowedOps ColorSelectionHasPalettePropertyInfo Source # 
type AttrAllowedOps ColorSelectionHasPalettePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

colorSelectionHasPalette :: AttrLabelProxy "hasPalette" Source #

Signals

colorChanged

data ColorSelectionColorChangedSignalInfo Source #

Instances

SignalInfo ColorSelectionColorChangedSignalInfo Source # 

Associated Types

type HaskellCallbackType ColorSelectionColorChangedSignalInfo :: *

Methods

connectSignal :: GObject o => SignalProxy o ColorSelectionColorChangedSignalInfo -> o -> HaskellCallbackType ColorSelectionColorChangedSignalInfo -> SignalConnectMode -> IO SignalHandlerId

type HaskellCallbackType ColorSelectionColorChangedSignalInfo Source # 

onColorSelectionColorChanged :: (GObject a, MonadIO m) => a -> ColorSelectionColorChangedCallback -> m SignalHandlerId Source #