On Fri, 6 Jul 2001, James Henstridge wrote:

> menu items are GtkObjects.  If you are using the 2.0 binding, you can just
> set attributes on the object (menu_item.foo = bar).  For the 1.2 binding,
> you should use the set_data method (menu_item.set_data('foo', bar)) and
> use the get_data() method to retrieve it.

set_data appears to take a string as the second argument in 0.6.8. Is this
correct?  Browsing the gtk API shows gtk_object_set_data should take data
pointers. Am I doing something wrong?

Take care,
--
/\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil
~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to