5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-11 22:49:29 +08:00
wails/v3/examples/window
Lea Anthony 861ddea1b2
Add option to prevent application shutdown
This update allows the application shutdown to be cancelled. It implements the shouldQuit function, which can prevent the application from quitting if it returns false. Additional checks have been added to ensure cleanup and quit processes are performed only if required. The darwin delegate and linux and windows applications were modified to include this new functionality.
2024-01-17 20:45:30 +11:00
..
main.go Add option to prevent application shutdown 2024-01-17 20:45:30 +11:00
README.md Mac examples + readme updated 2023-10-17 20:25:36 +11:00

Window Example

This example is a demonstration of the Windows API.

Running the example

To run the example, simply run the following command:

go run .

Status

Platform Status
Mac
Windows Working
Linux