Manish Champaneri
Manish Champaneri
I'm facing same.
@pravic In go, we have options to integrate c code using cgo. Which already used by go-sciter already. > To add native mac menu, we should add a os restricted...
@pravic it will be great pleasure for me.
@c-smile I tried the way you told. Yes its a feasible one. ``` function self.ready(){ view.LoadMenu() view.StartApp() } ``` ``` win.DefineFunction("LoadMenu", func(...*sciter.Value) *sciter.Value { fmt.Println("ok") C.LoadMenu() return sciter.NewValue("") }) win.DefineFunction("StartApp",...
@c-smile Defining function this way might force to Implement view.defineMenu() for sdk wrappers in every language. In sciter-forum, I have seen a post regards python. Some one has written that...
@pravic Thanks for sharing code. I am not much aware about python. It seems like sciter already using cocoa. We just have to add menu in case of mac. @c-smile...
@c-smile There is one more requirement to make menu working. Build has to be inside Contents/MacOS folder. Otherwise it will have this issue. >There is just one problem I am...
You have to pass data as third parameter like this, ``` {{ include "Params.jet" . }} // Here '.' means value of data passed to scope ``` ``` {{ include...
> found a work around; {{ var = value }} seems to declare with global scope You don't need to declare in global scope.