Re: [gtk-list] Re: Missing events
- From: Kenneth Albanowski <kjahds kjahds com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Missing events
- Date: Sat, 25 Oct 1997 08:15:56 -0400 (EDT)
On 24 Oct 1997, Owen Taylor wrote:
>
> Kenneth Albanowski <kjahds@kjahds.com> writes:
>
> > I've got a problem _somewhere_ in my Perl code that I have not been able
> > to solve, or even localize. For some reason, my ruler test (identical to
> > the ruler test in testgtk.c) does not properly update the rulers when the
> > pointer moves over the window background. Events only occur when the
> > pointer moves over either of the rulers, or enters the window background
> > (either from outside the window, or from the rulers.)
>
> My guess is that you aren't propagating is_hint correctly when
> passing the event to ruler->motion_notify. If is_hint isn't set,
> the callback won't call gtk_widget_pointer_get, and no further
> motion events will be sent.
Found it. It turned out I was generating completely broken GdkEvents. My
fault, completely.
--
Kenneth Albanowski (kjahds@kjahds.com, CIS: 70705,126)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]