Forum: Ruby Canvas#top= in Shoes

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Joel F. (Guest)
on 2009-04-10 20:12
In the hunt for a bug in Shoes, which I need to fix for my app, I have
been trying to determine where the "top=" instance method for the Canvas
class is defined in C (most of shoes is written in C)

So far, I've looked for the following in source:
1. rb_define_method - a bunch of methods for cCanvas have been defined,
but top= doesn't seem to be there in the list.
2. rb_define_attr
3. grep of the entire source for "top="
4. grep of source for attr_accessor
5. seeing where method_missing was being used on calling Canvas#top=.
Canvas.instance_methods has "top=" in its list so method_missing is not
being used.

Anything else I should've checked for?

Any suggestions would be appreciated.

Thanks!
Joel
This topic is locked and can not be replied to.