Dear all,

It's been a while since I first asked this question. I would like to try again.

I am attempting to set the '_NET_WM_STATE_SKIP_TASKBAR' and '_NET_WM_STATE_SKIP_PAGER' states to a window.

For this I used:


where "window" is a resource object created from a winID.

When I run this however it raises a TypeError:

  File "/home/benjamin/Programming/Qontrol/src/", line 39, in set_wm_state_skip_taskbar
  File "/usr/lib/pymodules/python2.7/Xlib/xobject/", line 749, in set_wm_state
    self._set_struct_prop(atom, atom, icccm.WMState, hints, keys, onerror)
  File "/usr/lib/pymodules/python2.7/Xlib/xobject/", line 785, in _set_struct_prop

Could you please advise me?

On 2 June 2011 13:13, Benjamin Trias <> wrote:
Hi everyone,

I don't want to bombard you with questions, but in spite of having
looked at the documentation, i could not find out how to use
inspect.getargspec() and inspect.getsource() tell me i should pass a
hint={} variable.
>From the documentation
i reckon i need to pass '_NET_WM_STATE_ADD' but i'm not sure of
expected syntax.
I would like to pass the '_NET_WM_STATE_SKIP_TASKBAR' hint to my
application's window.
Could you please give me some guidance?