2011/2/16 Alberto Garcia <agar...@igalia.com> > On Wed, Feb 16, 2011 at 11:01:04AM +0200, Max Usachev wrote: > > > I want to use StackableWindow in my program like dialogs > > That's not the way to do it in GTK: you have to show the new window > and connect to its 'destroyed' signal to do what you want to do after > the window is destroyed. > > Agree, that is a right way to. But what do you propose, if I have the following situation: There is some framework, there is a controller, I call controller method, for example - foo:
def foo: # some actions1 calling CustomDialog # some actions2 My code implementing CustomDialog. In desktop environment gtk.Dialog().run() blocks code execution, and when dialog destroys, 'some actions2' executed. In Maemo using hildon.StackableWindows as replacement for gtk.Dialog, 'some actions2' executes immediately after window creation. I can't modify controller code, I can only implement CustomDialog. Max. > Berto > _______________________________________________ > maemo-developers mailing list > maemo-developers@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers >
_______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers