Gtk::Dialog::on_delete_event() is never called
- From: Tobias Eberle <tobias eberle gmx de>
- To: gtkmm-list gnome org
- Subject: Gtk::Dialog::on_delete_event() is never called
- Date: Sun, 31 Jul 2005 15:11:54 +0200
Hallo,
I want to prevent that the user can close a dialog (derived from
Gtk::Dialog) by clicking on the X. I tried to override
on_delete_event():
class CMyDialog : public Gtk::Dialog
{
//...
protected:
bool on_delete_event(GdkEventAny *);
}
but on_delete_event() is never called. Is this a bug or is there another
mechanism to catch the delete event?
Thanks.
Tobias
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]