Zhu, Peter J ([EMAIL PROTECTED]) wrote: > I tried to use both gdk_window_is_visible and gtk_window_is_active to > judge if GtkWindow is on top of hildon desktop or not. But unfortunately > both fail to get correct result.
Well, the result probably is correct, but does not describe the visibility in your sense :) To track the effective visibility state connect a callback to the visibility-notify-event signal. This gets invoked whenever the visibility changes and you'll get a GdkVisibilityState, indicating if your widget is fully visible, partially obscured or fully obscured. Hope this helps, Simon -- [EMAIL PROTECTED] http://simon.budig.de/ _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers