[Gtk-sharp-list] Gtk.Clipboard Issue

Carlos J. Muentes carlos at rockwithme.org
Fri Dec 1 00:00:57 EST 2006

Hey All,

    I mistakenly posted this to the mono-devel list; sorry guys!!
Anyway, I've got an issue trying to copy text to the default Clipboard.
Basically, 'Cut' works intermittently, and 'Copy' doesn't work at all.
What am I missing?

Here's the code:

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

textView1.Buffer.CopyClipboard( this.clipboard );

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20061201/f93125dd/attachment.html 

More information about the Gtk-sharp-list mailing list