[Glade-users] Glade dialogs



set_transient_for() does ensure the dialog is over the window, but it's 
not positioned correctly (it should be centred over the window, instead 
it's usually just below the menu bar) and the window is not the parent 
window. Checking dialog.get_parent() returns None, ie. the dialog has 
no parent window.

When I construct a dialog manually in code one of the arguments to the 
function which creates the dialog is the parent window. There doesn't 
seem to be a way to set this using Glade.

set_transient_for() is the correct thing to use for dialogs. It should
make sure they stay above the parent window.

What is different about the behavior? Is the positioning wrong?

Damon







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