Re: How and when to use GdkWindow masks?

2010-01-17 Thread Ken Resander
g_signal_connect? Isn't that always harmless? Or, is there a case for issuing a g_signal_connect first and then enabling receipt by a subsequent call of gtk add event? Ken   --- On Sun, 17/1/10, David Nečas wrote: From: David Nečas Subject: Re: How and when to use GdkWindow masks? To: "Ken Res

Re: How and when to use GdkWindow masks?

2010-01-17 Thread David Nečas
On Sun, Jan 17, 2010 at 03:34:26AM -0800, Ken Resander wrote: > The manual for GtkWidget signals usually mentions that an event mask should > be enabled, for example for motion-notify-event: 'to receive this signal, the > GdkWindow associated to the widget needs to enable the > GDK_POINTER_MOTIO

How and when to use GdkWindow masks?

2010-01-17 Thread Ken Resander
The manual for GtkWidget signals usually mentions that an event mask should be enabled, for example for motion-notify-event: 'to receive this signal, the GdkWindow associated to the widget needs to enable the GDK_POINTER_MOTION_MASK mask'. The quoted part above is unclear. It does not say how G