sciter-sdk / go-sciter

Golang bindings of Sciter: the Embeddable HTML/CSS/script engine for modern UI development
https://sciter.com
2.58k stars 268 forks source link

Run() shouldn't be a method of Window #200

Open Dadido3 opened 5 years ago

Dadido3 commented 5 years ago

It's misleading that Run() is a method of Window.

It should be called once after the windows have been created and initialized. But as it is now, it confuses people to think that it needs to be called on each window.

See here

pravic commented 5 years ago

Hi, thanks for reporting. I guess, you are totally right, it should be a free function.