Re: deactivating close button of a gtk+ window / dialog
- From: Paul Davis <paul linuxaudiosystems com>
- To: Bharat Bhushan <bharat CS Arizona EDU>
- Cc: gtk-list gnome org
- Subject: Re: deactivating close button of a gtk+ window / dialog
- Date: Thu, 24 Jul 2003 12:23:33 -0400
>Hey.
> Is there anyway in Gtk+ that we can make close button of a gtk window
>(or / and dialog) insensitive. I know we can make a gtk button (and
>similar widgets) insensitive by calling gtk_widget_set_sensitive(widget,
>FALSE); I also know that several MS Windows programs have their close button
>insensitive (especially while doing a critical task). Can we do something
>like that in Gtk+?
catch the top level window delete_event, do nothing in the handler,
return TRUE.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]