문제

I'm coding a demon like program from Gambas on Ubuntu 13.10.
This is a GUI application which becomes visible when the user hits specific key.
Therefore, I don't want this program to appear on the task bar.

enter image description here

Is there a way I can bypass it? (Maybe from a Bash trick or a Gambas code?)
Thanks! :)

도움이 되었습니까?

해결책

You need to add _NET_WM_STATE_SKIP_TASKBAR atom to _NET_WM_STATE - see 'Application window properties' part of emwh spec.

다른 팁

I don't know at all gambas, but what you want is the following for gtk (in python):

 window.set_property("skip-taskbar-hint", True)

or for QT:

setWindowFlags(QtCore.Qt.SplashScreen)

basically, you need to find a way to change the properties or flags for the windows you want to display. Look at the API of the windows in gambas

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top