2

I've started using easygui instead of tkinter because its easy, but I've run into a little problem the following code when used in jupyter notebook launches a window but it will pop up behind the browser.

import easygui

easygui.filesavebox(default="hello.txt")

Is there any possible way to lift the windows to the top of all windows like in tkinter?

James Draper
  • 5,110
  • 5
  • 40
  • 59
  • `easygui` also uses `tkinter`, and it's not quite possible doing that with `tkinter.filedialog` either. There's just not that feature included:( The only possible way is to somehow use `subprocess.call` to give focus to it. – Taku Mar 21 '17 at 20:39
  • okay so what does `tkinter`'s `lift()` method do? – James Draper Mar 21 '17 at 20:43
  • doesn't work when the `root` is withdrawn (which is how `easygui` not show the white tkinter window). You can see that if you look at it's source code. – Taku Mar 21 '17 at 20:44

0 Answers0