Window.redirectToDrawable

Redirects drawing into window so that drawing to the window in the rectangle specified by src_x, src_y, width and height is also drawn into drawable at dest_x, dest_y. Only drawing between gdk_window_begin_paint_region() or gdk_window_begin_paint_rect() and gdk_window_end_paint() is redirected. Redirection is active until gdk_window_remove_redirection() is called. Since 2.14

class Window
void
redirectToDrawable
(,
int srcX
,
int srcY
,
int destX
,
int destY
,
int width
,
int height
)

Parameters

drawable Drawable

a GdkDrawable

srcX int

x position in window

srcY int

y position in window

destX int

x position in drawable

destY int

y position in drawable

width int

width of redirection, or -1 to use the width of window

height int

height of redirection or -1 to use the height of window

Meta