On Tuesday 24 March 2009, Chris Vine wrote:
> On Tue, 24 Mar 2009 17:30:38 +0300
> Alexander <b3n...@yandex.ru> wrote:
> > Hi, list.
> > 
> > Widgets in GtkNotebook doesn't receive GDK_VISIBILITY_NOTIFY events
> > with state GDK_VISIBILITY_FULLY_OBSCURED while its being
> > "deactivated" on tabs switching. However its receive events with
> > state GDK_VISIBILITY_UNOBSCURED on activation. Where is the catch?
> 
> Hiding a widget does not count as a visibility notify obscured event as
> it appears that the obscured attribute is intended to cover cases where
> one unhidden widget obscures another.  On this approach, whether
> something is unobscured is not the same as whether something is visible.
> 
> To find out whether a widget is visible in the sense in which you
> intend it, you probably need to call GTK_WIDGET_VISIBLE(), which will
> reveal whether gtk_widget_hide() has been called on it.
> 
> Chris
> 

Thanks, GTK_WIDGET_VISIBLE() may help me. Is there any way to catch event when 
widget is actualy hiding? 

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to