Gtk.WidgetPaintable.set_widget – gtk4 Reference Manual
set_widget
Description:
public
void
set_widget
(
Widget
? widget)
Sets the widget that should be observed.
Parameters:
this
a `GtkWidgetPaintable`
widget
the widget to observe
2022 vala-language.org