Gtk2HsContentsIndex
Graphics.UI.Gtk.General.Clipboard
Portabilityportable (depends on GHC)
Stabilityprovisional
Maintainergtk2hs-users@lists.sourceforge.net
Contents
Types
Methods
Description
Functions for the Clipboard.
Synopsis
data ClipboardType
= ClipClipboard
| ClipPrimary
clipboardGet :: ClipboardType -> IO Clipboard
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
ClipClipboard
ClipPrimary
show/hide 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