On Wednesday 06 July 2005 4:32 pm, Giovanni Bajo wrote: > James Emerton <[EMAIL PROTECTED]> wrote: > >>> Does anyone see a potential problem with exec_loop() transferring > >>> ownership of the dialog instance back to Python? > >> > >> Well, which C++ API would you intend to call to achieve this? We still > >> need the QDialog to keep its parent widget because it is the widget on > >> which the dialog is modal. > > > > [...] > > You should be able to test this with sip.transfer( dlg, 0 ) just > > before dlg.exec_loop(). Ultimately, a sipTransfer() should be added > > to the %MethodCode for exec_loop(). > > Yeah this works very well! > Phil, what do you think of this? It solves a nasty problem.
Could somebody summarise the original problem for me, and why this is required? Thanks, Phil _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde