Comments (5)
In the upcoming V2 there is a Closing event raised for the native window (which can even prevent the window from closing). There is also the built-in browser event for closing the webview control that can be used in JavaScript. Can you explain your scenario? Do you want to write a JavaScript handler or a C# handler? Thanks.
from photino.native.
Hey, Thanks for your reply, love the project!
The Scenario is a full screen kiosk-style app that shows an animated webpage while it is doing some work in the background - in C#. Once this is done, the application closes the window and runs another application.
We are also looking at using photino for the aforementioned other application, but then we would need to be able to close the current window from javascript. This works if you run most browsers (as per spec) with an url as a parameter and dont navigate away.
This feature would also help circumvent the issues I am having as a result of tryphotino/photino.NET#52
from photino.native.
This should be fixed with the release of Photino v2. Please give it a try and let us know if the problem remains.
from photino.native.
@ottodobretsberger Where can I get v2? I dont see a git tag?
from photino.native.
The V2 NuGet packages are available for use from NuGet.org. For source code, pull the latest 'master' branch in GitHub. We did not add tags.
from photino.native.
Related Issues (20)
- NuGet package for Photino.Native contains no dylib for osx-arm64 HOT 3
- Error execution after successful compilation of arm64 HOT 4
- The version released(2.4.1) does not include linux-arm64? Is it no longer supported? HOT 2
- Add SingleInstanceMode to Photino initialization HOT 2
- An input type-in symbol keeps blinking in linux HOT 3
- Cancel save file dialog, will crash the application HOT 1
- Is it possible to wrap Photino as an Avalonia control? HOT 1
- Android support?
- Allow custom web process startup arguments HOT 1
- webkit_settings_set_disable_web_security HOT 2
- Possible to use this directly instead of Photino.NET? HOT 3
- SIGSEGV calling gdk_window_set_keep_above HOT 1
- DIsable status bar on WebView HOT 1
- Default window size (and possibly position) no longer work on Windows (maybe others)
- Close windows event do not work HOT 1
- Build installer HOT 3
- [WSL] Build on linux HOT 2
- libwebkit2gtk-4.0 not available in Ubuntu 24.04
- System.DllNotFoundException on Win7 HOT 2
- Automate Photino browser UI HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photino.native.