View Single Post
Posts: 540 | Thanked: 288 times | Joined on Sep 2009
#3
Originally Posted by conny View Post
Try the "notify::is-topmost" property of HildonWindow. That should do the trick.
http://maemo.org/api_refs/5.0/5.0-fi...ow--is-topmost
Finally got around testing this, the problem is that it's a property, how do I trigger a signal ?

I found that there is 'focus' signal on gtk.Widget from which just about everything inherits from but unfortunatly that gets triggered for the window only at program start (even switching between programs does not trigger it), same for 'window-state-event'

I guess part of the problem is using window vs stackablewindow offer no difference here (and stackablewindow is definitely the way to go).

edit: and also the set-focus is not usable since when I return from stackable window or other application the previous widget still retains it's focus...

Last edited by rambo; 2010-03-29 at 18:54.