Hi everyone. I wander if there is already something like the list editing buttons in OS X i.e. â+â and â-â buttons that either open a dialog with another list that allows to select what to add, or remove selected items from the list. (example on screenshot). Yes I know that this should be trivial, but Iâm just starting with spec, so it would be nice to have some helpers. Cheers Uko
On 15 Mar 2014, at 22:39, Yuriy Tymchuk <yuriy.tymchuk@me.com> wrote:
Hi everyone.
I wander if there is already something like the list editing buttons in OS X i.e. â+â and â-â buttons that either open a dialog with another list that allows to select what to add, or remove selected items from the list. (example on screenshot).
I would answer ânot yetâ :) Feel free to submit one :P If you have questions, I will be glad to answer them, and to help you to propose such a widget, reusable enough so we can add it to the spec widgets :) Ben
On 16 Mar 2014, at 00:37, Benjamin <Benjamin.VanRyseghem.Pharo@gmail.com> wrote:
On 15 Mar 2014, at 22:39, Yuriy Tymchuk <yuriy.tymchuk@me.com> wrote:
Hi everyone.
I wander if there is already something like the list editing buttons in OS X i.e. â+â and â-â buttons that either open a dialog with another list that allows to select what to add, or remove selected items from the list. (example on screenshot).
I would answer ânot yetâ :)
Feel free to submit one :P If you have questions, I will be glad to answer them, and to help you to propose such a widget,
Ok, now Iâm more confident with spec, so I have a couple of questions: 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) Cheers. Uko
reusable enough so we can add it to the spec widgets :)
Ben
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 Hope it helps, Ben
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
Hello Did you check EditableList? Le 20 mars 2014 à 18:20, Benjamin a écrit :
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
Hope it helps, Ben
Oh wow. No. Thank you Christophe! Iâll try it out. Uko On 20 Mar 2014, at 18:29, Christophe Demarey <Christophe.Demarey@inria.fr> wrote:
Hello
Did you check EditableList?
Le 20 mars 2014 à 18:20, Benjamin a écrit :
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
Hope it helps, Ben
participants (3)
-
Benjamin -
Christophe Demarey -
Yuriy Tymchuk