On 20 Mar 2014, at 18:20, Benjamin <benjamin.vanryseghem.pharo@gmail.com> wrote:
On 20 Mar 2014, at 18:13, Yuriy Tymchuk <yuriy.tymchuk@me.com> wrote:
Should this be an extension of List with buttons, of a buttons widget that has a setters for the list to modify and the block for retrieving the rest of items (during the addition action)
Sorry I do not understand your question :) But I think the answer is Make a complete new widget, with one list and two buttons, and enough methods to tweak the buttons and the list :)
You could even have a dedicated widget for the buttons, so one can replace them with a special new âbuttons toolbarâ widget
Thanks Ben, Iâll try to do something tomorrow and share with you, to get some feedback. We will do something cool :). P.S. The thing that I was asking, is that as this widget will have a list inside, it will be probably useful to have all the list api there. And I donât think that duplicating all the methods and forwarding them to list will be good.
Hope it helps, Ben