5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-21 03:19:31 +08:00
wails/v3/pkg/application
Lea Anthony a6757c352f
Add shutdown tasks functionality to application
A new method OnShutdown was introduced to allow adding tasks to be run when the application shuts down. The shutdown tasks are run on the main thread and in the order they were added, with the application option `OnShutdown` being run first. This allows more controlled and managed shutdown of the application.
2024-01-14 08:17:17 +11:00
..
assets/alpha Mac examples + readme updated 2023-10-17 20:25:36 +11:00
application_darwin_delegate.h [darwin] Support Ignore mouse events 2023-10-29 20:29:45 +11:00
application_darwin_delegate.m Improve window teardown on termination 2024-01-09 07:45:56 +11:00
application_darwin.go Improve window teardown on termination 2024-01-09 07:45:56 +11:00
application_darwin.h [v3 darwin] Add darwin identifier to all C files of darwin 2023-05-30 16:32:00 +08:00
application_debug.go Fix version in debug build 2023-09-04 19:51:48 +10:00
application_linux.go [linux] Add webkit version detection + capabilities 2023-11-12 08:21:31 +11:00
application_production.go Fix production build 2023-09-01 22:06:43 +10:00
application_windows.go [v3 windows] avoid casting ApplicationEvent as int 2023-11-06 12:14:18 -06:00
application.go Add shutdown tasks functionality to application 2024-01-14 08:17:17 +11:00
bindings.go Fix modifier processing on windows. 2023-10-15 13:53:31 +11:00
clipboard_darwin.go [v3 windows] Add clipboard support 2023-06-10 13:01:10 +10:00
clipboard_linux.go [v3] move linux clipboard logic to linux_cgo 2023-10-02 11:07:12 -05:00
clipboard_windows.go [v3 windows] Add clipboard support 2023-06-10 13:01:10 +10:00
clipboard.go [linux] support clipboard 2023-10-02 20:47:04 +11:00
context_application_event.go darwin: add event ApplicationShouldHandleReopen (#2991) 2023-10-22 21:12:12 +11:00
context_window_event.go [windows] Drag-n-drop support 2023-10-21 11:21:10 +11:00
context.go Support context menus 2023-02-10 08:25:52 +11:00
dialogs_darwin_delegate.h [v3 darwin] Add darwin identifier to all C files of darwin 2023-05-30 16:32:00 +08:00
dialogs_darwin_delegate.m [v3 darwin] Add darwin identifier to all C files of darwin 2023-05-30 16:32:00 +08:00
dialogs_darwin.go [darwin] fix CATransaction errors. Update docs. 2023-11-12 17:06:11 +11:00
dialogs_linux.go [v3] send dialog results over channels 2023-10-02 11:07:12 -05:00
dialogs_windows.go Custom icon shows app icon 2023-10-11 21:29:40 +11:00
dialogs.go [v3] send dialog results over channels 2023-10-02 11:07:12 -05:00
environment.go Application: increase message buffer sizes, process all messages in goroutine, Add IsDebug to environment info. 2023-12-29 12:48:26 +11:00
errors.go merge exp branch 2023-01-18 21:42:49 +11:00
events_common_darwin.go Improve window teardown on termination 2024-01-09 07:45:56 +11:00
events_common_windows.go Fix context menu issues. 2023-10-10 21:48:47 +11:00
events_test.go update wml events to be parseable (#2561) 2023-04-11 18:28:06 +10:00
events.go Application: increase message buffer sizes, process all messages in goroutine, Add IsDebug to environment info. 2023-12-29 12:48:26 +11:00
image.go V3 alpha linux dbus (#2996) 2023-10-21 11:39:46 +11:00
keys_darwin.go merge exp branch 2023-01-18 21:42:49 +11:00
keys_linux.go Linux Keybinds 2023-11-06 10:49:11 -06:00
keys_windows.go Fix modifier processing on windows. 2023-10-15 13:53:31 +11:00
keys.go Fix modifier processing on windows. 2023-10-15 13:53:31 +11:00
linux_cgo.go [v3 linux] correct bug in getScreenByIndex 2023-11-09 21:11:35 -06:00
linux_purego.go [v3] implement Window interface 2023-09-28 11:39:39 -05:00
logger_default.go Add LogLevel application option. Update log plugin to have log levels. 2023-09-13 09:44:37 +10:00
logger_windows.go Add LogLevel application option. Update log plugin to have log levels. 2023-09-13 09:44:37 +10:00
mainthread_darwin.go [v3 mac] Better main thread calls 2023-06-16 20:48:57 +10:00
mainthread_linux.go [v3 linux] initial linux implementation 2023-06-23 21:50:51 -05:00
mainthread_windows.go [v3 windows] Fix missing panic stacktraces during message loop 2023-07-15 23:56:26 +02:00
mainthread.go [linux] support clipboard 2023-10-02 20:47:04 +11:00
menu_darwin.go [darwin] Fix menu icon 2023-10-22 14:34:04 +11:00
menu_linux.go [v3 linux] lower signal memory usage 2023-10-10 12:38:10 -05:00
menu_windows.go Initial menu item bitmap support 2023-10-22 09:32:04 +11:00
menu.go [v3 windows] Support About box. Improve app menu handling. 2023-06-06 20:40:38 +10:00
menuitem_darwin.go Fix hex keys5 (#3140) 2023-12-18 08:54:55 +11:00
menuitem_darwin.h [v3 darwin] Add darwin identifier to all C files of darwin 2023-05-30 16:32:00 +08:00
menuitem_darwin.m [v3 darwin] Add darwin identifier to all C files of darwin 2023-05-30 16:32:00 +08:00
menuitem_linux.go [v3 linux] menuItem.setBitmap support 2023-10-26 16:56:06 -05:00
menuitem_windows.go Initial menu item bitmap support 2023-10-22 09:32:04 +11:00
menuitem.go Initial menu item bitmap support 2023-10-22 09:32:04 +11:00
messageprocessor_application.go [v3] implement Window interface 2023-09-28 11:39:39 -05:00
messageprocessor_browser.go Add BrowserOpenURL and BrowserOpenFile to App. 2023-10-11 20:23:59 +11:00
messageprocessor_call.go Update vanilla+js template and dependencies 2023-12-30 21:11:38 +11:00
messageprocessor_clipboard.go [v3] implement Window interface 2023-09-28 11:39:39 -05:00
messageprocessor_contextmenu.go Application: increase message buffer sizes, process all messages in goroutine, Add IsDebug to environment info. 2023-12-29 12:48:26 +11:00
messageprocessor_dialog.go Application: increase message buffer sizes, process all messages in goroutine, Add IsDebug to environment info. 2023-12-29 12:48:26 +11:00
messageprocessor_events.go Application: increase message buffer sizes, process all messages in goroutine, Add IsDebug to environment info. 2023-12-29 12:48:26 +11:00
messageprocessor_params.go [v3 mac] Better logging 2023-08-18 09:58:43 +10:00
messageprocessor_screens.go Application: increase message buffer sizes, process all messages in goroutine, Add IsDebug to environment info. 2023-12-29 12:48:26 +11:00
messageprocessor_system.go Application: increase message buffer sizes, process all messages in goroutine, Add IsDebug to environment info. 2023-12-29 12:48:26 +11:00
messageprocessor_window.go Application: increase message buffer sizes, process all messages in goroutine, Add IsDebug to environment info. 2023-12-29 12:48:26 +11:00
messageprocessor.go Application: increase message buffer sizes, process all messages in goroutine, Add IsDebug to environment info. 2023-12-29 12:48:26 +11:00
options_application_mac.go Add some more API docs. Small refactors. 2023-09-24 17:23:24 +10:00
options_application_win.go Add some more API docs. Small refactors. 2023-09-24 17:23:24 +10:00
options_application.go [v3] Improve OnShutdown (#3190) 2024-01-10 23:28:15 +11:00
options_linux.go [v3 linux] initial linux implementation 2023-06-23 21:50:51 -05:00
options_mac.go [darwin] Add webview preferences 2023-09-30 15:23:56 +10:00
options_webview_window_win.go Fix permissions build issues 2023-10-25 20:06:53 +11:00
options_webview_window.go [windows] Improved focus handling 2023-12-30 23:34:53 +01:00
plugins.go Fix modifier processing on windows. 2023-10-15 13:53:31 +11:00
popupmenu_windows.go Initial menu item bitmap support 2023-10-22 09:32:04 +11:00
roles.go [v3 windows] Support About box. Improve app menu handling. 2023-06-06 20:40:38 +10:00
screen_darwin.go [v3 mac] Window alignment to systray 2023-07-03 20:15:45 +10:00
screen_linux.go Add API docs. Do small refactors 2023-09-24 08:57:40 +10:00
screen.go Provide types to runtime api 2023-03-31 20:37:50 +11:00
systemtray_darwin.go [darwin] Add systray.OpenMenu 2023-09-21 19:24:30 +10:00
systemtray_darwin.h [v3] Support ANSI label on Mac. Update example. 2023-08-25 06:53:08 +10:00
systemtray_darwin.m [v3] Support ANSI label on Mac. Update example. 2023-08-25 06:53:08 +10:00
systemtray_linux.go [v3 linux] dbus menu icon support 2023-10-26 16:56:06 -05:00
systemtray_windows.go Fix modifier processing on windows. 2023-10-15 13:53:31 +11:00
systemtray.go [v3] implement Window interface 2023-09-28 11:39:39 -05:00
TODO.md merge exp branch 2023-01-18 21:42:49 +11:00
webview_window_darwin_devtools.go [v3 darwin] Add darwin identifier darwin only file 2023-05-30 16:32:01 +08:00
webview_window_darwin_drag.h [v3 darwin] Add darwin identifier to all C files of darwin 2023-05-30 16:32:00 +08:00
webview_window_darwin_drag.m [darwin] Refactor events into mac specific files 2023-10-03 08:33:58 +11:00
webview_window_darwin.go Improve window teardown on termination 2024-01-09 07:45:56 +11:00
webview_window_darwin.h [v3 mac] Refactor drag to use common code 2023-06-18 12:24:44 +10:00
webview_window_darwin.m [darwin] Refactor events into mac specific files 2023-10-03 08:33:58 +11:00
webview_window_linux_devtools.go [v3 linux] update devtools behavior to match win/mac 2023-10-31 14:02:36 -05:00
webview_window_linux.go Improve window teardown on termination 2024-01-09 07:45:56 +11:00
webview_window_windows_devtools.go [v3 windows] Support devtools on startup 2023-06-03 15:19:38 +10:00
webview_window_windows.go Improve window teardown on termination 2024-01-09 07:45:56 +11:00
webview_window.go Improve window teardown on termination 2024-01-09 07:45:56 +11:00
window.go Add BrowserOpenURL and BrowserOpenFile to App. 2023-10-11 20:23:59 +11:00