Name
detach_drawing_object_from_windowdetach_drawing_object_from_windowDetachDrawingObjectFromWindowDetachDrawingObjectFromWindow — Detach an existing drawing object from a HALCON window.
void DetachDrawingObjectFromWindow(const HTuple& WindowHandle, const HTuple& DrawID)
void HWindow::DetachDrawingObjectFromWindow(const HDrawingObject& DrawID) const
This operator can be used to detach the drawing object DrawIDDrawIDDrawIDDrawIDdrawID from
the HALCON window WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle to which it is currently attached.
The drawing object will not longer be displayed in the window.
However, unless the operator clear_drawing_objectclear_drawing_objectClearDrawingObjectClearDrawingObjectClearDrawingObject 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_callbackset_drawing_object_callbackSetDrawingObjectCallbackSetDrawingObjectCallbackSetDrawingObjectCallback this will also be
called.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Handle of the drawing object.
detach_drawing_object_from_windowdetach_drawing_object_from_windowDetachDrawingObjectFromWindowDetachDrawingObjectFromWindowDetachDrawingObjectFromWindow returns 2 (H_MSG_TRUE), if the
DrawIDDrawIDDrawIDDrawIDdrawID and WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle are valid. Otherwise an exception
is raised.
attach_drawing_object_to_windowattach_drawing_object_to_windowAttachDrawingObjectToWindowAttachDrawingObjectToWindowAttachDrawingObjectToWindow,
get_drawing_object_iconicget_drawing_object_iconicGetDrawingObjectIconicGetDrawingObjectIconicGetDrawingObjectIconic,
get_drawing_object_paramsget_drawing_object_paramsGetDrawingObjectParamsGetDrawingObjectParamsGetDrawingObjectParams
close_windowclose_windowCloseWindowCloseWindowCloseWindow,
clear_drawing_objectclear_drawing_objectClearDrawingObjectClearDrawingObjectClearDrawingObject
attach_drawing_object_to_windowattach_drawing_object_to_windowAttachDrawingObjectToWindowAttachDrawingObjectToWindowAttachDrawingObjectToWindow
Foundation