moved_to_rect


Description:

[ Version ( since = "3.22" ) ]
public signal void moved_to_rect (Rectangle flipped_rect, Rectangle final_rect, bool flipped_x, bool flipped_y)

Emitted when the position of window is finalized after being moved to a destination rectangle.

window might be flipped over the destination rectangle in order to keep it on-screen, in which case flipped_x and flipped_y will be set to true accordingly.

flipped_rect is the ideal position of window after any possible flipping, but before any possible sliding. final_rect is flipped_rect, but possibly translated in the case that flipping is still ineffective in keeping window on-screen.

Parameters:

flipped_rect

the position of window after any possible flipping or null if the backend can't obtain it

final_rect

the final position of window or null if the backend can't obtain it

flipped_x

true if the anchors were flipped horizontally

flipped_y

true if the anchors were flipped vertically