[MacRuby-devel] windows contrôler issue
david kramf
dakr.012 at gmail.com
Thu Nov 29 15:33:55 PST 2012
Hi,
In MyController (copied below) the awakeFromNib is called but the other methods are not . Can someone explain me what the problem is ?
Thanks, David
class MyController < NSWindowController
attr_accessor :window
def awakeFromNib
@window.delegate = self
puts " at end of awake from nib. title is #{@window.title}"
end
def windowWillLoad
puts "window will be soon loaded"
end
def windowDidLoad
puts "window loaded"
end
def windowTitleForDocumentDisplayName(displayName)
"Hello World"
end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20121130/010386b0/attachment.html>
More information about the MacRuby-devel
mailing list