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 |
- Exported types
- Methods
- colorSelectionGetCurrentAlpha
- colorSelectionGetCurrentColor
- colorSelectionGetCurrentRgba
- colorSelectionGetHasOpacityControl
- colorSelectionGetHasPalette
- colorSelectionGetPreviousAlpha
- colorSelectionGetPreviousColor
- colorSelectionGetPreviousRgba
- colorSelectionIsAdjusting
- colorSelectionNew
- colorSelectionPaletteFromString
- colorSelectionPaletteToString
- colorSelectionSetCurrentAlpha
- colorSelectionSetCurrentColor
- colorSelectionSetCurrentRgba
- colorSelectionSetHasOpacityControl
- colorSelectionSetHasPalette
- colorSelectionSetPreviousAlpha
- colorSelectionSetPreviousColor
- colorSelectionSetPreviousRgba
- Properties
- Signals
- newtype ColorSelection = ColorSelection (ForeignPtr ColorSelection)
- class GObject o => ColorSelectionK o
- toColorSelection :: ColorSelectionK o => o -> IO ColorSelection
- noColorSelection :: Maybe ColorSelection
- colorSelectionGetCurrentAlpha :: (MonadIO m, ColorSelectionK a) => a -> m Word16
- colorSelectionGetCurrentColor :: (MonadIO m, ColorSelectionK a) => a -> m Color
- colorSelectionGetCurrentRgba :: (MonadIO m, ColorSelectionK a) => a -> m RGBA
- colorSelectionGetHasOpacityControl :: (MonadIO m, ColorSelectionK a) => a -> m Bool
- colorSelectionGetHasPalette :: (MonadIO m, ColorSelectionK a) => a -> m Bool
- colorSelectionGetPreviousAlpha :: (MonadIO m, ColorSelectionK a) => a -> m Word16
- colorSelectionGetPreviousColor :: (MonadIO m, ColorSelectionK a) => a -> m Color
- colorSelectionGetPreviousRgba :: (MonadIO m, ColorSelectionK a) => a -> m RGBA
- colorSelectionIsAdjusting :: (MonadIO m, ColorSelectionK a) => a -> m Bool
- colorSelectionNew :: MonadIO m => m ColorSelection
- colorSelectionPaletteFromString :: MonadIO m => Text -> m (Bool, [Color])
- colorSelectionPaletteToString :: MonadIO m => [Color] -> m Text
- colorSelectionSetCurrentAlpha :: (MonadIO m, ColorSelectionK a) => a -> Word16 -> m ()
- colorSelectionSetCurrentColor :: (MonadIO m, ColorSelectionK a) => a -> Color -> m ()
- colorSelectionSetCurrentRgba :: (MonadIO m, ColorSelectionK a) => a -> RGBA -> m ()
- colorSelectionSetHasOpacityControl :: (MonadIO m, ColorSelectionK a) => a -> Bool -> m ()
- colorSelectionSetHasPalette :: (MonadIO m, ColorSelectionK a) => a -> Bool -> m ()
- colorSelectionSetPreviousAlpha :: (MonadIO m, ColorSelectionK a) => a -> Word16 -> m ()
- colorSelectionSetPreviousColor :: (MonadIO m, ColorSelectionK a) => a -> Color -> m ()
- colorSelectionSetPreviousRgba :: (MonadIO m, ColorSelectionK a) => a -> RGBA -> m ()
- data ColorSelectionCurrentAlphaPropertyInfo
- constructColorSelectionCurrentAlpha :: Word32 -> IO ([Char], GValue)
- getColorSelectionCurrentAlpha :: (MonadIO m, ColorSelectionK o) => o -> m Word32
- setColorSelectionCurrentAlpha :: (MonadIO m, ColorSelectionK o) => o -> Word32 -> m ()
- data ColorSelectionCurrentColorPropertyInfo
- constructColorSelectionCurrentColor :: Color -> IO ([Char], GValue)
- getColorSelectionCurrentColor :: (MonadIO m, ColorSelectionK o) => o -> m Color
- setColorSelectionCurrentColor :: (MonadIO m, ColorSelectionK o) => o -> Color -> m ()
- data ColorSelectionCurrentRgbaPropertyInfo
- constructColorSelectionCurrentRgba :: RGBA -> IO ([Char], GValue)
- getColorSelectionCurrentRgba :: (MonadIO m, ColorSelectionK o) => o -> m RGBA
- setColorSelectionCurrentRgba :: (MonadIO m, ColorSelectionK o) => o -> RGBA -> m ()
- data ColorSelectionHasOpacityControlPropertyInfo
- constructColorSelectionHasOpacityControl :: Bool -> IO ([Char], GValue)
- getColorSelectionHasOpacityControl :: (MonadIO m, ColorSelectionK o) => o -> m Bool
- setColorSelectionHasOpacityControl :: (MonadIO m, ColorSelectionK o) => o -> Bool -> m ()
- data ColorSelectionHasPalettePropertyInfo
- constructColorSelectionHasPalette :: Bool -> IO ([Char], GValue)
- getColorSelectionHasPalette :: (MonadIO m, ColorSelectionK o) => o -> m Bool
- setColorSelectionHasPalette :: (MonadIO m, ColorSelectionK o) => o -> Bool -> m ()
- type ColorSelectionColorChangedCallback = IO ()
- type ColorSelectionColorChangedCallbackC = Ptr () -> Ptr () -> IO ()
- data ColorSelectionColorChangedSignalInfo
- afterColorSelectionColorChanged :: (GObject a, MonadIO m) => a -> ColorSelectionColorChangedCallback -> m SignalHandlerId
- colorSelectionColorChangedCallbackWrapper :: ColorSelectionColorChangedCallback -> Ptr () -> Ptr () -> IO ()
- colorSelectionColorChangedClosure :: ColorSelectionColorChangedCallback -> IO Closure
- mkColorSelectionColorChangedCallback :: ColorSelectionColorChangedCallbackC -> IO (FunPtr ColorSelectionColorChangedCallbackC)
- noColorSelectionColorChangedCallback :: Maybe ColorSelectionColorChangedCallback
- onColorSelectionColorChanged :: (GObject a, MonadIO m) => a -> ColorSelectionColorChangedCallback -> m SignalHandlerId
Exported types
newtype ColorSelection Source
class GObject o => ColorSelectionK o Source
(GObject o, IsDescendantOf ColorSelection o) => ColorSelectionK o Source |
toColorSelection :: ColorSelectionK o => o -> IO ColorSelection Source
Methods
colorSelectionGetCurrentAlpha
colorSelectionGetCurrentAlpha :: (MonadIO m, ColorSelectionK a) => a -> m Word16 Source
colorSelectionGetCurrentColor
colorSelectionGetCurrentColor :: (MonadIO m, ColorSelectionK a) => a -> m Color Source
Deprecated: (Since version 3.4)Use gtk_color_selection_get_current_rgba() instead.
colorSelectionGetCurrentRgba
colorSelectionGetCurrentRgba :: (MonadIO m, ColorSelectionK a) => a -> m RGBA Source
colorSelectionGetHasOpacityControl
colorSelectionGetHasOpacityControl :: (MonadIO m, ColorSelectionK a) => a -> m Bool Source
colorSelectionGetHasPalette
colorSelectionGetHasPalette :: (MonadIO m, ColorSelectionK a) => a -> m Bool Source
colorSelectionGetPreviousAlpha
colorSelectionGetPreviousAlpha :: (MonadIO m, ColorSelectionK a) => a -> m Word16 Source
colorSelectionGetPreviousColor
colorSelectionGetPreviousColor :: (MonadIO m, ColorSelectionK a) => a -> m Color Source
Deprecated: (Since version 3.4)Use gtk_color_selection_get_previous_rgba() instead.
colorSelectionGetPreviousRgba
colorSelectionGetPreviousRgba :: (MonadIO m, ColorSelectionK a) => a -> m RGBA Source
colorSelectionIsAdjusting
colorSelectionIsAdjusting :: (MonadIO m, ColorSelectionK a) => a -> m Bool Source
colorSelectionNew
colorSelectionNew :: MonadIO m => m ColorSelection Source
colorSelectionPaletteFromString
colorSelectionPaletteToString
colorSelectionPaletteToString :: MonadIO m => [Color] -> m Text Source
colorSelectionSetCurrentAlpha
colorSelectionSetCurrentAlpha :: (MonadIO m, ColorSelectionK a) => a -> Word16 -> m () Source
colorSelectionSetCurrentColor
colorSelectionSetCurrentColor :: (MonadIO m, ColorSelectionK a) => a -> Color -> m () Source
Deprecated: (Since version 3.4)Use gtk_color_selection_set_current_rgba() instead.
colorSelectionSetCurrentRgba
colorSelectionSetCurrentRgba :: (MonadIO m, ColorSelectionK a) => a -> RGBA -> m () Source
colorSelectionSetHasOpacityControl
colorSelectionSetHasOpacityControl :: (MonadIO m, ColorSelectionK a) => a -> Bool -> m () Source
colorSelectionSetHasPalette
colorSelectionSetHasPalette :: (MonadIO m, ColorSelectionK a) => a -> Bool -> m () Source
colorSelectionSetPreviousAlpha
colorSelectionSetPreviousAlpha :: (MonadIO m, ColorSelectionK a) => a -> Word16 -> m () Source
colorSelectionSetPreviousColor
colorSelectionSetPreviousColor :: (MonadIO m, ColorSelectionK a) => a -> Color -> m () Source
Deprecated: (Since version 3.4)Use gtk_color_selection_set_previous_rgba() instead.
colorSelectionSetPreviousRgba
colorSelectionSetPreviousRgba :: (MonadIO m, ColorSelectionK a) => a -> RGBA -> m () Source
Properties
CurrentAlpha
data ColorSelectionCurrentAlphaPropertyInfo Source
AttrInfo ColorSelectionCurrentAlphaPropertyInfo Source | |
type AttrLabel ColorSelectionCurrentAlphaPropertyInfo = "ColorSelection::current-alpha" Source | |
type AttrGetType ColorSelectionCurrentAlphaPropertyInfo = Word32 Source | |
type AttrBaseTypeConstraint ColorSelectionCurrentAlphaPropertyInfo = ColorSelectionK Source | |
type AttrSetTypeConstraint ColorSelectionCurrentAlphaPropertyInfo = * ~ Word32 Source | |
type AttrAllowedOps ColorSelectionCurrentAlphaPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getColorSelectionCurrentAlpha :: (MonadIO m, ColorSelectionK o) => o -> m Word32 Source
setColorSelectionCurrentAlpha :: (MonadIO m, ColorSelectionK o) => o -> Word32 -> m () Source
CurrentColor
data ColorSelectionCurrentColorPropertyInfo Source
AttrInfo ColorSelectionCurrentColorPropertyInfo Source | |
type AttrLabel ColorSelectionCurrentColorPropertyInfo = "ColorSelection::current-color" Source | |
type AttrGetType ColorSelectionCurrentColorPropertyInfo = Color Source | |
type AttrBaseTypeConstraint ColorSelectionCurrentColorPropertyInfo = ColorSelectionK Source | |
type AttrSetTypeConstraint ColorSelectionCurrentColorPropertyInfo = * ~ Color Source | |
type AttrAllowedOps ColorSelectionCurrentColorPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getColorSelectionCurrentColor :: (MonadIO m, ColorSelectionK o) => o -> m Color Source
setColorSelectionCurrentColor :: (MonadIO m, ColorSelectionK o) => o -> Color -> m () Source
CurrentRgba
data ColorSelectionCurrentRgbaPropertyInfo Source
AttrInfo ColorSelectionCurrentRgbaPropertyInfo Source | |
type AttrLabel ColorSelectionCurrentRgbaPropertyInfo = "ColorSelection::current-rgba" Source | |
type AttrGetType ColorSelectionCurrentRgbaPropertyInfo = RGBA Source | |
type AttrBaseTypeConstraint ColorSelectionCurrentRgbaPropertyInfo = ColorSelectionK Source | |
type AttrSetTypeConstraint ColorSelectionCurrentRgbaPropertyInfo = * ~ RGBA Source | |
type AttrAllowedOps ColorSelectionCurrentRgbaPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getColorSelectionCurrentRgba :: (MonadIO m, ColorSelectionK o) => o -> m RGBA Source
setColorSelectionCurrentRgba :: (MonadIO m, ColorSelectionK o) => o -> RGBA -> m () Source
HasOpacityControl
data ColorSelectionHasOpacityControlPropertyInfo Source
AttrInfo ColorSelectionHasOpacityControlPropertyInfo Source | |
type AttrLabel ColorSelectionHasOpacityControlPropertyInfo = "ColorSelection::has-opacity-control" Source | |
type AttrGetType ColorSelectionHasOpacityControlPropertyInfo = Bool Source | |
type AttrBaseTypeConstraint ColorSelectionHasOpacityControlPropertyInfo = ColorSelectionK Source | |
type AttrSetTypeConstraint ColorSelectionHasOpacityControlPropertyInfo = * ~ Bool Source | |
type AttrAllowedOps ColorSelectionHasOpacityControlPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getColorSelectionHasOpacityControl :: (MonadIO m, ColorSelectionK o) => o -> m Bool Source
setColorSelectionHasOpacityControl :: (MonadIO m, ColorSelectionK o) => o -> Bool -> m () Source
HasPalette
data ColorSelectionHasPalettePropertyInfo Source
AttrInfo ColorSelectionHasPalettePropertyInfo Source | |
type AttrLabel ColorSelectionHasPalettePropertyInfo = "ColorSelection::has-palette" Source | |
type AttrGetType ColorSelectionHasPalettePropertyInfo = Bool Source | |
type AttrBaseTypeConstraint ColorSelectionHasPalettePropertyInfo = ColorSelectionK Source | |
type AttrSetTypeConstraint ColorSelectionHasPalettePropertyInfo = * ~ Bool Source | |
type AttrAllowedOps ColorSelectionHasPalettePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getColorSelectionHasPalette :: (MonadIO m, ColorSelectionK o) => o -> m Bool Source
setColorSelectionHasPalette :: (MonadIO m, ColorSelectionK o) => o -> Bool -> m () Source
Signals
ColorChanged
type ColorSelectionColorChangedCallback = IO () Source
type ColorSelectionColorChangedCallbackC = Ptr () -> Ptr () -> IO () Source
afterColorSelectionColorChanged :: (GObject a, MonadIO m) => a -> ColorSelectionColorChangedCallback -> m SignalHandlerId Source
colorSelectionColorChangedCallbackWrapper :: ColorSelectionColorChangedCallback -> Ptr () -> Ptr () -> IO () Source
mkColorSelectionColorChangedCallback :: ColorSelectionColorChangedCallbackC -> IO (FunPtr ColorSelectionColorChangedCallbackC) Source
onColorSelectionColorChanged :: (GObject a, MonadIO m) => a -> ColorSelectionColorChangedCallback -> m SignalHandlerId Source