[pygtk] gtk.gdk.Atom integer value

Xavier Toth txtoth at gmail.com
Sun Mar 8 02:06:08 WST 2009


On Sat, Mar 7, 2009 at 8:35 AM, Stefan Stuhr <gnomelists at sstuhr.dk> wrote:
> lør, 07 03 2009 kl. 08:23 -0600, skrev Xavier Toth:
>> How can I get the integer value of a gtk.gdk.Atom?
>
> hash(atom)
>
> This may be what you are looking for ^_^
>
>> Ted
>
> Stefan
>
>

This doesn't return the same value as the atom interned in another X
client. I see there is a gdk_x11_atom_to_xatom function but there
doesn't appear to be a python binding for it.

Ted


More information about the pygtk mailing list