[Glade-users] displaying a dialog window




I have a few input fields on my main window1 screen, and after I click 'Next' button, I am doing validation 
of those fields and in case of an error I would like to display a popup with an error msg informing the user 
of an error and forcing him to correct it. I use Glade, so I picked a dialog window with only one OK button. 
I believe I would need to display the dialog in my 'Next' btn clicked event, right? So, for the dialog to 
show up, do I have to do something like this in my C code:
dialog1 = create_dialog1();
gtk_widget_show(dialog1);
Using just these two lines I see the dialog box flash on the screen and disapper. How do I make the dialog 
stay until I click OK btn.
 
Thanks much.
Arthur.
                                          
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20100907/b9fb7023/attachment.html 




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