[plt-scheme] goal: A basic text-with-autocompletion teachpack
Now that would be a good example for a GUI guide.
On Mar 16, 2010, at 8:40 PM, Robby Findler wrote:
> Not really, no. But a basic text-field%-like is not a lot of work if
> you're starting from text% and editor-canvas%.
>
> Robby
>
> On Tue, Mar 16, 2010 at 6:45 PM, Jordan Johnson <jmj at fellowhuman.com> wrote:
>> 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
>> _________________________________________________
>> For list-related administrative tasks:
>> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>>
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme