uni-htk-2.2.1.0: Graphical User Interface for Haskell Programs

HTk.Devices.XSelection

Description

This module provides access to the X selection.

Synopsis

Documentation

class HasSelection w => HasXSelection w whereSource

Widgets that have an X selection instantiate the class HasXSelection.

Instances

HasXSelection Editor

An editor widget has an X selection.

HasXSelection (Entry a)

An editor widget has an X selection.

HasXSelection (ListBox a)

A listbox widget has an X selection.

data XSelection Source

The XSelection datatype.

Constructors

PRIMARY 
CLIPBOARD 

clearXSelection :: GUIObject a => Screen a -> XSelection -> IO ()Source

Clears the X selection.

getXSelection :: (GUIObject a, GUIValue b) => Screen a -> XSelection -> TargetType -> IO bSource

Gets the current X selection.