SourceCompletionInfo.setWidget

Warning gtk_source_completion_info_set_widget has been deprecated since version 3.8 and should not be used in newly-written code. Use gtk_container_add() instead. If there is already a child widget, remove it with gtk_container_remove(). Sets the content widget of the info window. 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 g_object_ref() before calling this method.

class SourceCompletionInfo
void
setWidget

Parameters

widget Widget

a GtkWidget. [allow-none]

Meta