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 LinkButton = LinkButton (ForeignPtr LinkButton)
- class GObject o => LinkButtonK o
- toLinkButton :: LinkButtonK o => o -> IO LinkButton
- noLinkButton :: Maybe LinkButton
- data LinkButtonGetUriMethodInfo
- linkButtonGetUri :: (MonadIO m, LinkButtonK a) => a -> m Text
- data LinkButtonGetVisitedMethodInfo
- linkButtonGetVisited :: (MonadIO m, LinkButtonK a) => a -> m Bool
- linkButtonNew :: MonadIO m => Text -> m LinkButton
- linkButtonNewWithLabel :: MonadIO m => Text -> Maybe Text -> m LinkButton
- data LinkButtonSetUriMethodInfo
- linkButtonSetUri :: (MonadIO m, LinkButtonK a) => a -> Text -> m ()
- data LinkButtonSetVisitedMethodInfo
- linkButtonSetVisited :: (MonadIO m, LinkButtonK a) => a -> Bool -> m ()
- data LinkButtonUriPropertyInfo
- constructLinkButtonUri :: Text -> IO ([Char], GValue)
- getLinkButtonUri :: (MonadIO m, LinkButtonK o) => o -> m Text
- linkButtonUri :: AttrLabelProxy "uri"
- setLinkButtonUri :: (MonadIO m, LinkButtonK o) => o -> Text -> m ()
- data LinkButtonVisitedPropertyInfo
- constructLinkButtonVisited :: Bool -> IO ([Char], GValue)
- getLinkButtonVisited :: (MonadIO m, LinkButtonK o) => o -> m Bool
- linkButtonVisited :: AttrLabelProxy "visited"
- setLinkButtonVisited :: (MonadIO m, LinkButtonK o) => o -> Bool -> m ()
- type LinkButtonActivateLinkCallback = IO Bool
- type LinkButtonActivateLinkCallbackC = Ptr () -> Ptr () -> IO CInt
- data LinkButtonActivateLinkSignalInfo
- afterLinkButtonActivateLink :: (GObject a, MonadIO m) => a -> LinkButtonActivateLinkCallback -> m SignalHandlerId
- linkButtonActivateLinkCallbackWrapper :: LinkButtonActivateLinkCallback -> Ptr () -> Ptr () -> IO CInt
- linkButtonActivateLinkClosure :: LinkButtonActivateLinkCallback -> IO Closure
- mkLinkButtonActivateLinkCallback :: LinkButtonActivateLinkCallbackC -> IO (FunPtr LinkButtonActivateLinkCallbackC)
- noLinkButtonActivateLinkCallback :: Maybe LinkButtonActivateLinkCallback
- onLinkButtonActivateLink :: (GObject a, MonadIO m) => a -> LinkButtonActivateLinkCallback -> m SignalHandlerId
Exported types
newtype LinkButton Source
GObject LinkButton | |
((~) * info (ResolveLinkButtonMethod t LinkButton), MethodInfo * info LinkButton p) => IsLabelProxy t (LinkButton -> p) | |
type ParentTypes LinkButton | |
type AttributeList LinkButton | |
type SignalList LinkButton |
class GObject o => LinkButtonK o Source
(GObject o, IsDescendantOf LinkButton o) => LinkButtonK o |
toLinkButton :: LinkButtonK o => o -> IO LinkButton Source
Methods
linkButtonGetUri
data LinkButtonGetUriMethodInfo Source
((~) * signature (m Text), MonadIO m, LinkButtonK a) => MethodInfo * LinkButtonGetUriMethodInfo a signature |
linkButtonGetUri :: (MonadIO m, LinkButtonK a) => a -> m Text Source
linkButtonGetVisited
data LinkButtonGetVisitedMethodInfo Source
((~) * signature (m Bool), MonadIO m, LinkButtonK a) => MethodInfo * LinkButtonGetVisitedMethodInfo a signature |
linkButtonGetVisited :: (MonadIO m, LinkButtonK a) => a -> m Bool Source
linkButtonNew
linkButtonNew :: MonadIO m => Text -> m LinkButton Source
linkButtonNewWithLabel
linkButtonNewWithLabel :: MonadIO m => Text -> Maybe Text -> m LinkButton Source
linkButtonSetUri
data LinkButtonSetUriMethodInfo Source
((~) * signature (Text -> m ()), MonadIO m, LinkButtonK a) => MethodInfo * LinkButtonSetUriMethodInfo a signature |
linkButtonSetUri :: (MonadIO m, LinkButtonK a) => a -> Text -> m () Source
linkButtonSetVisited
data LinkButtonSetVisitedMethodInfo Source
((~) * signature (Bool -> m ()), MonadIO m, LinkButtonK a) => MethodInfo * LinkButtonSetVisitedMethodInfo a signature |
linkButtonSetVisited :: (MonadIO m, LinkButtonK a) => a -> Bool -> m () Source
Properties
Uri
data LinkButtonUriPropertyInfo Source
AttrInfo LinkButtonUriPropertyInfo | |
type AttrLabel LinkButtonUriPropertyInfo = "uri" | |
type AttrGetType LinkButtonUriPropertyInfo = Text | |
type AttrBaseTypeConstraint LinkButtonUriPropertyInfo = LinkButtonK | |
type AttrSetTypeConstraint LinkButtonUriPropertyInfo = * ~ Text | |
type AttrAllowedOps LinkButtonUriPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getLinkButtonUri :: (MonadIO m, LinkButtonK o) => o -> m Text Source
linkButtonUri :: AttrLabelProxy "uri" Source
setLinkButtonUri :: (MonadIO m, LinkButtonK o) => o -> Text -> m () Source
Visited
data LinkButtonVisitedPropertyInfo Source
AttrInfo LinkButtonVisitedPropertyInfo | |
type AttrLabel LinkButtonVisitedPropertyInfo = "visited" | |
type AttrGetType LinkButtonVisitedPropertyInfo = Bool | |
type AttrBaseTypeConstraint LinkButtonVisitedPropertyInfo = LinkButtonK | |
type AttrSetTypeConstraint LinkButtonVisitedPropertyInfo = * ~ Bool | |
type AttrAllowedOps LinkButtonVisitedPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getLinkButtonVisited :: (MonadIO m, LinkButtonK o) => o -> m Bool Source
linkButtonVisited :: AttrLabelProxy "visited" Source
setLinkButtonVisited :: (MonadIO m, LinkButtonK o) => o -> Bool -> m () Source
Signals
ActivateLink
afterLinkButtonActivateLink :: (GObject a, MonadIO m) => a -> LinkButtonActivateLinkCallback -> m SignalHandlerId Source
linkButtonActivateLinkCallbackWrapper :: LinkButtonActivateLinkCallback -> Ptr () -> Ptr () -> IO CInt Source
mkLinkButtonActivateLinkCallback :: LinkButtonActivateLinkCallbackC -> IO (FunPtr LinkButtonActivateLinkCallbackC) Source
onLinkButtonActivateLink :: (GObject a, MonadIO m) => a -> LinkButtonActivateLinkCallback -> m SignalHandlerId Source