send_mouse_double_click_event — Send an event to a buffer window signaling a mouse double click event.
send_mouse_double_click_event sends an event
at the position (
Column) to the buffer window
WindowHandle, signaling that the mouse button encoded by
Button has been double clicked. Please refer to
get_mbutton to see how to encode
The purpose of this operator is to select a drawing object in a
situation where multiple drawing objects are stacked on top of each
other in a buffer window. If the double click happens on either one
of the markers of the object border of the active object the object
below is selected. To simplify the interaction with the drawing
object, the coordinates
Column are given in
the image coordinate system. To convert window coordinates into
image coordinates, the operator
convert_coordinates_window_to_image can be used.
If the event could be processed,
Processed. If no action for the event could be
determined (e.g., because there is no drawing object below the mouse
position), 'false' is returned in
Processed. In this case
the caller may determine an action for the event.
the only means to manipulate drawing objects in buffer windows.
send_mouse_double_click_event depends on the library libcanvas, which
might not be available on embedded systems.
Window handle of the buffer window.
→(integer / real)
Row coordinate of the mouse cursor in the image coordinate system.
→(integer / real)
Column coordinate of the mouse cursor in the image coordinate system.
Mouse button(s) pressed.
'true', if HALCON processed the event.
send_mouse_double_click_event returns the value TRUE if the window handle
WindowHandle corresponds to a window of valid type, and the event
is properly encoded. Otherwise, an exception is raised.