This is the mail archive of the
guile-gtk@sources.redhat.com
mailing list for the Guile project.
Re: Completed GdkWindow; enhanced design
Marko Rauhamaa <marko@pacujo.net> writes:
>
> The filters need to be protected from GC while they are referred to by a
> GdkWindow. I use user_data to keep track of the filter procedures (as
> well as SCM user data).
Presumably something like the widget signals would be wanted. It'd be
a happy side effect if it meant each distinct gtkwindow was a unique
scheme level object. Good for hashing, comparing, etc.
I'd thought at one stage of proposing an equal? handler for the boxed
types as a similar thing, but ended up doing what I wanted a different
way.
gdkfont has it's own equal function, gdkcolor doesn't need one (on the
pointer value), and gdkcursor seems not unique at the gtk level, so it
was only gdkwindow I was looking at.
> I've tried to be mindful of the process as laid out for me by Marius.
> ("Hack on!", "Make sure it compiles.")
I doubt that's to be taken literally, not if anyone is meant to be
looking at the code. I'm not trying to be critical, just that it'll
be highly advantageous to others interested in the project if you can
better communicate changes you're proposing.