The icon widgets (EwIconList, EwFlowedIconList, EwIconArea, and EwIconTree) can be configured to allow dynamic editing of an item's label. The application must determine what user action is to trigger the editing of a label. After this action is detected, the application should request editing of a specific item.When an edit action is requested, the widget fires the beginEditCallback to determine the specific editing policy (see "Edit policies"). When editing is complete, the widget activates the endEditCallback to allow the application to save the edited value as appropriate.The following example enables label editing in an icon list. The defaultActionCallback is used to trigger editing of the label.Object subclass: #IconListEditingExample
|