|
2010-03-28
, 07:31
|
Posts: 654 |
Thanked: 664 times |
Joined on Feb 2009
@ Germany
|
#2
|
|
2010-03-29
, 18:50
|
Posts: 540 |
Thanked: 288 times |
Joined on Sep 2009
|
#3
|
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
|
2010-03-29
, 18:59
|
Posts: 654 |
Thanked: 664 times |
Joined on Feb 2009
@ Germany
|
#4
|
g_signal_connect (win, "notify::is-topmost", G_CALLBACK(cb_func), NULL);
|
2010-03-29
, 20:27
|
Posts: 540 |
Thanked: 288 times |
Joined on Sep 2009
|
#5
|
The "notify::" part will do the trick. Try something like this:
Code:g_signal_connect (win, "notify::is-topmost", G_CALLBACK(cb_func), NULL);
self.mainwindow.connect('notify::is-topmost', self.got_focus, 'notify::is-topmost')
|
2010-03-29
, 20:40
|
|
Posts: 696 |
Thanked: 1,012 times |
Joined on Mar 2006
@ Asturies, Spain
|
#6
|
The Following User Says Thank You to yerga For This Useful Post: | ||
I'm doing this in python in case that detail matters (it should not).
I tried to look for it last night but I may have been blind (or just tired).