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

Safe HaskellNone
LanguageHaskell98

HTk.Devices.XSelection

Description

This module provides access to the X selection.

Synopsis

Documentation

class HasSelection w => HasXSelection w where Source

Widgets that have an X selection instantiate the class HasXSelection.

Minimal complete definition

Nothing

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 b Source

Gets the current X selection.