Tabbar: added capability to specify triggered event type