Menu

Delete object

Help
2016-05-19
2016-05-23
  • Dallard Heidy

    Dallard Heidy - 2016-05-19

    Hello,

    How does PythonQt handle the destruction of the objects created in python scripts ?
    I can't find anywhere the information.

    Thanks for your reply,
    hawaya

     
  • Florian Link

    Florian Link - 2016-05-19

    What exactly do you want to know?

     
  • Dallard Heidy

    Dallard Heidy - 2016-05-19

    If I create an object in a python script, will it be destroyed by PythonQt or do I have to destroy the object myself ?

     

    Last edit: Dallard Heidy 2016-05-19
  • Florian Link

    Florian Link - 2016-05-19

    It will get deleted automatically when Python loses the last variable that points to the object.

     
  • Sergey

    Sergey - 2016-05-23
     

    Last edit: Sergey 2016-05-23

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.