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 CheckMenuItem = CheckMenuItem (ForeignPtr CheckMenuItem)
- class GObject o => CheckMenuItemK o
- toCheckMenuItem :: CheckMenuItemK o => o -> IO CheckMenuItem
- noCheckMenuItem :: Maybe CheckMenuItem
- checkMenuItemGetActive :: (MonadIO m, CheckMenuItemK a) => a -> m Bool
- checkMenuItemGetDrawAsRadio :: (MonadIO m, CheckMenuItemK a) => a -> m Bool
- checkMenuItemGetInconsistent :: (MonadIO m, CheckMenuItemK a) => a -> m Bool
- checkMenuItemNew :: MonadIO m => m CheckMenuItem
- checkMenuItemNewWithLabel :: MonadIO m => Text -> m CheckMenuItem
- checkMenuItemNewWithMnemonic :: MonadIO m => Text -> m CheckMenuItem
- checkMenuItemSetActive :: (MonadIO m, CheckMenuItemK a) => a -> Bool -> m ()
- checkMenuItemSetDrawAsRadio :: (MonadIO m, CheckMenuItemK a) => a -> Bool -> m ()
- checkMenuItemSetInconsistent :: (MonadIO m, CheckMenuItemK a) => a -> Bool -> m ()
- checkMenuItemToggled :: (MonadIO m, CheckMenuItemK a) => a -> m ()
- data CheckMenuItemActivePropertyInfo
- constructCheckMenuItemActive :: Bool -> IO ([Char], GValue)
- getCheckMenuItemActive :: (MonadIO m, CheckMenuItemK o) => o -> m Bool
- setCheckMenuItemActive :: (MonadIO m, CheckMenuItemK o) => o -> Bool -> m ()
- data CheckMenuItemDrawAsRadioPropertyInfo
- constructCheckMenuItemDrawAsRadio :: Bool -> IO ([Char], GValue)
- getCheckMenuItemDrawAsRadio :: (MonadIO m, CheckMenuItemK o) => o -> m Bool
- setCheckMenuItemDrawAsRadio :: (MonadIO m, CheckMenuItemK o) => o -> Bool -> m ()
- data CheckMenuItemInconsistentPropertyInfo
- constructCheckMenuItemInconsistent :: Bool -> IO ([Char], GValue)
- getCheckMenuItemInconsistent :: (MonadIO m, CheckMenuItemK o) => o -> m Bool
- setCheckMenuItemInconsistent :: (MonadIO m, CheckMenuItemK o) => o -> Bool -> m ()
- type CheckMenuItemToggledCallback = IO ()
- type CheckMenuItemToggledCallbackC = Ptr () -> Ptr () -> IO ()
- data CheckMenuItemToggledSignalInfo
- afterCheckMenuItemToggled :: (GObject a, MonadIO m) => a -> CheckMenuItemToggledCallback -> m SignalHandlerId
- checkMenuItemToggledCallbackWrapper :: CheckMenuItemToggledCallback -> Ptr () -> Ptr () -> IO ()
- checkMenuItemToggledClosure :: CheckMenuItemToggledCallback -> IO Closure
- mkCheckMenuItemToggledCallback :: CheckMenuItemToggledCallbackC -> IO (FunPtr CheckMenuItemToggledCallbackC)
- noCheckMenuItemToggledCallback :: Maybe CheckMenuItemToggledCallback
- onCheckMenuItemToggled :: (GObject a, MonadIO m) => a -> CheckMenuItemToggledCallback -> m SignalHandlerId
Exported types
newtype CheckMenuItem Source
class GObject o => CheckMenuItemK o Source
(GObject o, IsDescendantOf CheckMenuItem o) => CheckMenuItemK o |
toCheckMenuItem :: CheckMenuItemK o => o -> IO CheckMenuItem Source
Methods
checkMenuItemGetActive
checkMenuItemGetActive :: (MonadIO m, CheckMenuItemK a) => a -> m Bool Source
checkMenuItemGetDrawAsRadio
checkMenuItemGetDrawAsRadio :: (MonadIO m, CheckMenuItemK a) => a -> m Bool Source
checkMenuItemGetInconsistent
checkMenuItemGetInconsistent :: (MonadIO m, CheckMenuItemK a) => a -> m Bool Source
checkMenuItemNew
checkMenuItemNew :: MonadIO m => m CheckMenuItem Source
checkMenuItemNewWithLabel
checkMenuItemNewWithLabel :: MonadIO m => Text -> m CheckMenuItem Source
checkMenuItemNewWithMnemonic
checkMenuItemNewWithMnemonic :: MonadIO m => Text -> m CheckMenuItem Source
checkMenuItemSetActive
checkMenuItemSetActive :: (MonadIO m, CheckMenuItemK a) => a -> Bool -> m () Source
checkMenuItemSetDrawAsRadio
checkMenuItemSetDrawAsRadio :: (MonadIO m, CheckMenuItemK a) => a -> Bool -> m () Source
checkMenuItemSetInconsistent
checkMenuItemSetInconsistent :: (MonadIO m, CheckMenuItemK a) => a -> Bool -> m () Source
checkMenuItemToggled
checkMenuItemToggled :: (MonadIO m, CheckMenuItemK a) => a -> m () Source
Properties
Active
data CheckMenuItemActivePropertyInfo Source
AttrInfo CheckMenuItemActivePropertyInfo | |
type AttrLabel CheckMenuItemActivePropertyInfo = "CheckMenuItem::active" | |
type AttrGetType CheckMenuItemActivePropertyInfo = Bool | |
type AttrBaseTypeConstraint CheckMenuItemActivePropertyInfo = CheckMenuItemK | |
type AttrSetTypeConstraint CheckMenuItemActivePropertyInfo = * ~ Bool | |
type AttrAllowedOps CheckMenuItemActivePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getCheckMenuItemActive :: (MonadIO m, CheckMenuItemK o) => o -> m Bool Source
setCheckMenuItemActive :: (MonadIO m, CheckMenuItemK o) => o -> Bool -> m () Source
DrawAsRadio
data CheckMenuItemDrawAsRadioPropertyInfo Source
AttrInfo CheckMenuItemDrawAsRadioPropertyInfo | |
type AttrLabel CheckMenuItemDrawAsRadioPropertyInfo = "CheckMenuItem::draw-as-radio" | |
type AttrGetType CheckMenuItemDrawAsRadioPropertyInfo = Bool | |
type AttrBaseTypeConstraint CheckMenuItemDrawAsRadioPropertyInfo = CheckMenuItemK | |
type AttrSetTypeConstraint CheckMenuItemDrawAsRadioPropertyInfo = * ~ Bool | |
type AttrAllowedOps CheckMenuItemDrawAsRadioPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getCheckMenuItemDrawAsRadio :: (MonadIO m, CheckMenuItemK o) => o -> m Bool Source
setCheckMenuItemDrawAsRadio :: (MonadIO m, CheckMenuItemK o) => o -> Bool -> m () Source
Inconsistent
data CheckMenuItemInconsistentPropertyInfo Source
AttrInfo CheckMenuItemInconsistentPropertyInfo | |
type AttrLabel CheckMenuItemInconsistentPropertyInfo = "CheckMenuItem::inconsistent" | |
type AttrGetType CheckMenuItemInconsistentPropertyInfo = Bool | |
type AttrBaseTypeConstraint CheckMenuItemInconsistentPropertyInfo = CheckMenuItemK | |
type AttrSetTypeConstraint CheckMenuItemInconsistentPropertyInfo = * ~ Bool | |
type AttrAllowedOps CheckMenuItemInconsistentPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getCheckMenuItemInconsistent :: (MonadIO m, CheckMenuItemK o) => o -> m Bool Source
setCheckMenuItemInconsistent :: (MonadIO m, CheckMenuItemK o) => o -> Bool -> m () Source
Signals
Toggled
type CheckMenuItemToggledCallback = IO () Source
type CheckMenuItemToggledCallbackC = Ptr () -> Ptr () -> IO () Source
afterCheckMenuItemToggled :: (GObject a, MonadIO m) => a -> CheckMenuItemToggledCallback -> m SignalHandlerId Source
checkMenuItemToggledCallbackWrapper :: CheckMenuItemToggledCallback -> Ptr () -> Ptr () -> IO () Source
mkCheckMenuItemToggledCallback :: CheckMenuItemToggledCallbackC -> IO (FunPtr CheckMenuItemToggledCallbackC) Source
onCheckMenuItemToggled :: (GObject a, MonadIO m) => a -> CheckMenuItemToggledCallback -> m SignalHandlerId Source