On Sun, Feb 27, 2000 at 06:50:00PM -0600, Dave Thomas wrote:
> Ian Main <imain / gtk.org> writes:
> 
> > On Sun, Feb 27, 2000 at 03:33:40PM -0600, Dave Thomas wrote:
> > > Ian Main <imain / gtk.org> writes:
> > > 
> > > > Entity uses GTK, so really, if you can get gtk and ruby working nicely, it
> > > > should embed nicely in Entity too.
> > > 
> > > I'm wondering... while we're making this change, is there merit in
> > > making the main loop totally generic, so we can embed Ruby is just
> > > about anything? How much extra work would that be?
> > 
> > This is what we are referring to.  We'll just be making hooks in ruby to
> > provide alternative file descriptor watching, timeouts etc. (mainloop).. I
> > (and I assume everyone else) have no intention of making it GTK specific at
> > all.  It's just that that's what I/we will be using for the test case, and
> > the one I am interested in fixing using this :)
> 
> And will Ruby itself be using these hooks? That is - will the
> interpreter become another user of the embedded Ruby engine. This
> strikes me as a good idea, as it means we'll be exercising it all the
> time.

Yes, default handlers will be put in place - though I think these belong in the
ruby library so they are transparent unless needed.

Ian