In general to create tabs, you need to create menu local items. Views 3 support this, and it is also possible to create such a tab with hook_menu
by setting the type
to MENU_LOCAL_TASK
. There are some requirements to the path of the url to make this work, but this is all well documented at the drupal API reference, linked to above.