Re: [gtk-list] Missing events
- From: Kenneth Albanowski <kjahds kjahds com>
- To: Owen Taylor <owt1 cornell edu>
- cc: gtk-list redhat com
- Subject: Re: [gtk-list] Missing events
- Date: Fri, 24 Oct 1997 17:19:24 -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.
Hmm. Yes, that's possible, I'll check that.
> (More drastically, I get a segfault when I try the ruler test with
> Gtk-0.1.9 - I suspect because of reference counting on GdkWindows, but
> perhaps you have fixed that since then.)
Don't worry, Gtk-0.1.9 is almost completely bollixed. The one I'm working
on is quite a bit more stable, even if some of the reference counting is
dodgy.
--
Kenneth Albanowski (kjahds@kjahds.com, CIS: 70705,126)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]