Re: [gtk-list] Re: gtk-- delete/destroy confusion
- From: Angel Jimenez Jimenez <ajimenez vnet es>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: gtk-- delete/destroy confusion
- Date: Sun, 31 May 1998 09:42:37 +0000
Tero Pulkkinen wrote:
> > Can you give an example of using idle_add() for this?
>
> class dialog : public Gtk_Dialog {
> public:
> ...
> /* this idle handler will be called when gtk is in its eventloop
> next time, with nothing to do */
> static gint my_delete_obj(dialog *a) { delete a; return 1; }
Shouldn't this be "return 0", so that it won't be called again?
Angel.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]