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 Popover = Popover (ForeignPtr Popover)
- class GObject o => PopoverK o
- toPopover :: PopoverK o => o -> IO Popover
- noPopover :: Maybe Popover
- data PopoverBindModelMethodInfo
- popoverBindModel :: (MonadIO m, PopoverK a, MenuModelK b) => a -> Maybe b -> Maybe Text -> m ()
- data PopoverGetDefaultWidgetMethodInfo
- popoverGetDefaultWidget :: (MonadIO m, PopoverK a) => a -> m Widget
- data PopoverGetModalMethodInfo
- popoverGetModal :: (MonadIO m, PopoverK a) => a -> m Bool
- data PopoverGetPointingToMethodInfo
- popoverGetPointingTo :: (MonadIO m, PopoverK a) => a -> m (Bool, Rectangle)
- data PopoverGetPositionMethodInfo
- popoverGetPosition :: (MonadIO m, PopoverK a) => a -> m PositionType
- data PopoverGetRelativeToMethodInfo
- popoverGetRelativeTo :: (MonadIO m, PopoverK a) => a -> m Widget
- data PopoverGetTransitionsEnabledMethodInfo
- popoverGetTransitionsEnabled :: (MonadIO m, PopoverK a) => a -> m Bool
- popoverNew :: (MonadIO m, WidgetK a) => Maybe a -> m Popover
- popoverNewFromModel :: (MonadIO m, WidgetK a, MenuModelK b) => Maybe a -> b -> m Popover
- data PopoverSetDefaultWidgetMethodInfo
- popoverSetDefaultWidget :: (MonadIO m, PopoverK a, WidgetK b) => a -> Maybe b -> m ()
- data PopoverSetModalMethodInfo
- popoverSetModal :: (MonadIO m, PopoverK a) => a -> Bool -> m ()
- data PopoverSetPointingToMethodInfo
- popoverSetPointingTo :: (MonadIO m, PopoverK a) => a -> Rectangle -> m ()
- data PopoverSetPositionMethodInfo
- popoverSetPosition :: (MonadIO m, PopoverK a) => a -> PositionType -> m ()
- data PopoverSetRelativeToMethodInfo
- popoverSetRelativeTo :: (MonadIO m, PopoverK a, WidgetK b) => a -> Maybe b -> m ()
- data PopoverSetTransitionsEnabledMethodInfo
- popoverSetTransitionsEnabled :: (MonadIO m, PopoverK a) => a -> Bool -> m ()
- data PopoverModalPropertyInfo
- constructPopoverModal :: Bool -> IO ([Char], GValue)
- getPopoverModal :: (MonadIO m, PopoverK o) => o -> m Bool
- setPopoverModal :: (MonadIO m, PopoverK o) => o -> Bool -> m ()
- data PopoverPointingToPropertyInfo
- constructPopoverPointingTo :: Rectangle -> IO ([Char], GValue)
- getPopoverPointingTo :: (MonadIO m, PopoverK o) => o -> m Rectangle
- setPopoverPointingTo :: (MonadIO m, PopoverK o) => o -> Rectangle -> m ()
- data PopoverPositionPropertyInfo
- constructPopoverPosition :: PositionType -> IO ([Char], GValue)
- getPopoverPosition :: (MonadIO m, PopoverK o) => o -> m PositionType
- setPopoverPosition :: (MonadIO m, PopoverK o) => o -> PositionType -> m ()
- data PopoverRelativeToPropertyInfo
- constructPopoverRelativeTo :: WidgetK a => a -> IO ([Char], GValue)
- getPopoverRelativeTo :: (MonadIO m, PopoverK o) => o -> m Widget
- setPopoverRelativeTo :: (MonadIO m, PopoverK o, WidgetK a) => o -> a -> m ()
- data PopoverTransitionsEnabledPropertyInfo
- constructPopoverTransitionsEnabled :: Bool -> IO ([Char], GValue)
- getPopoverTransitionsEnabled :: (MonadIO m, PopoverK o) => o -> m Bool
- setPopoverTransitionsEnabled :: (MonadIO m, PopoverK o) => o -> Bool -> m ()
- type PopoverClosedCallback = IO ()
- type PopoverClosedCallbackC = Ptr () -> Ptr () -> IO ()
- data PopoverClosedSignalInfo
- afterPopoverClosed :: (GObject a, MonadIO m) => a -> PopoverClosedCallback -> m SignalHandlerId
- mkPopoverClosedCallback :: PopoverClosedCallbackC -> IO (FunPtr PopoverClosedCallbackC)
- noPopoverClosedCallback :: Maybe PopoverClosedCallback
- onPopoverClosed :: (GObject a, MonadIO m) => a -> PopoverClosedCallback -> m SignalHandlerId
- popoverClosedCallbackWrapper :: PopoverClosedCallback -> Ptr () -> Ptr () -> IO ()
- popoverClosedClosure :: PopoverClosedCallback -> IO Closure
Exported types
GObject Popover Source | |
((~) * info (ResolvePopoverMethod t Popover), MethodInfo * info Popover p) => IsLabel t (Popover -> p) Source | |
((~) * info (ResolvePopoverMethod t Popover), MethodInfo * info Popover p) => IsLabelProxy t (Popover -> p) Source | |
type ParentTypes Popover Source | |
type AttributeList Popover Source | |
type SignalList Popover Source |
Methods
popoverBindModel
popoverBindModel :: (MonadIO m, PopoverK a, MenuModelK b) => a -> Maybe b -> Maybe Text -> m () Source
popoverGetDefaultWidget
data PopoverGetDefaultWidgetMethodInfo Source
((~) (TYPE Lifted) signature (m Widget), MonadIO m, PopoverK a) => MethodInfo (TYPE Lifted) PopoverGetDefaultWidgetMethodInfo a signature Source | |
popoverGetDefaultWidget :: (MonadIO m, PopoverK a) => a -> m Widget Source
popoverGetModal
data PopoverGetModalMethodInfo Source
((~) (TYPE Lifted) signature (m Bool), MonadIO m, PopoverK a) => MethodInfo (TYPE Lifted) PopoverGetModalMethodInfo a signature Source | |
popoverGetModal :: (MonadIO m, PopoverK a) => a -> m Bool Source
popoverGetPointingTo
data PopoverGetPointingToMethodInfo Source
((~) (TYPE Lifted) signature (m (Bool, Rectangle)), MonadIO m, PopoverK a) => MethodInfo (TYPE Lifted) PopoverGetPointingToMethodInfo a signature Source | |
popoverGetPointingTo :: (MonadIO m, PopoverK a) => a -> m (Bool, Rectangle) Source
popoverGetPosition
data PopoverGetPositionMethodInfo Source
((~) (TYPE Lifted) signature (m PositionType), MonadIO m, PopoverK a) => MethodInfo (TYPE Lifted) PopoverGetPositionMethodInfo a signature Source | |
popoverGetPosition :: (MonadIO m, PopoverK a) => a -> m PositionType Source
popoverGetRelativeTo
data PopoverGetRelativeToMethodInfo Source
((~) (TYPE Lifted) signature (m Widget), MonadIO m, PopoverK a) => MethodInfo (TYPE Lifted) PopoverGetRelativeToMethodInfo a signature Source | |
popoverGetRelativeTo :: (MonadIO m, PopoverK a) => a -> m Widget Source
popoverGetTransitionsEnabled
data PopoverGetTransitionsEnabledMethodInfo Source
((~) (TYPE Lifted) signature (m Bool), MonadIO m, PopoverK a) => MethodInfo (TYPE Lifted) PopoverGetTransitionsEnabledMethodInfo a signature Source | |
popoverGetTransitionsEnabled :: (MonadIO m, PopoverK a) => a -> m Bool Source
popoverNew
popoverNewFromModel
popoverSetDefaultWidget
popoverSetModal
data PopoverSetModalMethodInfo Source
((~) (TYPE Lifted) signature (Bool -> m ()), MonadIO m, PopoverK a) => MethodInfo (TYPE Lifted) PopoverSetModalMethodInfo a signature Source | |
popoverSetModal :: (MonadIO m, PopoverK a) => a -> Bool -> m () Source
popoverSetPointingTo
data PopoverSetPointingToMethodInfo Source
((~) (TYPE Lifted) signature (Rectangle -> m ()), MonadIO m, PopoverK a) => MethodInfo (TYPE Lifted) PopoverSetPointingToMethodInfo a signature Source | |
popoverSetPointingTo :: (MonadIO m, PopoverK a) => a -> Rectangle -> m () Source
popoverSetPosition
data PopoverSetPositionMethodInfo Source
((~) (TYPE Lifted) signature (PositionType -> m ()), MonadIO m, PopoverK a) => MethodInfo (TYPE Lifted) PopoverSetPositionMethodInfo a signature Source | |
popoverSetPosition :: (MonadIO m, PopoverK a) => a -> PositionType -> m () Source
popoverSetRelativeTo
popoverSetTransitionsEnabled
data PopoverSetTransitionsEnabledMethodInfo Source
((~) (TYPE Lifted) signature (Bool -> m ()), MonadIO m, PopoverK a) => MethodInfo (TYPE Lifted) PopoverSetTransitionsEnabledMethodInfo a signature Source | |
popoverSetTransitionsEnabled :: (MonadIO m, PopoverK a) => a -> Bool -> m () Source
Properties
Modal
data PopoverModalPropertyInfo Source
AttrInfo PopoverModalPropertyInfo Source | |
type AttrLabel PopoverModalPropertyInfo = "modal" Source | |
type AttrGetType PopoverModalPropertyInfo = Bool Source | |
type AttrBaseTypeConstraint PopoverModalPropertyInfo = PopoverK Source | |
type AttrSetTypeConstraint PopoverModalPropertyInfo = TYPE Lifted ~ Bool Source | |
type AttrAllowedOps PopoverModalPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getPopoverModal :: (MonadIO m, PopoverK o) => o -> m Bool Source
setPopoverModal :: (MonadIO m, PopoverK o) => o -> Bool -> m () Source
PointingTo
data PopoverPointingToPropertyInfo Source
AttrInfo PopoverPointingToPropertyInfo Source | |
type AttrLabel PopoverPointingToPropertyInfo = "pointing-to" Source | |
type AttrGetType PopoverPointingToPropertyInfo = Rectangle Source | |
type AttrBaseTypeConstraint PopoverPointingToPropertyInfo = PopoverK Source | |
type AttrSetTypeConstraint PopoverPointingToPropertyInfo = TYPE Lifted ~ Rectangle Source | |
type AttrAllowedOps PopoverPointingToPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
constructPopoverPointingTo :: Rectangle -> IO ([Char], GValue) Source
getPopoverPointingTo :: (MonadIO m, PopoverK o) => o -> m Rectangle Source
setPopoverPointingTo :: (MonadIO m, PopoverK o) => o -> Rectangle -> m () Source
Position
data PopoverPositionPropertyInfo Source
AttrInfo PopoverPositionPropertyInfo Source | |
type AttrLabel PopoverPositionPropertyInfo = "position" Source | |
type AttrGetType PopoverPositionPropertyInfo = PositionType Source | |
type AttrBaseTypeConstraint PopoverPositionPropertyInfo = PopoverK Source | |
type AttrSetTypeConstraint PopoverPositionPropertyInfo = TYPE Lifted ~ PositionType Source | |
type AttrAllowedOps PopoverPositionPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
constructPopoverPosition :: PositionType -> IO ([Char], GValue) Source
getPopoverPosition :: (MonadIO m, PopoverK o) => o -> m PositionType Source
setPopoverPosition :: (MonadIO m, PopoverK o) => o -> PositionType -> m () Source
RelativeTo
data PopoverRelativeToPropertyInfo Source
AttrInfo PopoverRelativeToPropertyInfo Source | |
type AttrLabel PopoverRelativeToPropertyInfo = "relative-to" Source | |
type AttrGetType PopoverRelativeToPropertyInfo = Widget Source | |
type AttrBaseTypeConstraint PopoverRelativeToPropertyInfo = PopoverK Source | |
type AttrSetTypeConstraint PopoverRelativeToPropertyInfo = WidgetK Source | |
type AttrAllowedOps PopoverRelativeToPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getPopoverRelativeTo :: (MonadIO m, PopoverK o) => o -> m Widget Source
setPopoverRelativeTo :: (MonadIO m, PopoverK o, WidgetK a) => o -> a -> m () Source
TransitionsEnabled
data PopoverTransitionsEnabledPropertyInfo Source
AttrInfo PopoverTransitionsEnabledPropertyInfo Source | |
type AttrLabel PopoverTransitionsEnabledPropertyInfo = "transitions-enabled" Source | |
type AttrGetType PopoverTransitionsEnabledPropertyInfo = Bool Source | |
type AttrBaseTypeConstraint PopoverTransitionsEnabledPropertyInfo = PopoverK Source | |
type AttrSetTypeConstraint PopoverTransitionsEnabledPropertyInfo = TYPE Lifted ~ Bool Source | |
type AttrAllowedOps PopoverTransitionsEnabledPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getPopoverTransitionsEnabled :: (MonadIO m, PopoverK o) => o -> m Bool Source
setPopoverTransitionsEnabled :: (MonadIO m, PopoverK o) => o -> Bool -> m () Source
Signals
Closed
type PopoverClosedCallback = IO () Source
type PopoverClosedCallbackC = Ptr () -> Ptr () -> IO () Source
afterPopoverClosed :: (GObject a, MonadIO m) => a -> PopoverClosedCallback -> m SignalHandlerId Source
onPopoverClosed :: (GObject a, MonadIO m) => a -> PopoverClosedCallback -> m SignalHandlerId Source
popoverClosedCallbackWrapper :: PopoverClosedCallback -> Ptr () -> Ptr () -> IO () Source