I noticed a relevant change in the following commit [603a77]:
https://sourceforge.net/p/gretl/git/ci/603a77724debc22b8527d28118328d0cb3...
However, is the amendment for "Add" really correct? It also talks of
double-clicking there, but wouldn't it rather be right-clicking for the
RHS/regressors?
thanks
sven
Am 20.03.2026 um 16:13 schrieb Sven Schreiber:
> Hi, related to a request for more intuitive variable selection
> (
https://sourceforge.net/p/gretl/feature-requests/211/) we talked
> about adding a tooltip that informs users that you can do a
> right-click on a listed variable (e.g., in the OLS model spec dialog).
>
> I looked at the code and found a kind of similar example related to
> the Midas dialog, in gui/selector.c. In the function <static GtkWidget
> *var_list_box_new> there is the statement:
>
> if (locus == SR_RVARS2 && sr->ci == MIDASREG) {
> gretl_tooltips_add(view, _("Select and right-click to edit
> specification"));
>
> Obviously, we need a different "locus" for our purpose, and we don't
> want to be restricted to midas; so how about adding the following to
> an already existing if-block in the mentioned function:
>
> if (locus == SR_LVARS) {
>
> /* left-hand box with the selectable vars */
>
> ... other instructions...
> gretl_tooltips_add(view, _("Select and right-click to add to
> regressor list"));
>
> } ...
>
> Would that already do the trick?
>
> thanks
>
> sven
>
>