detach_drawing_object_from_windowT_detach_drawing_object_from_windowDetachDrawingObjectFromWindowDetachDrawingObjectFromWindowdetach_drawing_object_from_window (Operator)
Name
detach_drawing_object_from_windowT_detach_drawing_object_from_windowDetachDrawingObjectFromWindowDetachDrawingObjectFromWindowdetach_drawing_object_from_window
— Detach an existing drawing object from a HALCON window.
Signature
Description
This operator can be used to detach the drawing object DrawHandleDrawHandleDrawHandledrawHandledraw_handle
from
the HALCON window WindowHandleWindowHandleWindowHandlewindowHandlewindow_handle
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' or 'on_select' with set_drawing_object_callbackset_drawing_object_callbackSetDrawingObjectCallbackSetDrawingObjectCallbackset_drawing_object_callback
this
will also be called.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
WindowHandleWindowHandleWindowHandlewindowHandlewindow_handle
(input_control) window →
HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window Handle.
DrawHandleDrawHandleDrawHandledrawHandledraw_handle
(input_control) drawing_object →
HDrawingObject, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the drawing object.
Result
detach_drawing_object_from_windowdetach_drawing_object_from_windowDetachDrawingObjectFromWindowDetachDrawingObjectFromWindowdetach_drawing_object_from_window
returns 2 (
H_MSG_TRUE)
, if the
DrawHandleDrawHandleDrawHandledrawHandledraw_handle
and WindowHandleWindowHandleWindowHandlewindowHandlewindow_handle
are valid. Otherwise an exception
is raised.
Possible Predecessors
attach_drawing_object_to_windowattach_drawing_object_to_windowAttachDrawingObjectToWindowAttachDrawingObjectToWindowattach_drawing_object_to_window
,
get_drawing_object_iconicget_drawing_object_iconicGetDrawingObjectIconicGetDrawingObjectIconicget_drawing_object_iconic
,
get_drawing_object_paramsget_drawing_object_paramsGetDrawingObjectParamsGetDrawingObjectParamsget_drawing_object_params
Possible Successors
close_windowclose_windowCloseWindowCloseWindowclose_window
,
clear_drawing_objectclear_drawing_objectClearDrawingObjectClearDrawingObjectclear_drawing_object
See also
attach_drawing_object_to_windowattach_drawing_object_to_windowAttachDrawingObjectToWindowAttachDrawingObjectToWindowattach_drawing_object_to_window
Module
Foundation