Re: Close a window



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
do what it says -- hide it.

-- 
Siddhesh Poyarekar
http://siddhesh.in


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