set_widget


Description:

public void set_widget (Widget widget)

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.