In GTK 3 app I use glade to create dialog at the start of application and I use same dialog until end.
Instead deleting and creating it every time, I hide it.
Until now I used
hide_on_delete function which worked fine with
But there are 2 problems with this:
- In GTK 4 there is no hide_on_delete methods
- In GTK 3,
hide_on_deletenot works when using
How should I hide properly widget instead destroying it?
Creating this dialog on demand is not possible(at least for now)