add get widget name method
Merge pull request #18 from nutty898/master

add get widget name method