uni-htk-2.2.1.3: 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.

Instances

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.

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.