| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Helic.Effect.XClipboard
Description
The XClipboard Effect
Synopsis
- data XClipboard :: Effect where
- Current :: XClipboard m (Maybe Text)
- Set :: Text -> XClipboard m ()
- Sync :: Text -> Selection -> XClipboard m ()
Documentation
data XClipboard :: Effect where Source #
Communicate with the X11 clipboard.
Constructors
| Current :: XClipboard m (Maybe Text) | Get the current clipboard contents, if available. |
| Set :: Text -> XClipboard m () | Set the clipboard contents. |
| Sync :: Text -> Selection -> XClipboard m () | Copy the content of the specified selection to the clipboard selection. |