create_surface


Description:

[ Version ( since = "1.6" ) ]
public virtual signal Surface create_surface (uint width, uint height)

The create_surface signal is emitted when a CairoTexture news its surface (re)created, which happens either when the Cairo context is created with create or create_region, or when the surface is resized through set_surface_size.

The first signal handler that returns a non-%NULL, valid surface will stop any further signal emission, and the returned surface will be the one used.

Parameters:

width

the width of the surface to create

height

the height of the surface to create

Returns:

the newly created XlibSurface for the texture




2022 vala-language.org