Closing (and destroying) windows.
- From: Colin Thomas <colin designresources co uk>
- To: gtk-list gnome org
- Cc: colin designresources co uk
- Subject: Closing (and destroying) windows.
- Date: Wed, 7 Nov 2001 09:28:58 +0000 (GMT)
Hi,
I have an application with a number of windows. Each window is retained all
the time, and "shown" via clicking a button. The window is then "hidden" by
clicking a button on that window. All very simply.
There is one problem though. I am using Solaris/CDE, (But I would assume this
also occurs with other windowing systems).
Each Gtk window is created in its own CDE window, which just happens to have
an in-built "close" function. If the user selects this, then the Gtk window
is not just hidden, but destroyed. The upshot of this is that I can not re-show
the window.
So, the question is, can I "easily" knobble the windows in-built "close"
function to perform the gtk_hide() ??
I look forward to your collective wisdom.
Best regards
/colin.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Colin Thomas.
| Design Consultant.
|
| Email : colin designresources co uk
| Tele : (44) 1234 240562
| Fax : (44) 1234 241262
|
| Address : Design Resources,
| Old Cock Inn,
| Silver End,
| Olney,
| Buckinghamshire,
| United Kingdom.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]