Re: [pygtk] Storing data in OptionMenu Menuitems
- From: James Henstridge <james daa com au>
- To: Christian Robottom Reis <kiko async com br>
- Cc: <gtk-app-devel-list gnome org>, <pygtk daa com au>
- Subject: Re: [pygtk] Storing data in OptionMenu Menuitems
- Date: Fri, 6 Jul 2001 22:41:12 +0800 (WST)
On Fri, 6 Jul 2001, Christian Robottom Reis wrote:
On Fri, 6 Jul 2001, Christian Robottom Reis wrote:
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?
Sure, I am. I'm not reading the error message. Keys must be strings.
Python is tricky with this argument number thing on methods; self is
always #1. /me sighs.
The argument numbering in the exceptions should be correct for the
development branch of pygtk, as one layer of indirection is removed.
James.
--
Email: james daa com au
WWW: http://www.daa.com.au/~james/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]