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
- spinButtonConfigure
- spinButtonGetAdjustment
- spinButtonGetDigits
- spinButtonGetIncrements
- spinButtonGetNumeric
- spinButtonGetRange
- spinButtonGetSnapToTicks
- spinButtonGetUpdatePolicy
- spinButtonGetValue
- spinButtonGetValueAsInt
- spinButtonGetWrap
- spinButtonNew
- spinButtonNewWithRange
- spinButtonSetAdjustment
- spinButtonSetDigits
- spinButtonSetIncrements
- spinButtonSetNumeric
- spinButtonSetRange
- spinButtonSetSnapToTicks
- spinButtonSetUpdatePolicy
- spinButtonSetValue
- spinButtonSetWrap
- spinButtonSpin
- spinButtonUpdate
- Properties
- Signals
- newtype SpinButton = SpinButton (ForeignPtr SpinButton)
- class GObject o => SpinButtonK o
- toSpinButton :: SpinButtonK o => o -> IO SpinButton
- noSpinButton :: Maybe SpinButton
- data SpinButtonConfigureMethodInfo
- spinButtonConfigure :: (MonadIO m, SpinButtonK a, AdjustmentK b) => a -> Maybe b -> Double -> Word32 -> m ()
- data SpinButtonGetAdjustmentMethodInfo
- spinButtonGetAdjustment :: (MonadIO m, SpinButtonK a) => a -> m Adjustment
- data SpinButtonGetDigitsMethodInfo
- spinButtonGetDigits :: (MonadIO m, SpinButtonK a) => a -> m Word32
- data SpinButtonGetIncrementsMethodInfo
- spinButtonGetIncrements :: (MonadIO m, SpinButtonK a) => a -> m (Double, Double)
- data SpinButtonGetNumericMethodInfo
- spinButtonGetNumeric :: (MonadIO m, SpinButtonK a) => a -> m Bool
- data SpinButtonGetRangeMethodInfo
- spinButtonGetRange :: (MonadIO m, SpinButtonK a) => a -> m (Double, Double)
- data SpinButtonGetSnapToTicksMethodInfo
- spinButtonGetSnapToTicks :: (MonadIO m, SpinButtonK a) => a -> m Bool
- data SpinButtonGetUpdatePolicyMethodInfo
- spinButtonGetUpdatePolicy :: (MonadIO m, SpinButtonK a) => a -> m SpinButtonUpdatePolicy
- data SpinButtonGetValueMethodInfo
- spinButtonGetValue :: (MonadIO m, SpinButtonK a) => a -> m Double
- data SpinButtonGetValueAsIntMethodInfo
- spinButtonGetValueAsInt :: (MonadIO m, SpinButtonK a) => a -> m Int32
- data SpinButtonGetWrapMethodInfo
- spinButtonGetWrap :: (MonadIO m, SpinButtonK a) => a -> m Bool
- spinButtonNew :: (MonadIO m, AdjustmentK a) => Maybe a -> Double -> Word32 -> m SpinButton
- spinButtonNewWithRange :: MonadIO m => Double -> Double -> Double -> m SpinButton
- data SpinButtonSetAdjustmentMethodInfo
- spinButtonSetAdjustment :: (MonadIO m, SpinButtonK a, AdjustmentK b) => a -> b -> m ()
- data SpinButtonSetDigitsMethodInfo
- spinButtonSetDigits :: (MonadIO m, SpinButtonK a) => a -> Word32 -> m ()
- data SpinButtonSetIncrementsMethodInfo
- spinButtonSetIncrements :: (MonadIO m, SpinButtonK a) => a -> Double -> Double -> m ()
- data SpinButtonSetNumericMethodInfo
- spinButtonSetNumeric :: (MonadIO m, SpinButtonK a) => a -> Bool -> m ()
- data SpinButtonSetRangeMethodInfo
- spinButtonSetRange :: (MonadIO m, SpinButtonK a) => a -> Double -> Double -> m ()
- data SpinButtonSetSnapToTicksMethodInfo
- spinButtonSetSnapToTicks :: (MonadIO m, SpinButtonK a) => a -> Bool -> m ()
- data SpinButtonSetUpdatePolicyMethodInfo
- spinButtonSetUpdatePolicy :: (MonadIO m, SpinButtonK a) => a -> SpinButtonUpdatePolicy -> m ()
- data SpinButtonSetValueMethodInfo
- spinButtonSetValue :: (MonadIO m, SpinButtonK a) => a -> Double -> m ()
- data SpinButtonSetWrapMethodInfo
- spinButtonSetWrap :: (MonadIO m, SpinButtonK a) => a -> Bool -> m ()
- data SpinButtonSpinMethodInfo
- spinButtonSpin :: (MonadIO m, SpinButtonK a) => a -> SpinType -> Double -> m ()
- data SpinButtonUpdateMethodInfo
- spinButtonUpdate :: (MonadIO m, SpinButtonK a) => a -> m ()
- data SpinButtonAdjustmentPropertyInfo
- constructSpinButtonAdjustment :: AdjustmentK a => a -> IO ([Char], GValue)
- getSpinButtonAdjustment :: (MonadIO m, SpinButtonK o) => o -> m Adjustment
- setSpinButtonAdjustment :: (MonadIO m, SpinButtonK o, AdjustmentK a) => o -> a -> m ()
- spinButtonAdjustment :: AttrLabelProxy "adjustment"
- data SpinButtonClimbRatePropertyInfo
- constructSpinButtonClimbRate :: Double -> IO ([Char], GValue)
- getSpinButtonClimbRate :: (MonadIO m, SpinButtonK o) => o -> m Double
- setSpinButtonClimbRate :: (MonadIO m, SpinButtonK o) => o -> Double -> m ()
- spinButtonClimbRate :: AttrLabelProxy "climbRate"
- data SpinButtonDigitsPropertyInfo
- constructSpinButtonDigits :: Word32 -> IO ([Char], GValue)
- getSpinButtonDigits :: (MonadIO m, SpinButtonK o) => o -> m Word32
- setSpinButtonDigits :: (MonadIO m, SpinButtonK o) => o -> Word32 -> m ()
- spinButtonDigits :: AttrLabelProxy "digits"
- data SpinButtonNumericPropertyInfo
- constructSpinButtonNumeric :: Bool -> IO ([Char], GValue)
- getSpinButtonNumeric :: (MonadIO m, SpinButtonK o) => o -> m Bool
- setSpinButtonNumeric :: (MonadIO m, SpinButtonK o) => o -> Bool -> m ()
- spinButtonNumeric :: AttrLabelProxy "numeric"
- data SpinButtonSnapToTicksPropertyInfo
- constructSpinButtonSnapToTicks :: Bool -> IO ([Char], GValue)
- getSpinButtonSnapToTicks :: (MonadIO m, SpinButtonK o) => o -> m Bool
- setSpinButtonSnapToTicks :: (MonadIO m, SpinButtonK o) => o -> Bool -> m ()
- spinButtonSnapToTicks :: AttrLabelProxy "snapToTicks"
- data SpinButtonUpdatePolicyPropertyInfo
- constructSpinButtonUpdatePolicy :: SpinButtonUpdatePolicy -> IO ([Char], GValue)
- getSpinButtonUpdatePolicy :: (MonadIO m, SpinButtonK o) => o -> m SpinButtonUpdatePolicy
- setSpinButtonUpdatePolicy :: (MonadIO m, SpinButtonK o) => o -> SpinButtonUpdatePolicy -> m ()
- spinButtonUpdatePolicy :: AttrLabelProxy "updatePolicy"
- data SpinButtonValuePropertyInfo
- constructSpinButtonValue :: Double -> IO ([Char], GValue)
- getSpinButtonValue :: (MonadIO m, SpinButtonK o) => o -> m Double
- setSpinButtonValue :: (MonadIO m, SpinButtonK o) => o -> Double -> m ()
- spinButtonValue :: AttrLabelProxy "value"
- data SpinButtonWrapPropertyInfo
- constructSpinButtonWrap :: Bool -> IO ([Char], GValue)
- getSpinButtonWrap :: (MonadIO m, SpinButtonK o) => o -> m Bool
- setSpinButtonWrap :: (MonadIO m, SpinButtonK o) => o -> Bool -> m ()
- spinButtonWrap :: AttrLabelProxy "wrap"
- type SpinButtonChangeValueCallback = ScrollType -> IO ()
- type SpinButtonChangeValueCallbackC = Ptr () -> CUInt -> Ptr () -> IO ()
- data SpinButtonChangeValueSignalInfo
- afterSpinButtonChangeValue :: (GObject a, MonadIO m) => a -> SpinButtonChangeValueCallback -> m SignalHandlerId
- mkSpinButtonChangeValueCallback :: SpinButtonChangeValueCallbackC -> IO (FunPtr SpinButtonChangeValueCallbackC)
- noSpinButtonChangeValueCallback :: Maybe SpinButtonChangeValueCallback
- onSpinButtonChangeValue :: (GObject a, MonadIO m) => a -> SpinButtonChangeValueCallback -> m SignalHandlerId
- spinButtonChangeValueCallbackWrapper :: SpinButtonChangeValueCallback -> Ptr () -> CUInt -> Ptr () -> IO ()
- spinButtonChangeValueClosure :: SpinButtonChangeValueCallback -> IO Closure
- type SpinButtonInputCallback = IO (Int32, Double)
- type SpinButtonInputCallbackC = Ptr () -> Ptr CDouble -> Ptr () -> IO Int32
- data SpinButtonInputSignalInfo
- afterSpinButtonInput :: (GObject a, MonadIO m) => a -> SpinButtonInputCallback -> m SignalHandlerId
- mkSpinButtonInputCallback :: SpinButtonInputCallbackC -> IO (FunPtr SpinButtonInputCallbackC)
- noSpinButtonInputCallback :: Maybe SpinButtonInputCallback
- onSpinButtonInput :: (GObject a, MonadIO m) => a -> SpinButtonInputCallback -> m SignalHandlerId
- spinButtonInputCallbackWrapper :: SpinButtonInputCallback -> Ptr () -> Ptr CDouble -> Ptr () -> IO Int32
- spinButtonInputClosure :: SpinButtonInputCallback -> IO Closure
- type SpinButtonOutputCallback = IO Bool
- type SpinButtonOutputCallbackC = Ptr () -> Ptr () -> IO CInt
- data SpinButtonOutputSignalInfo
- afterSpinButtonOutput :: (GObject a, MonadIO m) => a -> SpinButtonOutputCallback -> m SignalHandlerId
- mkSpinButtonOutputCallback :: SpinButtonOutputCallbackC -> IO (FunPtr SpinButtonOutputCallbackC)
- noSpinButtonOutputCallback :: Maybe SpinButtonOutputCallback
- onSpinButtonOutput :: (GObject a, MonadIO m) => a -> SpinButtonOutputCallback -> m SignalHandlerId
- spinButtonOutputCallbackWrapper :: SpinButtonOutputCallback -> Ptr () -> Ptr () -> IO CInt
- spinButtonOutputClosure :: SpinButtonOutputCallback -> IO Closure
- type SpinButtonValueChangedCallback = IO ()
- type SpinButtonValueChangedCallbackC = Ptr () -> Ptr () -> IO ()
- data SpinButtonValueChangedSignalInfo
- afterSpinButtonValueChanged :: (GObject a, MonadIO m) => a -> SpinButtonValueChangedCallback -> m SignalHandlerId
- mkSpinButtonValueChangedCallback :: SpinButtonValueChangedCallbackC -> IO (FunPtr SpinButtonValueChangedCallbackC)
- noSpinButtonValueChangedCallback :: Maybe SpinButtonValueChangedCallback
- onSpinButtonValueChanged :: (GObject a, MonadIO m) => a -> SpinButtonValueChangedCallback -> m SignalHandlerId
- spinButtonValueChangedCallbackWrapper :: SpinButtonValueChangedCallback -> Ptr () -> Ptr () -> IO ()
- spinButtonValueChangedClosure :: SpinButtonValueChangedCallback -> IO Closure
- type SpinButtonWrappedCallback = IO ()
- type SpinButtonWrappedCallbackC = Ptr () -> Ptr () -> IO ()
- data SpinButtonWrappedSignalInfo
- afterSpinButtonWrapped :: (GObject a, MonadIO m) => a -> SpinButtonWrappedCallback -> m SignalHandlerId
- mkSpinButtonWrappedCallback :: SpinButtonWrappedCallbackC -> IO (FunPtr SpinButtonWrappedCallbackC)
- noSpinButtonWrappedCallback :: Maybe SpinButtonWrappedCallback
- onSpinButtonWrapped :: (GObject a, MonadIO m) => a -> SpinButtonWrappedCallback -> m SignalHandlerId
- spinButtonWrappedCallbackWrapper :: SpinButtonWrappedCallback -> Ptr () -> Ptr () -> IO ()
- spinButtonWrappedClosure :: SpinButtonWrappedCallback -> IO Closure
Exported types
newtype SpinButton Source
GObject SpinButton | |
((~) * info (ResolveSpinButtonMethod t SpinButton), MethodInfo * info SpinButton p) => IsLabelProxy t (SpinButton -> p) | |
type ParentTypes SpinButton | |
type AttributeList SpinButton | |
type SignalList SpinButton |
class GObject o => SpinButtonK o Source
(GObject o, IsDescendantOf SpinButton o) => SpinButtonK o |
toSpinButton :: SpinButtonK o => o -> IO SpinButton Source
Methods
spinButtonConfigure
data SpinButtonConfigureMethodInfo Source
((~) * signature (Maybe b -> Double -> Word32 -> m ()), MonadIO m, SpinButtonK a, AdjustmentK b) => MethodInfo * SpinButtonConfigureMethodInfo a signature |
spinButtonConfigure :: (MonadIO m, SpinButtonK a, AdjustmentK b) => a -> Maybe b -> Double -> Word32 -> m () Source
spinButtonGetAdjustment
data SpinButtonGetAdjustmentMethodInfo Source
((~) * signature (m Adjustment), MonadIO m, SpinButtonK a) => MethodInfo * SpinButtonGetAdjustmentMethodInfo a signature |
spinButtonGetAdjustment :: (MonadIO m, SpinButtonK a) => a -> m Adjustment Source
spinButtonGetDigits
data SpinButtonGetDigitsMethodInfo Source
((~) * signature (m Word32), MonadIO m, SpinButtonK a) => MethodInfo * SpinButtonGetDigitsMethodInfo a signature |
spinButtonGetDigits :: (MonadIO m, SpinButtonK a) => a -> m Word32 Source
spinButtonGetIncrements
data SpinButtonGetIncrementsMethodInfo Source
((~) * signature (m (Double, Double)), MonadIO m, SpinButtonK a) => MethodInfo * SpinButtonGetIncrementsMethodInfo a signature |
spinButtonGetIncrements :: (MonadIO m, SpinButtonK a) => a -> m (Double, Double) Source
spinButtonGetNumeric
data SpinButtonGetNumericMethodInfo Source
((~) * signature (m Bool), MonadIO m, SpinButtonK a) => MethodInfo * SpinButtonGetNumericMethodInfo a signature |
spinButtonGetNumeric :: (MonadIO m, SpinButtonK a) => a -> m Bool Source
spinButtonGetRange
data SpinButtonGetRangeMethodInfo Source
((~) * signature (m (Double, Double)), MonadIO m, SpinButtonK a) => MethodInfo * SpinButtonGetRangeMethodInfo a signature |
spinButtonGetRange :: (MonadIO m, SpinButtonK a) => a -> m (Double, Double) Source
spinButtonGetSnapToTicks
data SpinButtonGetSnapToTicksMethodInfo Source
((~) * signature (m Bool), MonadIO m, SpinButtonK a) => MethodInfo * SpinButtonGetSnapToTicksMethodInfo a signature |
spinButtonGetSnapToTicks :: (MonadIO m, SpinButtonK a) => a -> m Bool Source
spinButtonGetUpdatePolicy
data SpinButtonGetUpdatePolicyMethodInfo Source
((~) * signature (m SpinButtonUpdatePolicy), MonadIO m, SpinButtonK a) => MethodInfo * SpinButtonGetUpdatePolicyMethodInfo a signature |
spinButtonGetUpdatePolicy :: (MonadIO m, SpinButtonK a) => a -> m SpinButtonUpdatePolicy Source
spinButtonGetValue
data SpinButtonGetValueMethodInfo Source
((~) * signature (m Double), MonadIO m, SpinButtonK a) => MethodInfo * SpinButtonGetValueMethodInfo a signature |
spinButtonGetValue :: (MonadIO m, SpinButtonK a) => a -> m Double Source
spinButtonGetValueAsInt
data SpinButtonGetValueAsIntMethodInfo Source
((~) * signature (m Int32), MonadIO m, SpinButtonK a) => MethodInfo * SpinButtonGetValueAsIntMethodInfo a signature |
spinButtonGetValueAsInt :: (MonadIO m, SpinButtonK a) => a -> m Int32 Source
spinButtonGetWrap
data SpinButtonGetWrapMethodInfo Source
((~) * signature (m Bool), MonadIO m, SpinButtonK a) => MethodInfo * SpinButtonGetWrapMethodInfo a signature |
spinButtonGetWrap :: (MonadIO m, SpinButtonK a) => a -> m Bool Source
spinButtonNew
spinButtonNew :: (MonadIO m, AdjustmentK a) => Maybe a -> Double -> Word32 -> m SpinButton Source
spinButtonNewWithRange
spinButtonNewWithRange :: MonadIO m => Double -> Double -> Double -> m SpinButton Source
spinButtonSetAdjustment
data SpinButtonSetAdjustmentMethodInfo Source
((~) * signature (b -> m ()), MonadIO m, SpinButtonK a, AdjustmentK b) => MethodInfo * SpinButtonSetAdjustmentMethodInfo a signature |
spinButtonSetAdjustment :: (MonadIO m, SpinButtonK a, AdjustmentK b) => a -> b -> m () Source
spinButtonSetDigits
data SpinButtonSetDigitsMethodInfo Source
((~) * signature (Word32 -> m ()), MonadIO m, SpinButtonK a) => MethodInfo * SpinButtonSetDigitsMethodInfo a signature |
spinButtonSetDigits :: (MonadIO m, SpinButtonK a) => a -> Word32 -> m () Source
spinButtonSetIncrements
data SpinButtonSetIncrementsMethodInfo Source
((~) * signature (Double -> Double -> m ()), MonadIO m, SpinButtonK a) => MethodInfo * SpinButtonSetIncrementsMethodInfo a signature |
spinButtonSetIncrements :: (MonadIO m, SpinButtonK a) => a -> Double -> Double -> m () Source
spinButtonSetNumeric
data SpinButtonSetNumericMethodInfo Source
((~) * signature (Bool -> m ()), MonadIO m, SpinButtonK a) => MethodInfo * SpinButtonSetNumericMethodInfo a signature |
spinButtonSetNumeric :: (MonadIO m, SpinButtonK a) => a -> Bool -> m () Source
spinButtonSetRange
data SpinButtonSetRangeMethodInfo Source
((~) * signature (Double -> Double -> m ()), MonadIO m, SpinButtonK a) => MethodInfo * SpinButtonSetRangeMethodInfo a signature |
spinButtonSetRange :: (MonadIO m, SpinButtonK a) => a -> Double -> Double -> m () Source
spinButtonSetSnapToTicks
data SpinButtonSetSnapToTicksMethodInfo Source
((~) * signature (Bool -> m ()), MonadIO m, SpinButtonK a) => MethodInfo * SpinButtonSetSnapToTicksMethodInfo a signature |
spinButtonSetSnapToTicks :: (MonadIO m, SpinButtonK a) => a -> Bool -> m () Source
spinButtonSetUpdatePolicy
data SpinButtonSetUpdatePolicyMethodInfo Source
((~) * signature (SpinButtonUpdatePolicy -> m ()), MonadIO m, SpinButtonK a) => MethodInfo * SpinButtonSetUpdatePolicyMethodInfo a signature |
spinButtonSetUpdatePolicy :: (MonadIO m, SpinButtonK a) => a -> SpinButtonUpdatePolicy -> m () Source
spinButtonSetValue
data SpinButtonSetValueMethodInfo Source
((~) * signature (Double -> m ()), MonadIO m, SpinButtonK a) => MethodInfo * SpinButtonSetValueMethodInfo a signature |
spinButtonSetValue :: (MonadIO m, SpinButtonK a) => a -> Double -> m () Source
spinButtonSetWrap
data SpinButtonSetWrapMethodInfo Source
((~) * signature (Bool -> m ()), MonadIO m, SpinButtonK a) => MethodInfo * SpinButtonSetWrapMethodInfo a signature |
spinButtonSetWrap :: (MonadIO m, SpinButtonK a) => a -> Bool -> m () Source
spinButtonSpin
data SpinButtonSpinMethodInfo Source
((~) * signature (SpinType -> Double -> m ()), MonadIO m, SpinButtonK a) => MethodInfo * SpinButtonSpinMethodInfo a signature |
spinButtonSpin :: (MonadIO m, SpinButtonK a) => a -> SpinType -> Double -> m () Source
spinButtonUpdate
data SpinButtonUpdateMethodInfo Source
((~) * signature (m ()), MonadIO m, SpinButtonK a) => MethodInfo * SpinButtonUpdateMethodInfo a signature |
spinButtonUpdate :: (MonadIO m, SpinButtonK a) => a -> m () Source
Properties
Adjustment
data SpinButtonAdjustmentPropertyInfo Source
constructSpinButtonAdjustment :: AdjustmentK a => a -> IO ([Char], GValue) Source
getSpinButtonAdjustment :: (MonadIO m, SpinButtonK o) => o -> m Adjustment Source
setSpinButtonAdjustment :: (MonadIO m, SpinButtonK o, AdjustmentK a) => o -> a -> m () Source
spinButtonAdjustment :: AttrLabelProxy "adjustment" Source
ClimbRate
data SpinButtonClimbRatePropertyInfo Source
AttrInfo SpinButtonClimbRatePropertyInfo | |
type AttrLabel SpinButtonClimbRatePropertyInfo = "climb-rate" | |
type AttrGetType SpinButtonClimbRatePropertyInfo = Double | |
type AttrBaseTypeConstraint SpinButtonClimbRatePropertyInfo = SpinButtonK | |
type AttrSetTypeConstraint SpinButtonClimbRatePropertyInfo = * ~ Double | |
type AttrAllowedOps SpinButtonClimbRatePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getSpinButtonClimbRate :: (MonadIO m, SpinButtonK o) => o -> m Double Source
setSpinButtonClimbRate :: (MonadIO m, SpinButtonK o) => o -> Double -> m () Source
spinButtonClimbRate :: AttrLabelProxy "climbRate" Source
Digits
data SpinButtonDigitsPropertyInfo Source
AttrInfo SpinButtonDigitsPropertyInfo | |
type AttrLabel SpinButtonDigitsPropertyInfo = "digits" | |
type AttrGetType SpinButtonDigitsPropertyInfo = Word32 | |
type AttrBaseTypeConstraint SpinButtonDigitsPropertyInfo = SpinButtonK | |
type AttrSetTypeConstraint SpinButtonDigitsPropertyInfo = * ~ Word32 | |
type AttrAllowedOps SpinButtonDigitsPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getSpinButtonDigits :: (MonadIO m, SpinButtonK o) => o -> m Word32 Source
setSpinButtonDigits :: (MonadIO m, SpinButtonK o) => o -> Word32 -> m () Source
spinButtonDigits :: AttrLabelProxy "digits" Source
Numeric
data SpinButtonNumericPropertyInfo Source
AttrInfo SpinButtonNumericPropertyInfo | |
type AttrLabel SpinButtonNumericPropertyInfo = "numeric" | |
type AttrGetType SpinButtonNumericPropertyInfo = Bool | |
type AttrBaseTypeConstraint SpinButtonNumericPropertyInfo = SpinButtonK | |
type AttrSetTypeConstraint SpinButtonNumericPropertyInfo = * ~ Bool | |
type AttrAllowedOps SpinButtonNumericPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getSpinButtonNumeric :: (MonadIO m, SpinButtonK o) => o -> m Bool Source
setSpinButtonNumeric :: (MonadIO m, SpinButtonK o) => o -> Bool -> m () Source
spinButtonNumeric :: AttrLabelProxy "numeric" Source
SnapToTicks
data SpinButtonSnapToTicksPropertyInfo Source
AttrInfo SpinButtonSnapToTicksPropertyInfo | |
type AttrLabel SpinButtonSnapToTicksPropertyInfo = "snap-to-ticks" | |
type AttrGetType SpinButtonSnapToTicksPropertyInfo = Bool | |
type AttrBaseTypeConstraint SpinButtonSnapToTicksPropertyInfo = SpinButtonK | |
type AttrSetTypeConstraint SpinButtonSnapToTicksPropertyInfo = * ~ Bool | |
type AttrAllowedOps SpinButtonSnapToTicksPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getSpinButtonSnapToTicks :: (MonadIO m, SpinButtonK o) => o -> m Bool Source
setSpinButtonSnapToTicks :: (MonadIO m, SpinButtonK o) => o -> Bool -> m () Source
spinButtonSnapToTicks :: AttrLabelProxy "snapToTicks" Source
UpdatePolicy
data SpinButtonUpdatePolicyPropertyInfo Source
getSpinButtonUpdatePolicy :: (MonadIO m, SpinButtonK o) => o -> m SpinButtonUpdatePolicy Source
setSpinButtonUpdatePolicy :: (MonadIO m, SpinButtonK o) => o -> SpinButtonUpdatePolicy -> m () Source
spinButtonUpdatePolicy :: AttrLabelProxy "updatePolicy" Source
Value
data SpinButtonValuePropertyInfo Source
AttrInfo SpinButtonValuePropertyInfo | |
type AttrLabel SpinButtonValuePropertyInfo = "value" | |
type AttrGetType SpinButtonValuePropertyInfo = Double | |
type AttrBaseTypeConstraint SpinButtonValuePropertyInfo = SpinButtonK | |
type AttrSetTypeConstraint SpinButtonValuePropertyInfo = * ~ Double | |
type AttrAllowedOps SpinButtonValuePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getSpinButtonValue :: (MonadIO m, SpinButtonK o) => o -> m Double Source
setSpinButtonValue :: (MonadIO m, SpinButtonK o) => o -> Double -> m () Source
spinButtonValue :: AttrLabelProxy "value" Source
Wrap
data SpinButtonWrapPropertyInfo Source
AttrInfo SpinButtonWrapPropertyInfo | |
type AttrLabel SpinButtonWrapPropertyInfo = "wrap" | |
type AttrGetType SpinButtonWrapPropertyInfo = Bool | |
type AttrBaseTypeConstraint SpinButtonWrapPropertyInfo = SpinButtonK | |
type AttrSetTypeConstraint SpinButtonWrapPropertyInfo = * ~ Bool | |
type AttrAllowedOps SpinButtonWrapPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getSpinButtonWrap :: (MonadIO m, SpinButtonK o) => o -> m Bool Source
setSpinButtonWrap :: (MonadIO m, SpinButtonK o) => o -> Bool -> m () Source
spinButtonWrap :: AttrLabelProxy "wrap" Source
Signals
ChangeValue
type SpinButtonChangeValueCallback = ScrollType -> IO () Source
afterSpinButtonChangeValue :: (GObject a, MonadIO m) => a -> SpinButtonChangeValueCallback -> m SignalHandlerId Source
mkSpinButtonChangeValueCallback :: SpinButtonChangeValueCallbackC -> IO (FunPtr SpinButtonChangeValueCallbackC) Source
onSpinButtonChangeValue :: (GObject a, MonadIO m) => a -> SpinButtonChangeValueCallback -> m SignalHandlerId Source
spinButtonChangeValueCallbackWrapper :: SpinButtonChangeValueCallback -> Ptr () -> CUInt -> Ptr () -> IO () Source
Input
type SpinButtonInputCallback = IO (Int32, Double) Source
afterSpinButtonInput :: (GObject a, MonadIO m) => a -> SpinButtonInputCallback -> m SignalHandlerId Source
mkSpinButtonInputCallback :: SpinButtonInputCallbackC -> IO (FunPtr SpinButtonInputCallbackC) Source
onSpinButtonInput :: (GObject a, MonadIO m) => a -> SpinButtonInputCallback -> m SignalHandlerId Source
spinButtonInputCallbackWrapper :: SpinButtonInputCallback -> Ptr () -> Ptr CDouble -> Ptr () -> IO Int32 Source
Output
type SpinButtonOutputCallback = IO Bool Source
afterSpinButtonOutput :: (GObject a, MonadIO m) => a -> SpinButtonOutputCallback -> m SignalHandlerId Source
mkSpinButtonOutputCallback :: SpinButtonOutputCallbackC -> IO (FunPtr SpinButtonOutputCallbackC) Source
onSpinButtonOutput :: (GObject a, MonadIO m) => a -> SpinButtonOutputCallback -> m SignalHandlerId Source
spinButtonOutputCallbackWrapper :: SpinButtonOutputCallback -> Ptr () -> Ptr () -> IO CInt Source
ValueChanged
type SpinButtonValueChangedCallback = IO () Source
type SpinButtonValueChangedCallbackC = Ptr () -> Ptr () -> IO () Source
afterSpinButtonValueChanged :: (GObject a, MonadIO m) => a -> SpinButtonValueChangedCallback -> m SignalHandlerId Source
mkSpinButtonValueChangedCallback :: SpinButtonValueChangedCallbackC -> IO (FunPtr SpinButtonValueChangedCallbackC) Source
onSpinButtonValueChanged :: (GObject a, MonadIO m) => a -> SpinButtonValueChangedCallback -> m SignalHandlerId Source
spinButtonValueChangedCallbackWrapper :: SpinButtonValueChangedCallback -> Ptr () -> Ptr () -> IO () Source
Wrapped
type SpinButtonWrappedCallback = IO () Source
type SpinButtonWrappedCallbackC = Ptr () -> Ptr () -> IO () Source
afterSpinButtonWrapped :: (GObject a, MonadIO m) => a -> SpinButtonWrappedCallback -> m SignalHandlerId Source
mkSpinButtonWrappedCallback :: SpinButtonWrappedCallbackC -> IO (FunPtr SpinButtonWrappedCallbackC) Source
onSpinButtonWrapped :: (GObject a, MonadIO m) => a -> SpinButtonWrappedCallback -> m SignalHandlerId Source
spinButtonWrappedCallbackWrapper :: SpinButtonWrappedCallback -> Ptr () -> Ptr () -> IO () Source