set_window_shape


Description:

[ Version ( since = "2.0.5" ) ]
[ CCode ( cname = "vala_set_shape_mode" ) ]
public void set_window_shape (Surface shape, ShapeMode? mode) throws ShapeError

Set the shape and parameters of a shaped window.

Parameters:

shape

A Surface encoding the desired shape for the window.

mode

The ShapeMode with the parameters to set for the shaped window.

Exceptions:

ShapeError

if there's any error

See also:

ShapeMode, get_shape_mode




2022 vala-language.org