| 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 |
GI.Gtk.Objects.Scale
Contents
Description
- newtype Scale = Scale (ManagedPtr Scale)
- class GObject o => IsScale o
- toScale :: IsScale o => o -> IO Scale
- noScale :: Maybe Scale
- data ScaleAddMarkMethodInfo
- scaleAddMark :: (MonadIO m, IsScale a) => a -> Double -> PositionType -> Maybe Text -> m ()
- data ScaleClearMarksMethodInfo
- scaleClearMarks :: (MonadIO m, IsScale a) => a -> m ()
- data ScaleGetDigitsMethodInfo
- scaleGetDigits :: (MonadIO m, IsScale a) => a -> m Int32
- data ScaleGetDrawValueMethodInfo
- scaleGetDrawValue :: (MonadIO m, IsScale a) => a -> m Bool
- data ScaleGetHasOriginMethodInfo
- scaleGetHasOrigin :: (MonadIO m, IsScale a) => a -> m Bool
- data ScaleGetLayoutMethodInfo
- scaleGetLayout :: (MonadIO m, IsScale a) => a -> m (Maybe Layout)
- data ScaleGetLayoutOffsetsMethodInfo
- scaleGetLayoutOffsets :: (MonadIO m, IsScale a) => a -> m (Int32, Int32)
- data ScaleGetValuePosMethodInfo
- scaleGetValuePos :: (MonadIO m, IsScale a) => a -> m PositionType
- scaleNew :: (MonadIO m, IsAdjustment a) => Orientation -> Maybe a -> m Scale
- scaleNewWithRange :: MonadIO m => Orientation -> Double -> Double -> Double -> m Scale
- data ScaleSetDigitsMethodInfo
- scaleSetDigits :: (MonadIO m, IsScale a) => a -> Int32 -> m ()
- data ScaleSetDrawValueMethodInfo
- scaleSetDrawValue :: (MonadIO m, IsScale a) => a -> Bool -> m ()
- data ScaleSetHasOriginMethodInfo
- scaleSetHasOrigin :: (MonadIO m, IsScale a) => a -> Bool -> m ()
- data ScaleSetValuePosMethodInfo
- scaleSetValuePos :: (MonadIO m, IsScale a) => a -> PositionType -> m ()
- data ScaleDigitsPropertyInfo
- constructScaleDigits :: IsScale o => Int32 -> IO (GValueConstruct o)
- getScaleDigits :: (MonadIO m, IsScale o) => o -> m Int32
- scaleDigits :: AttrLabelProxy "digits"
- setScaleDigits :: (MonadIO m, IsScale o) => o -> Int32 -> m ()
- data ScaleDrawValuePropertyInfo
- constructScaleDrawValue :: IsScale o => Bool -> IO (GValueConstruct o)
- getScaleDrawValue :: (MonadIO m, IsScale o) => o -> m Bool
- scaleDrawValue :: AttrLabelProxy "drawValue"
- setScaleDrawValue :: (MonadIO m, IsScale o) => o -> Bool -> m ()
- data ScaleHasOriginPropertyInfo
- constructScaleHasOrigin :: IsScale o => Bool -> IO (GValueConstruct o)
- getScaleHasOrigin :: (MonadIO m, IsScale o) => o -> m Bool
- scaleHasOrigin :: AttrLabelProxy "hasOrigin"
- setScaleHasOrigin :: (MonadIO m, IsScale o) => o -> Bool -> m ()
- data ScaleValuePosPropertyInfo
- constructScaleValuePos :: IsScale o => PositionType -> IO (GValueConstruct o)
- getScaleValuePos :: (MonadIO m, IsScale o) => o -> m PositionType
- scaleValuePos :: AttrLabelProxy "valuePos"
- setScaleValuePos :: (MonadIO m, IsScale o) => o -> PositionType -> m ()
- type C_ScaleFormatValueCallback = Ptr () -> CDouble -> Ptr () -> IO CString
- type ScaleFormatValueCallback = Double -> IO Text
- data ScaleFormatValueSignalInfo
- afterScaleFormatValue :: (GObject a, MonadIO m) => a -> ScaleFormatValueCallback -> m SignalHandlerId
- genClosure_ScaleFormatValue :: ScaleFormatValueCallback -> IO Closure
- mk_ScaleFormatValueCallback :: C_ScaleFormatValueCallback -> IO (FunPtr C_ScaleFormatValueCallback)
- noScaleFormatValueCallback :: Maybe ScaleFormatValueCallback
- onScaleFormatValue :: (GObject a, MonadIO m) => a -> ScaleFormatValueCallback -> m SignalHandlerId
- wrap_ScaleFormatValueCallback :: ScaleFormatValueCallback -> Ptr () -> CDouble -> Ptr () -> IO CString
Exported types
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 # | |
| ((~) * info (ResolveScaleMethod t Scale), MethodInfo * info Scale p) => IsLabelProxy t (Scale -> p) Source # | |
| HasAttributeList * Scale Source # | |
| type SignalList Scale Source # | |
| type AttributeList Scale Source # | |
Methods
addMark
data ScaleAddMarkMethodInfo Source #
Instances
| ((~) * signature (Double -> PositionType -> Maybe Text -> m ()), MonadIO m, IsScale a) => MethodInfo * ScaleAddMarkMethodInfo a signature Source # | |
scaleAddMark :: (MonadIO m, IsScale a) => a -> Double -> PositionType -> Maybe Text -> m () Source #
clearMarks
scaleClearMarks :: (MonadIO m, IsScale a) => a -> m () Source #
getDigits
getDrawValue
getHasOrigin
getLayout
getLayoutOffsets
getValuePos
data ScaleGetValuePosMethodInfo Source #
Instances
| ((~) * signature (m PositionType), MonadIO m, IsScale a) => MethodInfo * ScaleGetValuePosMethodInfo a signature Source # | |
scaleGetValuePos :: (MonadIO m, IsScale a) => a -> m PositionType Source #
new
scaleNew :: (MonadIO m, IsAdjustment a) => Orientation -> Maybe a -> m Scale Source #
newWithRange
scaleNewWithRange :: MonadIO m => Orientation -> Double -> Double -> Double -> m Scale Source #
setDigits
setDrawValue
setHasOrigin
setValuePos
data ScaleSetValuePosMethodInfo Source #
Instances
| ((~) * signature (PositionType -> m ()), MonadIO m, IsScale a) => MethodInfo * ScaleSetValuePosMethodInfo a signature Source # | |
scaleSetValuePos :: (MonadIO m, IsScale a) => a -> PositionType -> m () Source #
Properties
digits
data ScaleDigitsPropertyInfo Source #
Instances
| AttrInfo ScaleDigitsPropertyInfo Source # | |
| type AttrSetTypeConstraint ScaleDigitsPropertyInfo Source # | |
| type AttrOrigin ScaleDigitsPropertyInfo Source # | |
| type AttrLabel ScaleDigitsPropertyInfo Source # | |
| type AttrGetType ScaleDigitsPropertyInfo Source # | |
| type AttrBaseTypeConstraint ScaleDigitsPropertyInfo Source # | |
| type AttrAllowedOps ScaleDigitsPropertyInfo Source # | |
scaleDigits :: AttrLabelProxy "digits" Source #
drawValue
data ScaleDrawValuePropertyInfo Source #
Instances
| AttrInfo ScaleDrawValuePropertyInfo Source # | |
| type AttrSetTypeConstraint ScaleDrawValuePropertyInfo Source # | |
| type AttrOrigin ScaleDrawValuePropertyInfo Source # | |
| type AttrLabel ScaleDrawValuePropertyInfo Source # | |
| type AttrGetType ScaleDrawValuePropertyInfo Source # | |
| type AttrBaseTypeConstraint ScaleDrawValuePropertyInfo Source # | |
| type AttrAllowedOps ScaleDrawValuePropertyInfo Source # | |
scaleDrawValue :: AttrLabelProxy "drawValue" Source #
hasOrigin
data ScaleHasOriginPropertyInfo Source #
Instances
| AttrInfo ScaleHasOriginPropertyInfo Source # | |
| type AttrSetTypeConstraint ScaleHasOriginPropertyInfo Source # | |
| type AttrOrigin ScaleHasOriginPropertyInfo Source # | |
| type AttrLabel ScaleHasOriginPropertyInfo Source # | |
| type AttrGetType ScaleHasOriginPropertyInfo Source # | |
| type AttrBaseTypeConstraint ScaleHasOriginPropertyInfo Source # | |
| type AttrAllowedOps ScaleHasOriginPropertyInfo Source # | |
scaleHasOrigin :: AttrLabelProxy "hasOrigin" Source #
valuePos
data ScaleValuePosPropertyInfo Source #
Instances
| AttrInfo ScaleValuePosPropertyInfo Source # | |
| type AttrSetTypeConstraint ScaleValuePosPropertyInfo Source # | |
| type AttrOrigin ScaleValuePosPropertyInfo Source # | |
| type AttrLabel ScaleValuePosPropertyInfo Source # | |
| type AttrGetType ScaleValuePosPropertyInfo Source # | |
| type AttrBaseTypeConstraint ScaleValuePosPropertyInfo Source # | |
| type AttrAllowedOps ScaleValuePosPropertyInfo Source # | |
constructScaleValuePos :: IsScale o => PositionType -> IO (GValueConstruct o) Source #
getScaleValuePos :: (MonadIO m, IsScale o) => o -> m PositionType Source #
scaleValuePos :: AttrLabelProxy "valuePos" Source #
setScaleValuePos :: (MonadIO m, IsScale o) => o -> PositionType -> m () Source #
Signals
formatValue
type ScaleFormatValueCallback = Double -> IO Text Source #
data ScaleFormatValueSignalInfo Source #
Instances
| SignalInfo ScaleFormatValueSignalInfo Source # | |
| type HaskellCallbackType ScaleFormatValueSignalInfo Source # | |
afterScaleFormatValue :: (GObject a, MonadIO m) => a -> ScaleFormatValueCallback -> m SignalHandlerId Source #
genClosure_ScaleFormatValue :: ScaleFormatValueCallback -> IO Closure Source #
mk_ScaleFormatValueCallback :: C_ScaleFormatValueCallback -> IO (FunPtr C_ScaleFormatValueCallback) Source #
onScaleFormatValue :: (GObject a, MonadIO m) => a -> ScaleFormatValueCallback -> m SignalHandlerId Source #
wrap_ScaleFormatValueCallback :: ScaleFormatValueCallback -> Ptr () -> CDouble -> Ptr () -> IO CString Source #