set_pixel_format


Description:

public bool set_pixel_format (PixelFormat fmt)

Tell the server what pixel format to use for framebuffer updates.

It is only safe to use this when no framebuffer updates are pending, otherwise it is impossible to determine when the server has switched over to using the new format.

Parameters:

this

the connection object

fmt

the new pixel format

Returns:

TRUE if the connection is ok, FALSE if it has an error




2022 vala-language.org