[Gretl-devel] no 'gui-main'

Sven Schreiber svetosch at gmx.net
Tue May 24 04:07:10 EDT 2016


Am 24.05.2016 um 10:04 schrieb Allin Cottrell:
> On Thu, 19 May 2016, Sven Schreiber wrote:
>
>> as promised, the next packaging-related message:
>>
>> When I create a package here on Windows 7 with gretl 2016b and two
>> public functions, I cannot designate (in the GUI package editor) which
>> is the gui-main function. The drop-down menu is inactive (greyed out,
>> not clickable).
>
> That's now fixed in git and snapshots. When I looked back into the code
> I found that to be acceptable as "gui-main" a function had to have a
> return type of bundle or void. I'm not sure how that crept in -- it's
> not documented anywhere so far as I can see -- so I've removed the
> requirement. Now the gui-main selector should be active provided you
> have at least two public functions.

Thanks; perhaps the bundle/void thing was meant for prospective 
"add-ons" instead of simple packages?

thanks,
sven


More information about the Gretl-devel mailing list