[Mono-dev] Gtk.Clipboard Issue

Carlos J. Muentes carlos at rockwithme.org
Thu Nov 30 23:56:08 EST 2006


Hey All,

    I'm trying to copy text to the default clipboard, but it doesn't
seem to be working as expected.  What am I missing?

Here's the code:

Clipboard clipboard = Clipboard.GetForDisplay(
    	       Gdk.Display.Default,
Gdk.Atom.Intern( "GDK_SELECTION_CLIPBOARD", true ) );

textView1.Buffer.CopyClipboard( clipboard);

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20061130/20329e0a/attachment.html 


More information about the Mono-devel-list mailing list