5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-21 19:39:29 +08:00
wails/v3/pkg/events
Lea Anthony d18b7bc4b8
V3 alpha feature/file association port (#3873)
* Update nsis template

* Move app data into config.yml

* mac support

* Add FileAssociations application config option
Support `ApplicationOpenedWithFile` event on Windows
Add docs

* Add FileAssociations application config option
Support `ApplicationOpenedWithFile` event on Windows
Add docs
Add test project

* Update example & docs.
Fix show window bug.

* Fix window show event bug

* Update changelog
2024-11-09 08:58:20 +11:00
..
defaults.go [v3 windows] Fix WindowClose defaults 2023-07-08 20:28:19 +10:00
events_darwin.go [darwin] Disable listener caching. Run execJS on main thread. 2023-10-07 20:08:22 +11:00
events_darwin.h WindowDidMove / WindowDidResize events for Linux and Windows 2024-06-30 16:11:45 -05:00
events_linux.go Update windowSetupSignalHandlers & linux events 2024-03-06 11:42:19 -06:00
events_linux.h WindowDidMove / WindowDidResize events for Linux and Windows 2024-06-30 16:11:45 -05:00
events.go V3 alpha feature/file association port (#3873) 2024-11-09 08:58:20 +11:00
events.h [darwin] add support for quitting app 2024-01-08 21:22:33 +11:00
events.txt V3 alpha feature/file association port (#3873) 2024-11-09 08:58:20 +11:00
README.md Add events README.md 2023-10-25 20:17:41 +11:00

Events

This package is used to generate the event management code and to allow quick addition of events.

Usage

  1. Add events to events.txt
  2. Run task generate:events

Notes

For events that you want to handle manually, add a ! to the end of the event name and add custom code into the appropriate platform. See this PR for an example of how to do this.