list-widget: Add select-item function.