Is it possible to add actions to widgets?

I might be missing something, but I went throught the docs and couldnt find something.
Was this page helpful?