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 RadioAction = RadioAction (ForeignPtr RadioAction)
- class GObject o => RadioActionK o
- toRadioAction :: RadioActionK o => o -> IO RadioAction
- noRadioAction :: Maybe RadioAction
- radioActionGetCurrentValue :: (MonadIO m, RadioActionK a) => a -> m Int32
- radioActionGetGroup :: (MonadIO m, RadioActionK a) => a -> m [RadioAction]
- radioActionJoinGroup :: (MonadIO m, RadioActionK a, RadioActionK b) => a -> Maybe b -> m ()
- radioActionNew :: MonadIO m => Text -> Maybe Text -> Maybe Text -> Maybe Text -> Int32 -> m RadioAction
- radioActionSetCurrentValue :: (MonadIO m, RadioActionK a) => a -> Int32 -> m ()
- radioActionSetGroup :: (MonadIO m, RadioActionK a, RadioActionK b) => a -> [b] -> m ()
- data RadioActionCurrentValuePropertyInfo
- constructRadioActionCurrentValue :: Int32 -> IO ([Char], GValue)
- getRadioActionCurrentValue :: (MonadIO m, RadioActionK o) => o -> m Int32
- setRadioActionCurrentValue :: (MonadIO m, RadioActionK o) => o -> Int32 -> m ()
- data RadioActionGroupPropertyInfo
- constructRadioActionGroup :: RadioActionK a => a -> IO ([Char], GValue)
- setRadioActionGroup :: (MonadIO m, RadioActionK o, RadioActionK a) => o -> a -> m ()
- data RadioActionValuePropertyInfo
- constructRadioActionValue :: Int32 -> IO ([Char], GValue)
- getRadioActionValue :: (MonadIO m, RadioActionK o) => o -> m Int32
- setRadioActionValue :: (MonadIO m, RadioActionK o) => o -> Int32 -> m ()
- type RadioActionChangedCallback = RadioAction -> IO ()
- type RadioActionChangedCallbackC = Ptr () -> Ptr RadioAction -> Ptr () -> IO ()
- data RadioActionChangedSignalInfo
- afterRadioActionChanged :: (GObject a, MonadIO m) => a -> RadioActionChangedCallback -> m SignalHandlerId
- mkRadioActionChangedCallback :: RadioActionChangedCallbackC -> IO (FunPtr RadioActionChangedCallbackC)
- noRadioActionChangedCallback :: Maybe RadioActionChangedCallback
- onRadioActionChanged :: (GObject a, MonadIO m) => a -> RadioActionChangedCallback -> m SignalHandlerId
- radioActionChangedCallbackWrapper :: RadioActionChangedCallback -> Ptr () -> Ptr RadioAction -> Ptr () -> IO ()
- radioActionChangedClosure :: RadioActionChangedCallback -> IO Closure
Exported types
newtype RadioAction Source
class GObject o => RadioActionK o Source
(GObject o, IsDescendantOf RadioAction o) => RadioActionK o Source |
toRadioAction :: RadioActionK o => o -> IO RadioAction Source
Methods
radioActionGetCurrentValue
radioActionGetCurrentValue :: (MonadIO m, RadioActionK a) => a -> m Int32 Source
Deprecated: (Since version 3.10)
radioActionGetGroup
radioActionGetGroup :: (MonadIO m, RadioActionK a) => a -> m [RadioAction] Source
Deprecated: (Since version 3.10)
radioActionJoinGroup
radioActionJoinGroup :: (MonadIO m, RadioActionK a, RadioActionK b) => a -> Maybe b -> m () Source
Deprecated: (Since version 3.10)
radioActionNew
radioActionNew :: MonadIO m => Text -> Maybe Text -> Maybe Text -> Maybe Text -> Int32 -> m RadioAction Source
Deprecated: (Since version 3.10)
radioActionSetCurrentValue
radioActionSetCurrentValue :: (MonadIO m, RadioActionK a) => a -> Int32 -> m () Source
Deprecated: (Since version 3.10)
radioActionSetGroup
radioActionSetGroup :: (MonadIO m, RadioActionK a, RadioActionK b) => a -> [b] -> m () Source
Deprecated: (Since version 3.10)
Properties
CurrentValue
data RadioActionCurrentValuePropertyInfo Source
AttrInfo RadioActionCurrentValuePropertyInfo Source | |
type AttrLabel RadioActionCurrentValuePropertyInfo = "RadioAction::current-value" Source | |
type AttrGetType RadioActionCurrentValuePropertyInfo = Int32 Source | |
type AttrBaseTypeConstraint RadioActionCurrentValuePropertyInfo = RadioActionK Source | |
type AttrSetTypeConstraint RadioActionCurrentValuePropertyInfo = * ~ Int32 Source | |
type AttrAllowedOps RadioActionCurrentValuePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getRadioActionCurrentValue :: (MonadIO m, RadioActionK o) => o -> m Int32 Source
setRadioActionCurrentValue :: (MonadIO m, RadioActionK o) => o -> Int32 -> m () Source
Group
data RadioActionGroupPropertyInfo Source
AttrInfo RadioActionGroupPropertyInfo Source | |
type AttrLabel RadioActionGroupPropertyInfo = "RadioAction::group" Source | |
type AttrGetType RadioActionGroupPropertyInfo = () Source | |
type AttrBaseTypeConstraint RadioActionGroupPropertyInfo = RadioActionK Source | |
type AttrSetTypeConstraint RadioActionGroupPropertyInfo = RadioActionK Source | |
type AttrAllowedOps RadioActionGroupPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ([] AttrOpTag)) Source |
constructRadioActionGroup :: RadioActionK a => a -> IO ([Char], GValue) Source
setRadioActionGroup :: (MonadIO m, RadioActionK o, RadioActionK a) => o -> a -> m () Source
Value
data RadioActionValuePropertyInfo Source
AttrInfo RadioActionValuePropertyInfo Source | |
type AttrLabel RadioActionValuePropertyInfo = "RadioAction::value" Source | |
type AttrGetType RadioActionValuePropertyInfo = Int32 Source | |
type AttrBaseTypeConstraint RadioActionValuePropertyInfo = RadioActionK Source | |
type AttrSetTypeConstraint RadioActionValuePropertyInfo = * ~ Int32 Source | |
type AttrAllowedOps RadioActionValuePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getRadioActionValue :: (MonadIO m, RadioActionK o) => o -> m Int32 Source
setRadioActionValue :: (MonadIO m, RadioActionK o) => o -> Int32 -> m () Source
Signals
Changed
type RadioActionChangedCallback = RadioAction -> IO () Source
type RadioActionChangedCallbackC = Ptr () -> Ptr RadioAction -> Ptr () -> IO () Source
afterRadioActionChanged :: (GObject a, MonadIO m) => a -> RadioActionChangedCallback -> m SignalHandlerId Source
mkRadioActionChangedCallback :: RadioActionChangedCallbackC -> IO (FunPtr RadioActionChangedCallbackC) Source
onRadioActionChanged :: (GObject a, MonadIO m) => a -> RadioActionChangedCallback -> m SignalHandlerId Source
radioActionChangedCallbackWrapper :: RadioActionChangedCallback -> Ptr () -> Ptr RadioAction -> Ptr () -> IO () Source