Re: deactivating close button of a gtk+ window / dialog
- From: Bharat Bhushan <bharat CS Arizona EDU>
- To: Paul Davis <paul linuxaudiosystems com>
- Cc: <gtk-list gnome org>
- Subject: Re: deactivating close button of a gtk+ window / dialog
- Date: Thu, 24 Jul 2003 09:48:28 -0700 (MST)
thanks for the sueestion. that's what my plan is if I can't get it done
exactly the way i want.
regards,
Bharat
--------------------------------------------------------------------------------
On Thu, 24 Jul 2003, Paul Davis wrote:
> >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.
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]