Dialogs and gtk_window_set_transient_for()



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 iki fi




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