Re: to disabele close window button



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]