[plt-scheme] goal: A basic text-with-autocompletion teachpack

From: Jordan Johnson (jmj at fellowhuman.com)
Date: Tue Mar 16 19:45:47 EDT 2010

Hi all,

Now that incremental autocompletion is pretty ubiquitous (e.g., the "To:"
field of GMail's and Apple Mail's compose windows) I'm looking to write a
simple teachpack that creates a GUI for an address book similar to that of
HtDP Section 36; the idea came up in my advanced class today, and my
students have written the back end already.

It *seems* like what I want to do is create a text-field% and use
text:autocomplete-mixin from the framework to add the functionality to its
text% object...but text-field% (which I've used before for little GUIs)
provides no evident way to specify the text% object it uses internally.  Is
there an alternative that will get me the same effect (and that avoids
massive amounts of GUI re-implementation)?

Thanks,
jmj


Posted on the users mailing list.