[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] How to test if two PyQt instances wrap the same C++ object?
From:       Aurélien Gâteau <aurelien () dental-on-line ! fr>
Date:       2003-10-22 8:38:21
[Download RAW message or body]

Le Mercredi 22 Octobre 2003 10:19, Gerard Vermeulen a écrit :
>         if ( object == (QObject *)axis(yLeft) )  // HOW TO THIS IN PYTHON?
Not sure at all, but maybe this will do:

   if object is axis(yLeft):

Hope this helps,
  Aurélien

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic