in linux i try this :
But when i rendering my sfml context inside the handle , whole window are used , not just the gadget.PB_CONTAINER = ContainerGadget(#PB_Any,10,10,100,100,#PB_Container_Single)
*Widget.GtkWidget = GadgetID(PB_CONTAINER)
*WinObj.GdkWindowObject = *Widget\window
*GdkDrawable.GdkDrawableImplX11 = *WinObj\impl
*GdkDrawable\xid <-- HANDLE ?
this is the correct way to have the os handle ?