Hello,

  Situation: I have main window and preferences dialog. I don't want 
to create this dialog before each showing it up (please don't comment 
on this) so I create it once in main window constructor and later I 
only call Show() when I want to show it (and I don't destroy dialog  
on close, only hide).

  The problem: when I call Show() for main window, it is shown but the 
dialog is also shown.

  QUESTION: how to show only the main window (without dialog)?


  Workaround which I found: in dialog constructor I immediately call 
Hide(), so user gets only main window (intended) but with ugly blink 
of dialog which shows up for a split of a second anyway.

  Thanks for any help/links/tips/etc :-)

Cheers,
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to