How can I eval code in a new window and run a callback in the eval window which will call a method in the primary window?var gui, win;gui = require('nw.gui');
win = gui.Window.get();n = gui.Window.get(window.open('file:///foohax.html'));n.eval('doSomething(function(){ /* call a method from the primary window */})How inter-window communication should be done in general?
-------------------------------------------------Dennis Próchniak
--
You received this message because you are subscribed to the Google Groups "node-webkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-webkit...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.