Re: delete_event



Hi,

I have a dialog, and i tried 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.

Thanks =)





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