Serge Zaitsev

Results 110 comments of Serge Zaitsev

I have a similar issue. Seems like Amber compiles function call `foo()` as `{{call .foo}}`. However, there is no method `foo()` in the data bound (you pass nil as your...

@manucorporat Looks great, thanks! Is there any reason to return the handler function name as a string, not as a `Func` pointer? If I understand it correctly - the final...

Unfortunately, there is a lack of window-related APIs in the webview at the moment. To achieve what you want we need to support: * Custom window button handling (close, minimize,...

@matthewmueller Hey, good question! For notification system IIRC no run loop is needed at all. For tray libraries the same main run loop can be reused on GTK and Cocoa...

@msepp You are reading my mind. I had this trello card/task for weeks already, but haven't got time to think more about it or to make an implementation. So, currently...

You are correct that the thread can outlive the main loop. For the sake of simplicity I don't terminate and join the thread back (does C++ has a standard way...

> `webview_dispatch` function already does the necessary synchronization Yes. > and it will guarantee to not dereference its webview argument after webview_exit has been called? No, it's technically an error...

> I ran into the following issue: The callback passed to webview_dispatch has to be a function pointer (with system calling convention, right?) so it can't be a Rust closure....

@Boscop Yeah, closure state can't be a local var, it should be on heap, but I don't know how Rust will control its lifecycle then. If you want to keep...

Well, technically it's possible but requires some shell scripting: ``` #!/bin/sh """:" for cmd in pypy3 python3 ; do command -v > /dev/null $cmd && exec $cmd $0 "$@" done...