How to I call a preprocess function for a view from a custom module? Lets say I have a view called widgets.

On a given page, /widgets/manage/ I want to add use a function that calls drupal_add_js and drupal_add_css to change the behaviour and appearance. 

If I wanted to make a change to the widget view in a theme, I'd change this file:

views-view--widgets--page.tpl.php


But, I want to change this in a module, so I can easily switch a feature on when I enable a module.

I don't need to add any other template files, I just want to call a few functions in PHP.

What is the best way to do this, and what would be the relevant hook to use here?
A template preprocess hook would be the best place. The naming convention for those functions is standard so you should be able to use

function MYMODULE_preprocess_views_view__widgets__page(&amp;$vars) {
  drupal_add_js('...');
  drupal_add_css('...');
}