Hi,
   
  I'm working with the simple_dialog (gtk\simple_dialog.c) and even though it 
is defined as being modal,
   
  gtk_window_set_modal(GTK_WINDOW(win), TRUE); 
  in display_simple_dialog(...)
   
  the calling code path continues execution after the dialog opens, without 
waiting for the user to close the dialog. For example, if I have the following 
code in some location:
   
  simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "this is my dialog", "");
  printf("should be printed after the above dialog closes");
   
  the printf will be executed right after the dialog opens, it does not wait 
for the user to click OK (note, the dialog itself is modal, but the issue is 
that its not blocking or halting code execution). Why is this? I'm working on a 
win32 environment, does it happen on other environments as well (I'm assuming 
not)?
   
  Any help is greatly appreciated.
   

       
---------------------------------
Pinpoint customers who are looking for what you sell. 
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to