detach_drawing_object_from_window — Detach an existing drawing object from a HALCON window.
This operator can be used to detach the drawing object
the HALCON window
WindowHandle to which it is currently attached.
The drawing object will not longer be displayed in the window.
If a callback function was defined for the drawing object on the
event 'on_detach' with
set_drawing_object_callback this will also be
Handle of the drawing object.
detach_drawing_object_from_window returns 2 (H_MSG_TRUE), if the
WindowHandle are valid. Otherwise an exception