I need to create a modal child window.
So far I use gtk_window, but it has one problem
usually I have self.modal = true in initialize method and *self.modal
false* in close method.
problem is close method doesn’t work if the child window is closed by
clicking x button at the frame,
so if a user click it, child window disappear but modal state doesn’t
change to false so parent window can’t be accessed
so my question is,
is it the right way to create a modal child window, if not, what widget
should I use?
or
if it is, what event can I use for changing modal state before close,
I already use *delete_event and destroy *but it doesn’t work