[C++-sig] call_method trouble?

Dirk Ulbricht fxdirk at insanesoftware.de
Mon Mar 10 17:54:05 CET 2003


Hi Dave,

thanks for responding. This gives:

self = obj.FXObjectDerived2 object at ...
sender = foxgui.FXObject object at ...

obj is the module the tests are located in.

- Dirk

-----Original Message-----
From: c++-sig-admin at python.org [mailto:c++-sig-admin at python.org] On Behalf
Of David Abrahams
Sent: Monday, March 10, 2003 5:34 PM
To: c++-sig at python.org; dave at boost-consulting.com
Subject: Re: [C++-sig] call_method trouble?

"Dirk Ulbricht" <fxdirk at insanesoftware.de> writes:

> Only calling sender.handle inside a message handler gives this error, so I
> think somethink is wrong with the way I used call_method in pythonHandle
to
> call the python message handler, or I am doing some other stupid mistake.
> Any hints on what's going here are greatly appreciated, I've been trying
to
> get this to work since hours without any success.

What do you see when you add this to onMessage:

     print 'self=', self
     print 'sender=', sender

??

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com


_______________________________________________
C++-sig mailing list
C++-sig at python.org
http://mail.python.org/mailman/listinfo/c++-sig






More information about the Cplusplus-sig mailing list