Discussion:
[Xcb] Small fix for http://xcb.freedesktop.org/XcbPythonBinding/
Mats Ahlgren
2016-07-13 22:34:26 UTC
Permalink
fyi, the web documentation example is unfortunately still not working

On Tue Nov 4 05:01:07 PST 2014 Pieter-Jan Busschaert
Hi,
I just started experimenting with XCB through Python. I followed the
explanations and full example at
http://xcb.freedesktop.org/XcbPythonBinding/
conn.core.ChangeProperty(PropMode.Replace, window, xcb.XA_WM_NAME,
xcb.XA_STRING, 8, len(name), name)
which results in
AttributeError: 'module' object has no attribute 'XA_WM_NAME'
conn.core.ChangeProperty(PropMode.Replace, window, Atom.WM_NAME,
Atom.STRING, 8, len(name), name)
This is on Ubuntu 14.04, python 2.7.6, xpyb 1.3.1-1, libxcb 1.10-2
Kind regards,
Pieter-Jan
Loading...