[ Version ( deprecated = true , deprecated_since = "3.8" ) ]
public void set_widget (Widget? widget)
Warning: set_widget is deprecated since 3.8.
Sets the content widget of the info window.
Use add instead.
If there is already a child widget, remove it with remove.
See that the previous widget will lose a reference and it can be destroyed, so if you do not want this to happen you must use @ref before calling this method.
this | |
widget |
a Widget. |