Re: to disabele close window button
- From: "Joshua Horvath" <Josh_Horvath-AJH051 email mot com>
- To: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: to disabele close window button
- Date: Fri, 06 Oct 2000 09:04:03 -0500
I do it by connecting to the "delete_event" and in the callback returning a value of
TRUE. This tells GTK not to call the default handler and the window will not be
closed. I think you could also use one of the gtk_signal_* functions to block the
signal but I haven't tried that.
-Josh
Jose Eusebio Roza Pando wrote:
Hi,
I would like to disable the close window button. I want that the user
can not close the window until I say so.
how can I do it?
Eusebio
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]