Re: how to determine if a window has been entered/exited



Hi,

Brian Cameron <Brian Cameron sun com> writes:

> Since the GdkCrossing structure only gives you the x/y location
> at the time that the event was generated, it seems impossible to use
> this to determine if the user entered the window from outside window
> or if the user entered the window from a button (and the similar
> problem for leaving).

I think you should be able to differentiate between these events by
looking at the GdkNotifyType which is part of the GdkCrossing
structure.


Sven



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