Commit Graph
36 Commits
Author SHA1 Message Date
Lea Anthony aba82cc527 Update system.Environment 2024-03-19 20:37:03 +11:00
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
Travis McLane d2e0e0ed81 [v3 windows] avoid casting ApplicationEvent as int 2023-11-06 12:14:18 -06:00
Lea Anthony 3d88bf8795 Fix context menu issues.
Fix WindowID for requests on windows.
Add `Windows.ApplicationStarted` event
2023-10-10 21:48:47 +11:00
Lea Anthony 740b2b0979 Fix windows icon for about box.
Add NewRGBA and NewRGB methods.
Added README.md to all examples.
Add roadmap.md to docs
2023-10-09 20:56:19 +11:00
Lea Anthony 7cdab16ba9 Add API docs. Do small refactors 2023-09-24 08:57:40 +10:00
Lea Anthony b49f135e31 Add context to application/common events 2023-09-15 17:12:35 +10:00
Lea Anthony 8d3324465e Revert flags change 2023-09-13 16:11:23 +10:00
Lea Anthony ea3509d2e7 Add LogLevel application option. Update log plugin to have log levels. 2023-09-13 09:44:37 +10:00
Lea Anthony d44c8eba1c [v3] Use system logger instead of println 2023-08-28 20:30:40 +10:00
Lea Anthony 841289f1d1 [v3 windows] Support isDarkMode. Add common application event mapping 2023-08-18 19:50:57 +10:00
Lea Anthony c367ef461e [v3 windows] Support isDarkMode 2023-08-18 19:45:59 +10:00
Lea Anthony 77ca8fe9e6 Move webview2 options to application. Improve logging. 2023-08-18 11:06:25 +10:00
Lea Anthony 6cbead5bfe Improved logging++ 2023-08-13 16:52:39 +10:00
Lea Anthony ee29faecbf Log if native Go webview loader is used 2023-08-12 16:36:08 +10:00
Lea Anthony f0bf8cd827 [v3 windows] Refactor events + mappings. Fix app.Quit(). Make systray example work slightly better 2023-07-05 20:35:45 +10:00
Lea Anthony 90e66a7ad4 [v3] Add PanicHandler application option. 2023-07-03 19:52:50 +10:00
Lea Anthony ae9b158b04 [v3 windows] improve main thread calls 2023-06-16 21:04:44 +10:00
Lea Anthony 01e2e46e0d [v3 windows] Support frameless drag. Add /wails/flags endpoint. 2023-06-15 19:08:08 +10:00
Lea Anthony ae691b8e52 [v3 windows] Small icon updates 2023-06-10 10:19:33 +10:00
Lea Anthony eff456aa1a [v3 windows] Improve systray locking 2023-06-06 20:38:01 +10:00
Lea Anthony 9b686b5417 [v3 windows] Support Application Menu, hiding menu items 2023-06-01 22:52:04 +10:00
Lea Anthony 82ec56bc7d [v3 windows] Support GetScreens and GetPrimaryScreen 2023-06-01 22:52:03 +10:00
stffabiandMisite Bao ba150eccae [v3 windows] Add close handling: HideOnClose, QuitOnLastWindowClosed and DisableQuitOnLastWindowClosed 2023-05-30 16:32:00 +08:00
Lea AnthonyandMisite Bao a5b52f2795 [v3 windows] initial systray support 2023-05-30 16:31:58 +08:00