add  widget interface

add  widget interface