Re: [gtk-list] stop widget destruction?



On Tue, 5 May 1998, Matt Wimer wrote:

> i have a toplevel shell widget that i show when a user clicks
> a button.  If the user clicks on the window manager's decorative close
> i want to keep the window from being destroyed by gtk but let
> one of my functions unshow the window.
> 
> this can be done right?

gtk_signal_connect (GTK_OBJECT (my_window),
		    "delete_event",
		    GTK_SIGNAL_FUNC (gtk_widget_hide_on_delete),
		    NULL);
		    
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 
> 

---
ciaoTJ



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]