Helene Bilbo
Helene Bilbo

Reputation: 1142

Is there a list widget in Pharo that let's the user visually order the list items?

Is there a list widget in Pharo that let's the user visually order the list items by dragging and dropping, so that the new order of items is propageted to the OrderedCollection represented by the widget?

Upvotes: 2

Views: 182

Answers (1)

Lukas Renggli
Lukas Renggli

Reputation: 8947

As far as I know there is no ready made widget. There are however applications that provide such functionality, you could look at their source code.

For example in OmniBrowser the class categories can be reordered by drag and drop. And the refactoring extension contains a dialog implementation in OBMethodNameEditor that provides a similar re-ordering functionality for method arguments.

Upvotes: 1

Related Questions