Hi All,
I’m following the excellent tutorial at http://www.fxruby.org/doc/:
– clipboardtut.html
– ch04s02.html
– ch04s03.html
In the latter page, the author adds the following to
ClipMainWindow#initialize:
Handle clipboard request
self.connect(SEL_CLIPBOARD_REQUEST) do
setDNDData(FROM_CLIPBOARD, FXWindow.stringType,
Fox.fxencodeStringData(@clippedCustomer.to_s))
end
The Ruby interpreter says:
undefined method `connect’ for ClipMainWindow:Class (NoMethodError)
The ClipMainWindow class has no such method. Neither does its super
class,
FXMainWindow, according to
http://fox-toolkit.org/ref/classFX_1_1FXMainWindow.html
(as I understand it.)
What am I missing?
Thanks in Advance,
Richard