PDA

View Full Version : Gtkmm, Window and verify dialog



martingt89
July 24th, 2010, 03:40 PM
Hi. I make easy program in c++ and gtkmm.
My problem:
If I click to X button in the window, window hide. But I need window not hide and show Dialog.


window->signal_hide().connect( sigc::mem_fun(*this, &Win::exit) );
.
.
.
void Win::exit(){ //window is hide
...
dialog->show();
int res = dialog->run();
...
}

Thx.