[Gambas-user] Some comparison
Benoît Minisini
g4mba5 at gmail.com
Mon Feb 11 11:49:09 CET 2019
Le 11/02/2019 à 11:20, Rolf-Werner Eilert a écrit :
> Am 10.02.19 um 23:14 schrieb Benoît Minisini:
>> Number of lines of C code to implement the switch button in GTK+,
>> without the comments :
>>
>> 1167
>>
>>
>> Number of lines of Gambas code to implement the switch button in
>> Gambas, without the comments :
>>
>> 250
>>
>
>
> Strange thing that GTK+ is so roundabout.
>
> The other day, I asked the author of a (very useful) program why he
> didn't implement a function that saves the program's window state and
> reloads it at start. He pointed me to a few links with explanations for
> GTK+, and I knew why...
>
> Regards
> Rolf
>
I'm aware of that to. But normally this horrible stuff is well hidden by
Gambas: you just have to define the Application.Restart property the the
command-line you need to restore everything at restart, and it should
work with GTK!
--
Benoît Minisini
More information about the User
mailing list