gi-gtk-3.0.7: 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.Interfaces.ColorChooser

Contents

Description

 

Synopsis

Exported types

newtype ColorChooser Source #

Constructors

ColorChooser (ManagedPtr ColorChooser) 

Instances

GObject ColorChooser Source # 
IsObject ColorChooser Source # 
IsColorChooser ColorChooser Source # 
((~) * info (ResolveColorChooserMethod t ColorChooser), MethodInfo * info ColorChooser p) => IsLabel t (ColorChooser -> p) Source # 

Methods

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

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

Methods

addPalette

data ColorChooserAddPaletteMethodInfo Source #

Instances

((~) * signature (Orientation -> Int32 -> Maybe [RGBA] -> m ()), MonadIO m, IsColorChooser a) => MethodInfo * ColorChooserAddPaletteMethodInfo a signature Source # 

Methods

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

getRgba

data ColorChooserGetRgbaMethodInfo Source #

Instances

((~) * signature (m RGBA), MonadIO m, IsColorChooser a) => MethodInfo * ColorChooserGetRgbaMethodInfo a signature Source # 

Methods

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

getUseAlpha

data ColorChooserGetUseAlphaMethodInfo Source #

Instances

((~) * signature (m Bool), MonadIO m, IsColorChooser a) => MethodInfo * ColorChooserGetUseAlphaMethodInfo a signature Source # 

Methods

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

setRgba

data ColorChooserSetRgbaMethodInfo Source #

Instances

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

Methods

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

colorChooserSetRgba :: (MonadIO m, IsColorChooser a) => a -> RGBA -> m () Source #

setUseAlpha

data ColorChooserSetUseAlphaMethodInfo Source #

Instances

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

Methods

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

Properties

rgba

data ColorChooserRgbaPropertyInfo Source #

Instances

AttrInfo ColorChooserRgbaPropertyInfo Source # 

Associated Types

type AttrAllowedOps ColorChooserRgbaPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint ColorChooserRgbaPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint ColorChooserRgbaPropertyInfo :: * -> Constraint

type AttrGetType ColorChooserRgbaPropertyInfo :: *

type AttrLabel ColorChooserRgbaPropertyInfo :: Symbol

type AttrOrigin ColorChooserRgbaPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint ColorChooserRgbaPropertyInfo o => Proxy * ColorChooserRgbaPropertyInfo -> o -> IO (AttrGetType ColorChooserRgbaPropertyInfo)

attrSet :: (AttrBaseTypeConstraint ColorChooserRgbaPropertyInfo o, AttrSetTypeConstraint ColorChooserRgbaPropertyInfo b) => Proxy * ColorChooserRgbaPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint ColorChooserRgbaPropertyInfo o => Proxy * ColorChooserRgbaPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint ColorChooserRgbaPropertyInfo o, AttrSetTypeConstraint ColorChooserRgbaPropertyInfo b) => Proxy * ColorChooserRgbaPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint ColorChooserRgbaPropertyInfo Source # 
type AttrSetTypeConstraint ColorChooserRgbaPropertyInfo = * ~ RGBA
type AttrOrigin ColorChooserRgbaPropertyInfo Source # 
type AttrLabel ColorChooserRgbaPropertyInfo Source # 
type AttrLabel ColorChooserRgbaPropertyInfo = "rgba"
type AttrGetType ColorChooserRgbaPropertyInfo Source # 
type AttrGetType ColorChooserRgbaPropertyInfo = Maybe RGBA
type AttrBaseTypeConstraint ColorChooserRgbaPropertyInfo Source # 
type AttrBaseTypeConstraint ColorChooserRgbaPropertyInfo = IsColorChooser
type AttrAllowedOps ColorChooserRgbaPropertyInfo Source # 
type AttrAllowedOps ColorChooserRgbaPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

colorChooserRgba :: AttrLabelProxy "rgba" Source #

constructColorChooserRgba :: IsColorChooser o => RGBA -> IO (GValueConstruct o) Source #

setColorChooserRgba :: (MonadIO m, IsColorChooser o) => o -> RGBA -> m () Source #

useAlpha

data ColorChooserUseAlphaPropertyInfo Source #

Instances

AttrInfo ColorChooserUseAlphaPropertyInfo Source # 

Associated Types

type AttrAllowedOps ColorChooserUseAlphaPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint ColorChooserUseAlphaPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint ColorChooserUseAlphaPropertyInfo :: * -> Constraint

type AttrGetType ColorChooserUseAlphaPropertyInfo :: *

type AttrLabel ColorChooserUseAlphaPropertyInfo :: Symbol

type AttrOrigin ColorChooserUseAlphaPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint ColorChooserUseAlphaPropertyInfo o => Proxy * ColorChooserUseAlphaPropertyInfo -> o -> IO (AttrGetType ColorChooserUseAlphaPropertyInfo)

attrSet :: (AttrBaseTypeConstraint ColorChooserUseAlphaPropertyInfo o, AttrSetTypeConstraint ColorChooserUseAlphaPropertyInfo b) => Proxy * ColorChooserUseAlphaPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint ColorChooserUseAlphaPropertyInfo o => Proxy * ColorChooserUseAlphaPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint ColorChooserUseAlphaPropertyInfo o, AttrSetTypeConstraint ColorChooserUseAlphaPropertyInfo b) => Proxy * ColorChooserUseAlphaPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint ColorChooserUseAlphaPropertyInfo Source # 
type AttrSetTypeConstraint ColorChooserUseAlphaPropertyInfo = * ~ Bool
type AttrOrigin ColorChooserUseAlphaPropertyInfo Source # 
type AttrLabel ColorChooserUseAlphaPropertyInfo Source # 
type AttrLabel ColorChooserUseAlphaPropertyInfo = "use-alpha"
type AttrGetType ColorChooserUseAlphaPropertyInfo Source # 
type AttrBaseTypeConstraint ColorChooserUseAlphaPropertyInfo Source # 
type AttrBaseTypeConstraint ColorChooserUseAlphaPropertyInfo = IsColorChooser
type AttrAllowedOps ColorChooserUseAlphaPropertyInfo Source # 
type AttrAllowedOps ColorChooserUseAlphaPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

colorChooserUseAlpha :: AttrLabelProxy "useAlpha" Source #

Signals

colorActivated

type C_ColorChooserColorActivatedCallback = Ptr () -> Ptr RGBA -> Ptr () -> IO () Source #

data ColorChooserColorActivatedSignalInfo Source #

Instances

SignalInfo ColorChooserColorActivatedSignalInfo Source # 

Associated Types

type HaskellCallbackType ColorChooserColorActivatedSignalInfo :: *

Methods

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

type HaskellCallbackType ColorChooserColorActivatedSignalInfo Source # 

onColorChooserColorActivated :: (GObject a, MonadIO m) => a -> ColorChooserColorActivatedCallback -> m SignalHandlerId Source #