Safe Haskell | None |
---|---|
Language | Haskell98 |
This module provides access to the X selection.
- class HasSelection w => HasXSelection w where
- data XSelection
- clearXSelection :: GUIObject a => Screen a -> XSelection -> IO ()
- getXSelection :: (GUIObject a, GUIValue b) => Screen a -> XSelection -> TargetType -> IO b
Documentation
class HasSelection w => HasXSelection w where Source #
Widgets that have an X selection instantiate the
class HasXSelection
.
exportSelection :: Bool -> Config w Source #
getExportSelection :: w -> IO Bool Source #
HasXSelection Editor Source # | An editor widget has an X selection. |
HasXSelection (ListBox a) Source # | A listbox widget has an X selection. |
HasXSelection (Entry a) Source # | An editor widget has an X selection. |
data XSelection Source #
The XSelection
datatype.
Eq XSelection Source # | |
Ord XSelection Source # | |
Read XSelection Source # | |
Show XSelection Source # | |
GUIValue XSelection Source # | Internal. |
clearXSelection :: GUIObject a => Screen a -> XSelection -> IO () Source #
Clears the X selection.
getXSelection :: (GUIObject a, GUIValue b) => Screen a -> XSelection -> TargetType -> IO b Source #
Gets the current X selection.