set_widget


Description:

[ 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.

Note:

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.

Parameters:

this

a SourceCompletionInfo.

widget

a Widget.




2022 vala-language.org