Can I pass data to widget which open from botton click?

Can I pass data to widget which open from botton click?

Hi 

I create a button in contacts view . The button will popup a widget.
I want pass the  contacts ID which I select  to widget.
Please show me how can I do?

Kenny