widget: add mouse_add compatibility