[Gtk-sharp-list] Implementing Cut/Copy/Paste for Multiple Textview Controls

Barry W. Block bwb at fireflysoftware.com
Fri Mar 19 16:03:21 EDT 2010


My gtk C# app has three TextView controls on it.  I want to implement 
the Edit menu items, cut/copy/paste.  Thus far, I've created the menu 
items and assigned their keyboard shortcuts (ctrl-x, ctrl-c, ctrl-v) but 
I'm having some difficulty implementing their OnActivate event 
handlers.  The problem is, I don't know which of the three controls is 
the active control to interact with.  How do I determine this?  Thanks!

Barry


More information about the Gtk-sharp-list mailing list