Signal
GdkWindow::moved-to-rect
since: 3.22
Declaration
void
moved_to_rect (
GdkWindow* self,
gpointer flipped_rect,
gpointer final_rect,
gboolean flipped_x,
gboolean flipped_y,
gpointer user_data
)
Description [src]
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.
| Default handler: The default handler is called before the handlers added via |
| Stability: Private |
| Available since: 3.22 |
Parameters
flipped_rect-
Type:
gpointerThe position of
windowafter any possible flipping orNULLif the backend can’t obtain it.The argument can be NULL.The data is owned by the caller of the function. final_rect-
Type:
gpointerThe final position of
windoworNULLif the backend can’t obtain it.The argument can be NULL.The data is owned by the caller of the function. flipped_x-
Type:
gbooleanTRUEif the anchors were flipped horizontally. flipped_y-
Type:
gbooleanTRUEif the anchors were flipped vertically.