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 |
- newtype ColorChooser = ColorChooser (ForeignPtr ColorChooser)
- noColorChooser :: Maybe ColorChooser
- class GObject o => ColorChooserK o
- toColorChooser :: ColorChooserK o => o -> IO ColorChooser
- data ColorChooserAddPaletteMethodInfo
- colorChooserAddPalette :: (MonadIO m, ColorChooserK a) => a -> Orientation -> Int32 -> Maybe [RGBA] -> m ()
- data ColorChooserGetRgbaMethodInfo
- colorChooserGetRgba :: (MonadIO m, ColorChooserK a) => a -> m RGBA
- data ColorChooserGetUseAlphaMethodInfo
- colorChooserGetUseAlpha :: (MonadIO m, ColorChooserK a) => a -> m Bool
- data ColorChooserSetRgbaMethodInfo
- colorChooserSetRgba :: (MonadIO m, ColorChooserK a) => a -> RGBA -> m ()
- data ColorChooserSetUseAlphaMethodInfo
- colorChooserSetUseAlpha :: (MonadIO m, ColorChooserK a) => a -> Bool -> m ()
- data ColorChooserRgbaPropertyInfo
- constructColorChooserRgba :: RGBA -> IO ([Char], GValue)
- getColorChooserRgba :: (MonadIO m, ColorChooserK o) => o -> m RGBA
- setColorChooserRgba :: (MonadIO m, ColorChooserK o) => o -> RGBA -> m ()
- data ColorChooserUseAlphaPropertyInfo
- constructColorChooserUseAlpha :: Bool -> IO ([Char], GValue)
- getColorChooserUseAlpha :: (MonadIO m, ColorChooserK o) => o -> m Bool
- setColorChooserUseAlpha :: (MonadIO m, ColorChooserK o) => o -> Bool -> m ()
- type ColorChooserColorActivatedCallback = RGBA -> IO ()
- type ColorChooserColorActivatedCallbackC = Ptr () -> Ptr RGBA -> Ptr () -> IO ()
- data ColorChooserColorActivatedSignalInfo
- afterColorChooserColorActivated :: (GObject a, MonadIO m) => a -> ColorChooserColorActivatedCallback -> m SignalHandlerId
- colorChooserColorActivatedCallbackWrapper :: ColorChooserColorActivatedCallback -> Ptr () -> Ptr RGBA -> Ptr () -> IO ()
- colorChooserColorActivatedClosure :: ColorChooserColorActivatedCallback -> IO Closure
- mkColorChooserColorActivatedCallback :: ColorChooserColorActivatedCallbackC -> IO (FunPtr ColorChooserColorActivatedCallbackC)
- noColorChooserColorActivatedCallback :: Maybe ColorChooserColorActivatedCallback
- onColorChooserColorActivated :: (GObject a, MonadIO m) => a -> ColorChooserColorActivatedCallback -> m SignalHandlerId
Exported types
newtype ColorChooser Source
GObject ColorChooser Source | |
((~) * info (ResolveColorChooserMethod t ColorChooser), MethodInfo * info ColorChooser p) => IsLabel t (ColorChooser -> p) Source | |
((~) * info (ResolveColorChooserMethod t ColorChooser), MethodInfo * info ColorChooser p) => IsLabelProxy t (ColorChooser -> p) Source | |
type ParentTypes ColorChooser Source | |
type AttributeList ColorChooser Source | |
type SignalList ColorChooser Source |
class GObject o => ColorChooserK o Source
(GObject o, IsDescendantOf ColorChooser o) => ColorChooserK o Source | |
toColorChooser :: ColorChooserK o => o -> IO ColorChooser Source
Methods
colorChooserAddPalette
data ColorChooserAddPaletteMethodInfo Source
((~) (TYPE Lifted) signature (Orientation -> Int32 -> Maybe [RGBA] -> m ()), MonadIO m, ColorChooserK a) => MethodInfo (TYPE Lifted) ColorChooserAddPaletteMethodInfo a signature Source | |
colorChooserAddPalette :: (MonadIO m, ColorChooserK a) => a -> Orientation -> Int32 -> Maybe [RGBA] -> m () Source
colorChooserGetRgba
data ColorChooserGetRgbaMethodInfo Source
((~) (TYPE Lifted) signature (m RGBA), MonadIO m, ColorChooserK a) => MethodInfo (TYPE Lifted) ColorChooserGetRgbaMethodInfo a signature Source | |
colorChooserGetRgba :: (MonadIO m, ColorChooserK a) => a -> m RGBA Source
colorChooserGetUseAlpha
data ColorChooserGetUseAlphaMethodInfo Source
((~) (TYPE Lifted) signature (m Bool), MonadIO m, ColorChooserK a) => MethodInfo (TYPE Lifted) ColorChooserGetUseAlphaMethodInfo a signature Source | |
colorChooserGetUseAlpha :: (MonadIO m, ColorChooserK a) => a -> m Bool Source
colorChooserSetRgba
data ColorChooserSetRgbaMethodInfo Source
((~) (TYPE Lifted) signature (RGBA -> m ()), MonadIO m, ColorChooserK a) => MethodInfo (TYPE Lifted) ColorChooserSetRgbaMethodInfo a signature Source | |
colorChooserSetRgba :: (MonadIO m, ColorChooserK a) => a -> RGBA -> m () Source
colorChooserSetUseAlpha
data ColorChooserSetUseAlphaMethodInfo Source
((~) (TYPE Lifted) signature (Bool -> m ()), MonadIO m, ColorChooserK a) => MethodInfo (TYPE Lifted) ColorChooserSetUseAlphaMethodInfo a signature Source | |
colorChooserSetUseAlpha :: (MonadIO m, ColorChooserK a) => a -> Bool -> m () Source
Properties
Rgba
data ColorChooserRgbaPropertyInfo Source
AttrInfo ColorChooserRgbaPropertyInfo Source | |
type AttrLabel ColorChooserRgbaPropertyInfo = "rgba" Source | |
type AttrGetType ColorChooserRgbaPropertyInfo = RGBA Source | |
type AttrBaseTypeConstraint ColorChooserRgbaPropertyInfo = ColorChooserK Source | |
type AttrSetTypeConstraint ColorChooserRgbaPropertyInfo = TYPE Lifted ~ RGBA Source | |
type AttrAllowedOps ColorChooserRgbaPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
constructColorChooserRgba :: RGBA -> IO ([Char], GValue) Source
getColorChooserRgba :: (MonadIO m, ColorChooserK o) => o -> m RGBA Source
setColorChooserRgba :: (MonadIO m, ColorChooserK o) => o -> RGBA -> m () Source
UseAlpha
data ColorChooserUseAlphaPropertyInfo Source
getColorChooserUseAlpha :: (MonadIO m, ColorChooserK o) => o -> m Bool Source
setColorChooserUseAlpha :: (MonadIO m, ColorChooserK o) => o -> Bool -> m () Source
Signals
ColorActivated
type ColorChooserColorActivatedCallback = RGBA -> IO () Source
afterColorChooserColorActivated :: (GObject a, MonadIO m) => a -> ColorChooserColorActivatedCallback -> m SignalHandlerId Source
colorChooserColorActivatedCallbackWrapper :: ColorChooserColorActivatedCallback -> Ptr () -> Ptr RGBA -> Ptr () -> IO () Source
mkColorChooserColorActivatedCallback :: ColorChooserColorActivatedCallbackC -> IO (FunPtr ColorChooserColorActivatedCallbackC) Source
onColorChooserColorActivated :: (GObject a, MonadIO m) => a -> ColorChooserColorActivatedCallback -> m SignalHandlerId Source