Jussi Kukkonen ([EMAIL PROTECTED]) wrote: > * gtk_dialog_run() makes the dialog modal, so you can't use several > dialogs at once. You'll have to connect to the "respose" signal and > and show the widget yourself.
The dialog is not necessarily modal, if you want modal behaviour add "GTK_DIALOG_MODAL" to the dialog flags. When using gtk_dialog_run () a recursive mainloop gets started and (some) event processing for the parent windows widgets get blocked. Unless you want some custom behaviour it then usually is not necessary to connect to the respond-signal (which *is* probably needed if you want multiple dialogs simultaneously). You also can force the dialog to respond by calling gtk_dialog_response(). This is useful if you e.g. want to cancel a dialog because of external conditions. Bye, Simon -- [EMAIL PROTECTED] http://simon.budig.de/ _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers