On Sat, 2006-09-16 at 18:32 +0900, Yu, Jae-Myoung wrote:
> I'm making a text editor with Gtk2Hs, and I want to implement copy &
> paste with TextView. I read the api document but I can't find how to
> use the Gtk.Clipboard object. Without context menu basically included
> in the TextView widget, How can I implement copy & paste? 

Btw, it's best to ask Gtk2Hs questions on the Gtk2Hs users list:
[EMAIL PROTECTED]

The copy & paste for TextView works with the normal keybindings, eg
ctl-c/ctl-v/ctl-x (or any other custom ones that have been setup).

To do manual or custom clipboard stuff needs the Clipboard object which
we have not bound yet. If that's a priority for you we can have a go at
binding that before the upcoming Gtk2Hs 0.9.11 release.

If you want it to help then we'll gladly accept patches via darcs send.

Duncan

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to