destroy_signal



Hello everybody:

I have a window, it has the X button to destroy it.
but i want the X button to just hide it not to destroy it. In the destroy
callback i wrote down:

gtk_window_hide(window);

but it seems to destroy the window as well.

Maybe i can mask the destroy signal for this window, can anybody help me?



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