Purely as a workaround, call gtk_window_presenton your main window
from a callback connected to the "destroy" event on the dialog.
Something like this (untested):
void on_dialog_destroyed(GtkWidget *dialog, gpointer data)
{
gtk_window_present(GTK_WINDOW(data));
}
...
g_signal_connect(myDlg, "destroy", on_dialog_destroyed, _mainwnd);
--
Tim Evans
Applied Research Associates NZ
http://www.aranz.com/
Thanks Tim,
That worked a treat.
I do have another question regarding dialogs on Win32, I can't seem to
get rid of
the minimise and maximise buttons on the dialogu title bar. This has the
unfortunate
effect, that if the user clicks the minimise button, the dialog is
hidden on
the desktop by other open applications, even though my application remains
open. Any work arounds for this?
Thanks,
Clive