On 02-09-15 14:22, Franck Warlouzet wrote:
Hi,
Some of you showed interest in a widget as the one which pops up to add
protocol in Nautilus, but using FastTable. We started to build such one, it
allows to bind specific action on click on a item, to have icon for items, to
filter items etc. Examples show how to use it.
It is still a beginning so there is probably some strange points or
improvements to do, but if it appears to be useful to replace some widgets we
can enhance it. Or it can simply show you how easy it is to build a fast table
with a more complex data source, which would already be a good point.
You can find the code in this repo :
MCHttpRepository
location: 'http://www.smalltalkhub.com/mc/FranckW/WidgetChoiceList/main'
user: ''
password: ''
Feel free to contact me if you have questions.
Nice. I've fixed example4
In the interaction between the search field and the table, you'll want
to change the focus behaviour. Starting to type should enter the text in
the search field while filtering the table and selecting the first
element that filters. Arrow up and down should move the selection of the
table. You'll also want a key combination to move up and down to the
next position where the strings start to differ again.
I took a look at reacting to a keystroke in the text field, but there
is an announcement that is not exposed in the model.
Stephan