A little disappointed with the no response, but I know you guys are busy!! Anyway, I figured it out; error on my side (found it in the docs for a Gtk.TextBuffer). Here's what I did:
textView1.Buffer.CopyClipboard( Clipboard.Get( Gdk.Selection.Clipboard ) ); On Fri, 2006-12-01 at 00:00 -0500, Carlos J. Muentes wrote: > 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.Display.Default, > Gdk.Atom.Intern( "GDK_SELECTION_CLIPBOARD", true ) ); > > textView1.Buffer.CopyClipboard( this.clipboard ); > > > _______________________________________________ > Gtk-sharp-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
_______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
