Re: delete_event




prefs_diag->delete_event().connect( sigc::ptr_fun(on_prefs_cancel_btn_clicked) );

However, the compiler said:

error: 'class Gtk::Dialog' has no member named 'delete_event'

The problem is that the dialog's X button has to be clicked twice to close the dialog.
According to my gtkmm documentation you must use widget->signal_delete_event ()
If this is not the solution - try explicitly convert prefs_diag to Widget*.

--
WBR, Pavlo Korzhyk
ICQ#155870780

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