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. Cheers, Franck |
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 |
Yes arrows up/down handling in fast table is not perfect.
Esteban told me there is a way to have this kind of filtering direclty in the small rectangle but I did not take the time to see how. I like the search field but maybe someone prefers filtering directly in the list items area Franck > To: [hidden email] > From: [hidden email] > Date: Wed, 2 Sep 2015 16:35:39 +0200 > Subject: Re: [Pharo-dev] Widget choice list > CC: [hidden email] > > 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 > > > > |
Free forum by Nabble | Edit this page |