Re: How to detect gtk widget partial visible? visibility-notify-event?



Hi Yeti,

Thanks for your reply. It seems every widget could use this function to
enable the event bits, is this right? How could I find the default event
setting of every widget, which is enabled and which is disabled?

Best regard,

Eric Tsai

2007/9/11, David Nečas (Yeti) <yeti physics muni cz>:

On Tue, Sep 11, 2007 at 05:54:54PM +0800, MD Tsai wrote:
Is it possible for a gtk widget to detect it is partial visible? For
example, I can drag one window on another window. The covered window can
be
notified that it is partial visible?

I've registered the "visibility-notify-event" but never receive
callback,

gtk_widget_add_events(widget, GDK_VISIBILITY_NOTIFY_MASK);

Yeti

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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]