[maemo-developers] How to judge if GtkWindow is on top of hildon desktop or NOT

From: Simon Budig simon at budig.de
Date: Wed Jul 25 12:43:49 EEST 2007
Zhu, Peter J (peter.j.zhu at intel.com) wrote:
> I used differnt solution. Hildon library has a special function of
> hildon_window_get_is_topmost() to address this very elegantly.

Yeah, I read your second mail after I replied  :)

It probably depends on what you want. If you just want to check if your
application is running in the foreground then this probably is the right
thing to do.

On the other hand if you really need the visibility state, then my
approach probably works better, for example to test if a dialog or
something else is on top of the window.

Bye,
        Simon
-- 
              simon at budig.de              http://simon.budig.de/

More information about the maemo-developers mailing list