Communication between windows - use browserwindow function from Webpage


#1

Hi to everyone,
I started developing in electron and I have some question.

I explain the general enviroment:
I have a main.js that open a “debug” window (my renderer process).
From this window, I can open a lot of electron browser windows and I can talk with them.

But I’d like to talk to the browser windows container even from the webpage loaded in this browser window.
For example, I’d like to draw a button in my webpage that can maximize or minimize the browser window (and call a lot of other function of the browser window container), but for doing that I need to talk with the browser window instance (in my renderer process)…how can I do that?
Or, can I find a way to round the problem?

thanks a lot