From: sgcjr@... (Steve Conover, Jr) Date: 2003-09-01T10:27:01+09:00 Subject: Re: FXRuby and clipboard contents > In the FXRuby distribution, the textedit.rb sample does support Copy and > Paste, both to and from the Windows clipboard. So there definitely is some > sort of FXText-based (and possibly FXWindow-based) cut/copy/paste clipboard > support in the current FXRuby. I'd look into the methods onClipboardRequest, > onClipboardGained, and onClipboardLost (and what events they are associated > with) to gain further understanding. The methods are referenced in the SWIG > wrapper FXText.i and FXWindow.i. I tested this with an FXText object: textwidget.handle(textwidget, MKUINT(FXText::ID_PASTE_SEL, SEL_COMMAND), nil) and it works great. I've only used this on windows, maybe someone can confirm that it works on Linux too... This is what I was looking for - thanks everyone. Regards, Steve