Re: Gtk::Widget::destory() ?
- From: "Nickolai Dobrynin" <ndobrynin gmail com>
- To: "Maik Beckmann" <maikbeckmann gmx de>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Gtk::Widget::destory() ?
- Date: Thu, 5 Oct 2006 18:18:05 -0500
Maik,
>From looking at the widget.hg file, it appears that, indeed, the gtk_widget_destroy is deliberately not wrapped in gtkmm.
(The version I looked at was 2.8.1). Thus, the best conclusion I can make by looking at the references you provide is that
this sentence about using Gtk::Widget::destroy() is an error. If
you are absolutely convinced you want to connect to the 'destroy'
signal, you can do so by accessing the underlying GTK+ instance, e.g.
g_signal_connect(G_OBJECT(pYourWidget->gobj()),"destroy",G_CALLBACK(destroy_event),NULL);
(and make sure you get the callback signature right).
I know, sometimes you have no choice other than going low level to get what you want, but is there anything specific
that you are trying to achieve by dealing with 'destroy' directly?
Regards,
Nickolai
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]