Get size of widget

Where would you get the screen size of a widget?