set_window


Description:

public void set_window (Window window, bool automatic)

Sets up a suitable pixmap for the window, using the composite and damage extensions if possible, and then calls set_pixmap.

If you want to display a window in a Texture, you probably want this function, or its older sister, clutter_glx_texture_pixmap_set_window.

This function has no effect unless the XComposite extension is available.

Parameters:

this

the texture to bind

window

the X window to which the texture should be bound

automatic

true for automatic window updates, false for manual.