detach_drawing_object_from_windowπ
Short descriptionπ
detach_drawing_object_from_window β Detach an existing drawing object from a HALCON window.
Signatureπ
detach_drawing_object_from_window( window WindowHandle, drawing_object DrawHandle )
Descriptionπ
This operator can be used to detach the drawing object DrawHandle from
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β or βon_selectβ with set_drawing_object_callback this
will also be called.
Execution informationπ
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π
WindowHandle (input_control) window β (handle)
Window Handle.
DrawHandle (input_control) drawing_object β (handle)
Handle of the drawing object.
Resultπ
detach_drawing_object_from_window returns 2 (H_MSG_TRUE), if the
DrawHandle and WindowHandle are valid. Otherwise an exception
is raised.
Combinations with other operatorsπ
Combinations
Possible predecessors
attach_drawing_object_to_window, get_drawing_object_iconic, get_drawing_object_params
Possible successors
close_window, clear_drawing_object
See also
Moduleπ
Foundation