[MacRuby-devel] NSControl's partial mapping to HotCocoa

Matt Aimonetti mattaimonetti at gmail.com
Thu Apr 2 04:46:23 PDT 2009

Shouldn't it be:

NSButton.new.respond_to?("setEnabled") == false

setEnabled or enabled= looks like it would be an instance method instead of
class method... Sorry I can't be more helpful, I'm on my way to the airport.

- Matt

2009/4/2 Frisco Del Rosario <frisco at laszlomail.com>

> NSButton inherits from NSControl, which — according to
> http://www.macruby.org/trac/wiki/HotCocoaStatus — is partially mapped to
> HotCocoa.
> Is this incomplete mapping the reason NSButton.respond_to?("setEnabled") ==
> false ?
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20090402/a153e64c/attachment.html>

More information about the MacRuby-devel mailing list