kitao / pyxel

A retro game engine for Python
MIT License
15.31k stars 847 forks source link

Is it possible to keep the window at topmost? #487

Closed jamad closed 11 months ago

jamad commented 1 year ago

For example, with tkinter, the window can stay using the following code. Are there any tips to do it with pyxel?"

import tkinter as tk
root = tk.Tk()
root.attributes("-topmost", True)
root.mainloop()
kitao commented 11 months ago

There's no feature for that. It may be possible by getting window handle of Pyxel and setting some attribute with it.