Re: Close a window



Hi

On Thu, 2009-05-07 at 22:30 +0530, Siddhesh Poyarekar wrote:
> 2009/5/7 Pierre-Luc Beaudoin <pierre-luc pierlux com>:
> > On Thu, 2009-05-07 at 17:47 +0100, António Pinho wrote:
> >> How can i close a window without using gtk_main_quit?
> >
> > gtk_widget_hide (window) will close it.
> >
> 
> No. gtk_window_destroy() will close the window. gtk_widget_hide() will
gtk_widget_destroy. 


> do what it says -- hide it.
> 
-- 
Ritesh Khadgaray
Ph: +919970164885
Desktop LinuX N Stuff, RHCE
Software Maintenance Engineer, Pune, Red Hat
ॐ मणि पद्मे हूँ
Eat Right, Exercise, Die Anyway.




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