|
Graphics.UI.Gtk.General.Clipboard | Portability | portable (depends on GHC) | Stability | provisional | Maintainer | gtk2hs-users@lists.sourceforge.net |
|
|
|
|
|
Description |
Functions for the Clipboard.
|
|
Synopsis |
|
|
|
|
Types
|
|
data ClipboardType |
Use ClipClipboard for the Windows-style cutcopypaste menu items;
use ClipPrimary for the currently-selected text, even if it isn't
explicitly copied, and for middle-mouse-click (Netscape, Mozilla,
XEmacs, some GTK+ apps)
| Constructors | | Instances | |
|
|
Methods
|
|
clipboardGet :: ClipboardType -> IO Clipboard |
Returns the clipboard object for the given selection.
Cutcopypaste menu items and keyboard shortcuts should use the default clipboard,
returned by passing GDK_SELECTION_CLIPBOARD for selection.
The currently-selected object or text should be provided on the clipboard
identified by --GDK_SELECTION_PRIMARY. Cutcopypaste menu items conceptually
copy the contents of the GDK_SELECTION_PRIMARY clipboard to the default clipboard,
i.e. they copy the selection to what the user sees as the clipboard.
|
|
Produced by Haddock version 0.8 |