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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
I mis-spoke. It''s the clipboard example, not drag and drop. Sorry. On Feb 18, 10:19 pm, Richard <RichardDummyMailbox58...-gP6xRNRnnqSxhq/XJNNIW0EOCMrvLtNR@public.gmane.org> wrote:> Hi All, > > I''m following the excellent tutorial athttp://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 tohttp://fox-toolkit.org/ref/classFX_1_1FXMainWindow.html > (as I understand it.) > > What am I missing? > > Thanks in Advance, > Richard--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi All, False alarm: I actually had a syntax error that was not yet noticed by the interpreter. So I misinterpreted the symptom. My apologies, Richard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---