From: Roeland M. <roe...@te...> - 2006-08-29 16:02:58
|
> If you need a richer GUI, I think you'll need to do a real > RubyCocoa app. The > Cocoa framework assumes that it's in control of the application, > and that > everything is event driven. So you really need to have Cocoa make > calls into > your Ruby code, and not vice-versa. I prefer a richer GUI for configuration purposes. The problem is that I'm writing a plugin and that must be in ruby. I can open the RubyCocoa App from the ruby script, but is there a simple way to communicate between the two ruby scripts? The only simlpe way I can think of, is that the CocoaApp makes a text file with the settings and then read it back in with the first ruby script. But then I wouldn't need RubyCoca, just Cocoa. Tips or ideas are welcome... Roeland |