set_widget


Description:

[ Version ( since = "2.22" ) ]
public void set_widget (Widget? widget)

Sets the Widget corresponding to the Accessible .

this will not hold a reference to widget. It is the caller’s responsibility to ensure that when widget is destroyed, the widget is unset by calling this function again with widget set to null.

Parameters:

this

a Accessible

widget

a Widget or null to unset




2022 vala-language.org