[gtkmm] Automatically destroying a dialog


I want a dialog to be deleted when it is closed (similar to widgets created with manage()). The problem is that it isn't modal and I can have various of them simultanelly, so I must create it using new, and I don't know where to delete it when it is closed.

I thinked using a thread for each dialog, is it the correct solution?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]