Re: delete_event
- From: "Pavlo Korzhyk" <pavlo korzhyk gmail com>
- To: weijie <weijie90 gmail com>
- Cc: Murray Cumming <murrayc murrayc com>, gtkmm-list gnome org
- Subject: Re: delete_event
- Date: Sat, 25 Nov 2006 10:57:30 +0200
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]