5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-08 12:00:43 +08:00
Commit Graph

27 Commits

Author SHA1 Message Date
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
ebe91ba11d [darwin] Disable listener caching. Run execJS on main thread. 2023-10-07 20:08:22 +11:00
Lea Anthony
48aef46f57 [darwin] Quick event fix 2023-10-07 12:28:50 +11:00
Lea Anthony
c77c823c3c Revert "[linux] Implement events"
This reverts commit 8ddd29d285.
2023-10-07 12:21:49 +11:00
Lea Anthony
8ddd29d285
[linux] Implement events 2023-10-03 08:37:11 +11:00
Lea Anthony
dc8cbcf410
[darwin] Refactor events into mac specific files 2023-10-03 08:33:58 +11:00
Lea Anthony
86354e9fc0 Support IsDarkMode in application event context. Fix bug with event mapping. 2023-09-15 20:10:09 +10:00
Lea Anthony
ffed41553a [v3 mac] Add IsDarkMode to application and JS runtime. Add Common.ThemeChanged event 2023-08-18 17:36:14 +10:00
Lea Anthony
1945616328
[v3 windows] Fix WindowClose defaults 2023-07-08 20:28:19 +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
3d323ab9d2 [v3] Fix systray example. PositionWindow now takes an offset. EventApplicationDidResignActive -> EventApplicationDidResignActiveNotification 2023-07-04 19:26:00 +10:00
Lea Anthony
3fcac435b2
[v3] Support window events in JS. Fix ExecJS blocking issues. 2023-06-26 22:10:31 +10:00
Lea Anthony
4de5e1b9f1
[v3] Add WindowUnFocus event 2023-06-24 13:23:50 +10:00
Lea Anthony
86f2ac0e96 [v3 mac] Fix WindowShouldClose bug 2023-06-18 11:25:38 +10:00
Lea Anthony
1537a002cc
[v3] Add ShouldClose window method. Remove hideOnClose flag. 2023-06-18 11:12:53 +10:00
Lea Anthony
dc4daaebac
[v3 windows] Support title bar button events 2023-06-13 17:42:14 +10:00
Lea Anthony
6d786902eb
[v3] Add some common window events 2023-06-12 10:27:30 +10:00
Lea Anthony
7c45e3ac13
[v3 mac] Fixed drag 2023-06-09 17:00:07 +10:00
Lea Anthony
1a12890556
[v3 windows] Add Webview2NavigationCompleted event. Support CSS + JS injection 2023-06-05 08:58:53 +10:00
Lea Anthony
6e6f099a99 [v3 mac] Basic common event support. Taskfile refactor 2023-05-30 16:33:32 +08:00
Lea Anthony
402b743553 [v3 windows] Add APM Events 2023-05-30 16:31:48 +08:00
Lea Anthony
178ea9c8c5 [windows] Split out wndProc. Generate windows events, support per-window themes 2023-05-30 16:31:48 +08:00
stffabi
c8d203d4d6
[v3, darwin] Fix leaking WebKit processes on Window close (#2574)
* [v3, darwin] Fix leaking WebKit processes on Window close

* [v3] Remove window from window map if closed
[v3] Implement `HideOnClose` and ensure it isn't removed when closed

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-04-12 21:33:00 +10:00
Lea Anthony
045a830fbc
Add "DragAndDropEnabled" option for window
Add "FileDraggingExited" event
2023-02-15 18:56:52 +11:00
Lea Anthony
2c4c0b4b6b
Add dnd window event + demo 2023-02-12 08:54:08 +11:00
Lea Anthony
f951b51c11
Context menu WIP
options refactor
2023-02-09 18:35:26 +11:00
Lea Anthony
81645190f0
merge exp branch 2023-01-18 21:42:49 +11:00