As the title says, i am looking for inserting a function's output before sidebar's first widget, and one in the end after teh last widget, is it possible?
thanks in advance.
You can create your own actions using do_action, like this:
and use add_action() normally:
UPDATE: depending on the codex you can use wp_meta hook:
but it should be added by theme authors.
This page might be helpful Full Action Hooks Reference.
Yes. Put your function, and anything else you want, before and after the dynamic_sidebar function. For example.
Put the function inside a plugin, or even easier, inside your theme's functions.php file.
There are two options that may not yield the results you are looking for, but it's something.