SetActionTag or user data

Hi, in the widget API, I can getActionTag and user data, I don’t see a way to set that in the widget component. Is it an oversight or another method to identiy the widget?