|
A 'bug' in Bonobo/Listener: msg#00176gnome.gtk+.python
Hi, This is probably not a bug, just somthing I can't seem to work around. Anyway, from what I understood doing the following: bonobo.Listener (listener_cb) connects listenet_cb to the 'event-notify' signal. using bonobo.Listener.__doc__, I see that this is the declararion of the event notify: event-notify (gchararray, BonoboCorbaAny, BonoboCorbaException) So, I have listener_cb declared as" def listener_cb (listener, eventname, args, ev): somthing = args.value () Now, because I couldn't find any reference to BonoboCorbaAny I assumed it was refering to CORBA.Any. Now CORBA.Any has a value() function. Now when I run the bonobo object I get the following error: Traceback (most recent call last): File "./batchrename.py", line 13, in listener_cb somthing = args.value () AttributeError: 'gobject.GBoxed' object has no attribute 'value' So, do I need to convert the gobject.GBoxed somehow to a CORBA.Any somehow? Or am I missing somthing completly here? Thank you -Daniel _______________________________________________ pygtk mailing list pygtk@xxxxxxxxxx http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Adding keyboard shortcuts: 00176, Shlomo Katz |
|---|---|
| Next by Date: | set_border_window_size and pygtk1.99.18: a bug?: 00176, m3tr0 |
| Previous by Thread: | Adding keyboard shortcutsi: 00176, Shlomo Katz |
| Next by Thread: | set_border_window_size and pygtk1.99.18: a bug?: 00176, m3tr0 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |