How to make python window run as “Always On Top”?

The question is more like which windowing toolkit are you using ? PyGTK and similar educated googling gave me this:


gtk.Window.set_keep_above

As mentioned previously it is upto the window manager to respect this setting or not.

Edited to include SDL specific stuff
Pygame uses SDL to do display work and apprently does not play nice with Windowing toolkits. SDL Window can be put on top is discussed here.

Leave a Comment