how open a window close by the window manager



Hi,

the sequence:

                        gtk_widget_hide(widget);
                        ...
                        gtk_widget_show(widget);

open and close a window, but if the window is closed manually ("Open" button or
"close" function menu) with the window manager, gtk_widget_show() do nothing.

Also theses flags remain "on":

        GTK_WIDGET_REALIZED     1
        GTK_WIDGET_MAPPED       1
        GTK_WIDGET_DRAWABLE     1
        GTK_WIDGET_IS_SENSITIVE 1
        GTK_WIDGET_CAN_FOCUS    1
        GTK_WIDGET_VISIBLE      1

  How to detect the iconic state? 
And 
  how to open a window closed by a window manager?

My window manager is DTWM working under Sun-Solaris.

Many thanks

Luc Weber
Geneva Observatory
Switzerland





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