Widget.getPosition

Gets teh position of the widget within the dock.

Returns

a #PanelPosition or null if the

widget isn't within a #PanelFrame.