Re: [MacRuby-devel] windowControllerDidLoadNib strangeness

2010-11-25 Thread Tom Jordan
trying to get the code to format right, here it is again (hopefully better!): class MyDocument < NSDocument attr_accessor :loadedmodel, :root #outlet to model field of controller # Name of nib containing document window def windowNibName 'MyDocument' end # Document data representation

[MacRuby-devel] windowControllerDidLoadNib strangeness

2010-11-25 Thread Tom Jordan
Hello, I'm encountering some weird behavior when trying to update a view using windowControllerDidLoadNib after loading in a persistent document. When I provide windowControllerDidLoadNib a single argument, as shown below (and required by the NSDocument class definition and in every example I've s

Re: [MacRuby-devel] NSEvent MacRuby (updated)

2010-11-25 Thread András Zalavári
To fix it would be so nice, becouse it come out at so many places in my code, that deals with the mouse. I have the same problem with getting the position of a CALayer. So it must be connected with CGPoint/NSPoint as Thibault sad I send the bug on the tracker. Thans a lot! _