1. Is it possible to make the desired function work right at the moment of "mouse down" on the drag object? In theory, the "activated" is responsible for this. But in fact, the function assigned to this is triggered only after I release the mouse button.
2. im.FactorScale (or im.Scale) zooms the image so that the result is displayed with the same coordinates of the upper left corner as the original image. If it is, for example, an object that must change its size when dragging it:
Code: Select all
drag:
...
selected_hover_child im.Scale(pic, 100, 100)
...