1* How do very basic vcl widgets get peers: 2 3 + toolkit/awt/ VCLXToolkit::ImplCreateWindow 4 + calls GetComponentInterface (sal_True) - if no comp. iface. 5 6 + vcl's Window: 7 virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > GetComponentInterface( BOOL bCreate = TRUE ); 8 9 + vcl/inc/vcl/unowrap.hxx: 10 // Window 11 virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer> GetWindowInterface( Window* pWindow, sal_Bool bCreate ) = 0; 12 virtual void SetWindowInterface( Window* pWindow, ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > xIFace ) = 0; 13 14 + from svapp.cxx Application::SetUnoWrapper 15 -> toolkit/awt 'ToolkitWorkerFunction' ( extern C / dlopen linkage ) 16 17 + from toolkit/source/helper/unowrapper.cxx: 18 -> CreateXWindow -> 'return new VCLXWindow' 19 ** FIXME: we need love in here too: 20 + METRICBOX eg.