Writing panels/docks with pyQt

596 views Asked by At

I want to write something like a taskbar/dock/panel(like tint2,...) with pyQt5.

I know how to write regular GUI applications with it, but my tiling window manager(herbstluftwm) maximizes my panels and openbox makes them resizable etc. My question : How can I make pyQt show my application as a panel instead of a window? I haven't found anything about that in the documentation.

Thank you.

1

There are 1 answers

0
BS_scripter On BEST ANSWER

Thanks to musicamente's help, i could find that the function setWindowFlags() is what I need. It allows to change the behavior of a window.

A website explaining this function is https://pythonprogramminglanguage.com/pyqt5-window-flags/