Search code examples
pythongtkpygtkx11

Persistent Windows in PyGTK


Is there a way to force a gtk.Window object to ignore the Window Manager's show/hide commands, such as "iconify" and "show desktop?"

I'm trying to create a persistent window, stuck to the desktop, that will not disappear with all other windows when the desktop is exposed.

EDIT: I guess what I'm wondering specifically is whether or not it's possible to reproduce the behavior found in applications such as docks, desktop widgets, system trays, etc. using PyGTK?


Solution

  • You've got it backwards; it's not the window manager telling the window to minimize, by sending it a command. The window manager owns the window, if it wants to stop mapping a window, it will just do it, without asking the window for permission.

    So I would think that the answer is "no".