[gtkmm] Gtk::Window::on_delete_event
- From: "Andreas B. Thun" <abt gmx de>
- To: gtkmm-list <gtkmm hakvoort be>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: [gtkmm] Gtk::Window::on_delete_event
- Date: Sat, 10 Apr 2004 13:21:28 +0200
Hi Bart,
I am not sure about how to use GdkEventAny.
I want to invoke cGui.hide() if the x is selected:
Gtk::Window cGui();
Gdk::Event hideEvent = Gdk::Event(); //? want a hide()
cGui.on_delete_event(hideEvent); //?
Gtk::Main::run(cGui);
just overriding Gtk::Window::on_delete_event(GdkEventAny* event) works
fine for me.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]