[gtkmm] window destroy event







Hi,

I have troubles while handling the destroy event of a window: I would like
to avoid destroying the window in some cases.
I connect a method to the event: this works fine:
myWindow.signal_delete_event().connect(SigC::slot(*this,
&MyWindow::closeCrossClicked));

But In this method MyWindow::closeCrossClicked, how can I cancel the window
destruction ?

      Erwan




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