How to retrieve Gadget Handle ?
Posted: Sat Aug 13, 2011 4:50 pm
Hi, i need to have access to the os handle of any gadget ( in windows GadgetID() return a os handle )
in linux i try this :
this is the correct way to have the os handle ?
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 ?