[maemo-developers] Dialogs and gtk_window_set_transient_for()

From: Arto Karppinen exeonical at mail.suomi.net
Date: Wed Feb 20 15:59:04 EET 2008
Hi

Im developing an app which shows modal dialogs to the user. Also the app 
may popup a custom error message dialog if something goes wrong. 
Currently i'm setting both dialog to be transient_for to my main window. 
This has the effect of the error dialog appearing beneath the first 
modal dialog..

That is, the dialog which is first set to be trancient for the main 
window, is shown on top of any dialog which is created later.

Which is not what i want, i want the error message dialog to be shown on 
top.

Is there some way to get which dialogs are trancient for a window, or do 
i have to build some kind of system which keeps track of what dialogs 
are currently shown?



-- 
Arto Karppinen
------------------------------
arto.karppinen at iki.fi


More information about the maemo-developers mailing list