set_view


Description:

public virtual void set_view (View? view)

View calls this method to pass a reference to itself to the layer when the layer is added to the view.

When the layer is removed from the view, it passes null to the layer. Custom layers can implement this method and perform the necessary initialization. This method should not be called by user code.

Parameters:

this

a Layer

view

a View




2022 vala-language.org