#273: [HotCocoa] Add method to disable a control ---------------------------------+------------------------------------------ Reporter: d...@… | Owner: lsansone...@… Type: enhancement | Status: closed Priority: minor | Milestone: Component: MacRuby | Resolution: invalid Keywords: | ---------------------------------+------------------------------------------ Changes (by eloy.de.en...@…):
* status: new => closed * resolution: => invalid Comment: Methods such as setEnabled are mapped by default to #enabled= and isFoo to #foo? by MacRuby. So there should not be any need for these kind of changes. Is there a specific reason I overlooked? {{{ % ./miniruby -e "framework 'Cocoa'; c = NSControl.alloc.init; c.enabled = true; p c.enabled?" true % ./miniruby -e "framework 'Cocoa'; c = NSControl.alloc.init; c.enabled = false; p c.enabled?" false }}} Thanks -- Ticket URL: <http://www.macruby.org/trac/ticket/273#comment:1> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel