Add a kernel.view listener shortcut method

and the type should be ``callable``, not ``mixed``