G4P bring window to front/back

edited December 2014 in Library Questions

Hi I am using the G4P (developed by @quark) tool in order to create a GUI. I have an issue with a second window that I created using G4P. It's by default in front of all my OS X windows (browser, finder, anything).

Is there a way to disable that.

P.S. The main window behaves normal, I really don't know why this one decided to be in front of all others.

Thank you!

Answers

  • Answer ✓

    I really don't know why this one decided to be in front of all others.

    It is the default behaviour for GWindows. In customGUI() method add the statement

    window.setOnTop(false);

    where window is the variable name for your GWindow

  • Thank you, it works like a charm! :)

Sign In or Register to comment.