Testing widget visibility?
- From: "Ian Puleston" <ian underpressuredivers com>
- To: <gtk-list gnome org>
- Subject: Testing widget visibility?
- Date: Fri, 14 Apr 2006 10:30:27 -0700
Hi,
Is there a simple way to test if a widget really is visible (i.e. the user
can actually see it). GTK_WIDGET_VISIBLE returns true if the widget has been
set to show, but that does not mean that it is actually visible - if it is
in a box that is currently hidden then the widget is not visible on the
window.
One option should be to recursively use gtk_widget_get_parent to check the
visibility of each parent up to the top window, but is there a simpler way
to do it?
Ian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]