detach_background_from_windowT_detach_background_from_windowDetachBackgroundFromWindowDetachBackgroundFromWindow (Operator)
Name
detach_background_from_windowT_detach_background_from_windowDetachBackgroundFromWindowDetachBackgroundFromWindow
— Detach the background image from a HALCON window.
Signature
Herror T_detach_background_from_window(const Htuple WindowHandle)
Description
This operator detaches the background image that was previously attached
with attach_background_to_windowattach_background_to_windowAttachBackgroundToWindowAttachBackgroundToWindowAttachBackgroundToWindow
from the HALCON window
defined in WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle
.
Thus the background of the window will be cleared.
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
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle
(input_control) window →
HWindow, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
Result
If the window exists and the specified parameters are correct
detach_background_from_windowdetach_background_from_windowDetachBackgroundFromWindowDetachBackgroundFromWindowDetachBackgroundFromWindow
returns 2 (H_MSG_TRUE). If necessary an
exception is raised.
Possible Predecessors
attach_background_to_windowattach_background_to_windowAttachBackgroundToWindowAttachBackgroundToWindowAttachBackgroundToWindow
Module
Foundation