This is the mail archive of the guile-gtk@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Making gdk-event-area work


Mark Seaborn <mseaborn@argonet.co.uk> writes:

> Here's a patch to make gdk-event-area work.

Thanks!  I have applied it.

2000-09-05  Marius Vollmer  <mvo@zagadka.ping.de>

	* gdk-1.2.defs, gdk-1.3.defs (gdk_event_area): Uncomment.  *
	gtk-support.c, guile-gtk.h (gdk_event_area): Return A
	GdkRectangle, not a pointer to it.  Thanks to Mark Seaborn!

> It doesn't handle the case when the event isn't an expose event very
> prettily.

I think it's OK.  The other functions aren't any better.

> (Incidentally, converting rectangles to pairs of pairs isn't very
> nice.  Are there any plans to use a more abstract data type?)

There are no plans, but also no big objections to change it, I think.
What do you think is not nice about the current way?  You could always
build an abstraction on top of it.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]