[maemo-developers] hildon.StackableWindow and blocking windows
From: Max Usachev maxusachev at gmail.comDate: Wed Feb 16 12:24:32 EET 2011
- Previous message: hildon.StackableWindow and blocking windows
- Next message: hildon.StackableWindow and blocking windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2011/2/16 Alberto Garcia <agarcia at 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 at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20110216/2961e988/attachment.htm>
- Previous message: hildon.StackableWindow and blocking windows
- Next message: hildon.StackableWindow and blocking windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]