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