gi-gtk-3.0.6: 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.Scale

Contents

Description

 

Synopsis

Exported types

newtype Scale Source #

Constructors

Scale (ForeignPtr Scale) 

Instances

GObject Scale Source # 
IsObject Scale Source # 
IsWidget Scale Source # 
IsScale Scale Source # 
IsRange Scale Source # 
IsOrientable Scale Source # 
IsBuildable Scale Source # 
IsImplementorIface Scale Source # 
((~) * info (ResolveScaleMethod t Scale), MethodInfo * info Scale p) => IsLabel t (Scale -> p) Source # 

Methods

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

((~) * info (ResolveScaleMethod t Scale), MethodInfo * info Scale p) => IsLabelProxy t (Scale -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> Scale -> p

HasAttributeList * Scale Source # 
type SignalList Scale Source # 
type SignalList Scale
type AttributeList Scale Source # 
type AttributeList Scale

class GObject o => IsScale o Source #

Instances

(GObject a, UnknownAncestorError Constraint Scale a) => IsScale a Source # 
IsScale Scale Source # 
IsScale HScale Source # 
IsScale VScale Source # 

Methods

scaleAddMark

data ScaleAddMarkMethodInfo Source #

Instances

((~) * signature (Double -> PositionType -> Maybe Text -> m ()), MonadIO m, IsScale a) => MethodInfo * ScaleAddMarkMethodInfo a signature Source # 

Methods

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

scaleAddMark :: (MonadIO m, IsScale a) => a -> Double -> PositionType -> Maybe Text -> m () Source #

scaleClearMarks

data ScaleClearMarksMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsScale a) => MethodInfo * ScaleClearMarksMethodInfo a signature Source # 

Methods

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

scaleClearMarks :: (MonadIO m, IsScale a) => a -> m () Source #

scaleGetDigits

data ScaleGetDigitsMethodInfo Source #

Instances

((~) * signature (m Int32), MonadIO m, IsScale a) => MethodInfo * ScaleGetDigitsMethodInfo a signature Source # 

Methods

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

scaleGetDrawValue

data ScaleGetDrawValueMethodInfo Source #

Instances

((~) * signature (m Bool), MonadIO m, IsScale a) => MethodInfo * ScaleGetDrawValueMethodInfo a signature Source # 

Methods

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

scaleGetHasOrigin

data ScaleGetHasOriginMethodInfo Source #

Instances

((~) * signature (m Bool), MonadIO m, IsScale a) => MethodInfo * ScaleGetHasOriginMethodInfo a signature Source # 

Methods

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

scaleGetLayout

data ScaleGetLayoutMethodInfo Source #

Instances

((~) * signature (m (Maybe Layout)), MonadIO m, IsScale a) => MethodInfo * ScaleGetLayoutMethodInfo a signature Source # 

Methods

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

scaleGetLayout :: (MonadIO m, IsScale a) => a -> m (Maybe Layout) Source #

scaleGetLayoutOffsets

data ScaleGetLayoutOffsetsMethodInfo Source #

Instances

((~) * signature (m (Int32, Int32)), MonadIO m, IsScale a) => MethodInfo * ScaleGetLayoutOffsetsMethodInfo a signature Source # 

Methods

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

scaleGetValuePos

data ScaleGetValuePosMethodInfo Source #

Instances

((~) * signature (m PositionType), MonadIO m, IsScale a) => MethodInfo * ScaleGetValuePosMethodInfo a signature Source # 

Methods

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

scaleNew

scaleNewWithRange

scaleSetDigits

data ScaleSetDigitsMethodInfo Source #

Instances

((~) * signature (Int32 -> m ()), MonadIO m, IsScale a) => MethodInfo * ScaleSetDigitsMethodInfo a signature Source # 

Methods

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

scaleSetDigits :: (MonadIO m, IsScale a) => a -> Int32 -> m () Source #

scaleSetDrawValue

data ScaleSetDrawValueMethodInfo Source #

Instances

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

Methods

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

scaleSetDrawValue :: (MonadIO m, IsScale a) => a -> Bool -> m () Source #

scaleSetHasOrigin

data ScaleSetHasOriginMethodInfo Source #

Instances

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

Methods

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

scaleSetHasOrigin :: (MonadIO m, IsScale a) => a -> Bool -> m () Source #

scaleSetValuePos

data ScaleSetValuePosMethodInfo Source #

Instances

((~) * signature (PositionType -> m ()), MonadIO m, IsScale a) => MethodInfo * ScaleSetValuePosMethodInfo a signature Source # 

Methods

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

Properties

Digits

data ScaleDigitsPropertyInfo Source #

Instances

AttrInfo ScaleDigitsPropertyInfo Source # 

Associated Types

type AttrAllowedOps ScaleDigitsPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint ScaleDigitsPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint ScaleDigitsPropertyInfo :: * -> Constraint

type AttrGetType ScaleDigitsPropertyInfo :: *

type AttrLabel ScaleDigitsPropertyInfo :: Symbol

Methods

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

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

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

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

type AttrSetTypeConstraint ScaleDigitsPropertyInfo Source # 
type AttrSetTypeConstraint ScaleDigitsPropertyInfo = * ~ Int32
type AttrLabel ScaleDigitsPropertyInfo Source # 
type AttrLabel ScaleDigitsPropertyInfo = "digits"
type AttrGetType ScaleDigitsPropertyInfo Source # 
type AttrGetType ScaleDigitsPropertyInfo = Int32
type AttrBaseTypeConstraint ScaleDigitsPropertyInfo Source # 
type AttrBaseTypeConstraint ScaleDigitsPropertyInfo = IsScale
type AttrAllowedOps ScaleDigitsPropertyInfo Source # 
type AttrAllowedOps ScaleDigitsPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

constructScaleDigits :: IsScale o => Int32 -> IO (GValueConstruct o) Source #

scaleDigits :: AttrLabelProxy "digits" Source #

setScaleDigits :: (MonadIO m, IsScale o) => o -> Int32 -> m () Source #

DrawValue

data ScaleDrawValuePropertyInfo Source #

Instances

AttrInfo ScaleDrawValuePropertyInfo Source # 

Associated Types

type AttrAllowedOps ScaleDrawValuePropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint ScaleDrawValuePropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint ScaleDrawValuePropertyInfo :: * -> Constraint

type AttrGetType ScaleDrawValuePropertyInfo :: *

type AttrLabel ScaleDrawValuePropertyInfo :: Symbol

Methods

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

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

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

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

type AttrSetTypeConstraint ScaleDrawValuePropertyInfo Source # 
type AttrSetTypeConstraint ScaleDrawValuePropertyInfo = * ~ Bool
type AttrLabel ScaleDrawValuePropertyInfo Source # 
type AttrLabel ScaleDrawValuePropertyInfo = "draw-value"
type AttrGetType ScaleDrawValuePropertyInfo Source # 
type AttrGetType ScaleDrawValuePropertyInfo = Bool
type AttrBaseTypeConstraint ScaleDrawValuePropertyInfo Source # 
type AttrBaseTypeConstraint ScaleDrawValuePropertyInfo = IsScale
type AttrAllowedOps ScaleDrawValuePropertyInfo Source # 
type AttrAllowedOps ScaleDrawValuePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

constructScaleDrawValue :: IsScale o => Bool -> IO (GValueConstruct o) Source #

scaleDrawValue :: AttrLabelProxy "drawValue" Source #

setScaleDrawValue :: (MonadIO m, IsScale o) => o -> Bool -> m () Source #

HasOrigin

data ScaleHasOriginPropertyInfo Source #

Instances

AttrInfo ScaleHasOriginPropertyInfo Source # 

Associated Types

type AttrAllowedOps ScaleHasOriginPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint ScaleHasOriginPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint ScaleHasOriginPropertyInfo :: * -> Constraint

type AttrGetType ScaleHasOriginPropertyInfo :: *

type AttrLabel ScaleHasOriginPropertyInfo :: Symbol

Methods

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

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

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

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

type AttrSetTypeConstraint ScaleHasOriginPropertyInfo Source # 
type AttrSetTypeConstraint ScaleHasOriginPropertyInfo = * ~ Bool
type AttrLabel ScaleHasOriginPropertyInfo Source # 
type AttrLabel ScaleHasOriginPropertyInfo = "has-origin"
type AttrGetType ScaleHasOriginPropertyInfo Source # 
type AttrGetType ScaleHasOriginPropertyInfo = Bool
type AttrBaseTypeConstraint ScaleHasOriginPropertyInfo Source # 
type AttrBaseTypeConstraint ScaleHasOriginPropertyInfo = IsScale
type AttrAllowedOps ScaleHasOriginPropertyInfo Source # 
type AttrAllowedOps ScaleHasOriginPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

constructScaleHasOrigin :: IsScale o => Bool -> IO (GValueConstruct o) Source #

scaleHasOrigin :: AttrLabelProxy "hasOrigin" Source #

setScaleHasOrigin :: (MonadIO m, IsScale o) => o -> Bool -> m () Source #

ValuePos

data ScaleValuePosPropertyInfo Source #

Instances

AttrInfo ScaleValuePosPropertyInfo Source # 

Associated Types

type AttrAllowedOps ScaleValuePosPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint ScaleValuePosPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint ScaleValuePosPropertyInfo :: * -> Constraint

type AttrGetType ScaleValuePosPropertyInfo :: *

type AttrLabel ScaleValuePosPropertyInfo :: Symbol

Methods

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

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

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

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

type AttrSetTypeConstraint ScaleValuePosPropertyInfo Source # 
type AttrSetTypeConstraint ScaleValuePosPropertyInfo = * ~ PositionType
type AttrLabel ScaleValuePosPropertyInfo Source # 
type AttrLabel ScaleValuePosPropertyInfo = "value-pos"
type AttrGetType ScaleValuePosPropertyInfo Source # 
type AttrBaseTypeConstraint ScaleValuePosPropertyInfo Source # 
type AttrBaseTypeConstraint ScaleValuePosPropertyInfo = IsScale
type AttrAllowedOps ScaleValuePosPropertyInfo Source # 
type AttrAllowedOps ScaleValuePosPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

constructScaleValuePos :: IsScale o => PositionType -> IO (GValueConstruct o) Source #

scaleValuePos :: AttrLabelProxy "valuePos" Source #

Signals

FormatValue

data ScaleFormatValueSignalInfo Source #

Instances

SignalInfo ScaleFormatValueSignalInfo Source # 

Associated Types

type HaskellCallbackType ScaleFormatValueSignalInfo :: *

Methods

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

type HaskellCallbackType ScaleFormatValueSignalInfo Source # 

afterScaleFormatValue :: (GObject a, MonadIO m) => a -> ScaleFormatValueCallback -> m SignalHandlerId Source #

onScaleFormatValue :: (GObject a, MonadIO m) => a -> ScaleFormatValueCallback -> m SignalHandlerId Source #