Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hide application icon from task bar

Tags:

python

gtk

I am trying to hide the application icon from the task bar.

enter image description here

So far I tried those

self.window.set_skip_pager_hint(True)

and

self.window.set_type_hint(Gdk.WindowTypeHint.UTILITY)

and

self.window.set_type_hint(Gdk.WINDOW_TYPE_HINT_DOCK)

but neither works. I use official GTK+ bindings for python. Could anyone point the resource where I can find the solution?

like image 807
Artur Gurgul Avatar asked Mar 19 '26 03:03

Artur Gurgul


1 Answers

set_skip_pager_hint() is for the Alt-Tab dialog. You want set_skip_taskbar_hint() instead.

like image 72
andlabs Avatar answered Mar 20 '26 18:03

andlabs



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!