GtkTipsQuery::set_caller

void set_caller(GtkWidget caller);

Sets the widget which initiates the query, usually a button. If the caller is selected while the query is running, the query is automatically stopped and the "widget_selected" is not called for this widget.

This function has to be called before a query is started.