[pygtk] Setting user-data property

Tobias Weber towb at celvina.de
Wed Mar 10 22:03:18 WST 2010


On 10.03.2010, at 13:11, Alessandro Dentella wrote:

> it you want to write data to a widget, you can also use set_data():
> 
> col.set_data('my_data', string_or_what_i_want)

That works. Thanks!

BTW it returns None instead of KeyError


More information about the pygtk mailing list