render_background


Description:

public void render_background (StyleContext context, double x, double y, double width, double height)

Creates a render node for the CSS background according to context, and appends it to the current node of this, without changing the current node.

Parameters:

this

a `GtkSnapshot`

context

the style context that defines the background

x

X origin of the rectangle

y

Y origin of the rectangle

width

rectangle width

height

rectangle height




2022 vala-language.org