5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-06 12:41:55 +08:00
wails/v3/examples
Travis McLane cfe2424f4d
WindowDidMove / WindowDidResize events for Linux and Windows
* [linux] emit system specific event for theme change

Code was incorrectly emitting the `events.Common.ThemeChanged` event
instead of the OS Specific `events.Linux.SystemThemeChanged` event.
It is the reponsibility of the code in events_common_linux.go to map
it to the common variety.

* [linux] implement WindowDidMove

* [linux] implement debounce for WindowDidMove

* [example] listen for events.Common.WindowDidMove

* [windows] move WindowDidMove mapper outside of DnD guard

* WindowDidResize implementation

* windows: WindowDidResize

* chore: changelog update

* events.Common.WindowDidMove and events.Common.WindowDidResize
2024-06-30 16:11:45 -05:00
..
binding [v3] Enforce stricter typing for generated bindings (#3498) 2024-05-19 23:28:45 +10:00
build Fix non-windows build issues 2024-06-09 08:28:38 +10:00
clipboard Mac examples + readme updated 2023-10-17 20:25:36 +11:00
contextmenus Fix context menu example 2024-03-20 21:18:46 +11:00
dev Normalise app/webview options 2024-03-17 20:57:46 +11:00
dialogs Improve default taskfile 2023-11-16 22:59:04 +11:00
drag-n-drop [v3] Update and fix runtime JS API (#3295) 2024-03-20 20:30:14 +11:00
environment example: environment - change css 2024-05-03 12:52:15 -05:00
events [v3] Update and fix runtime JS API (#3295) 2024-03-20 20:30:14 +11:00
frameless Major plugin updates 2024-04-14 21:41:33 +10:00
hide-window Add BundledAssetFileServer for bundled /wails/runtime.js. Update examples. 2024-03-17 15:08:30 +11:00
keybindings Move to latest webkit2 and remove older code. 2024-03-06 16:59:13 -06:00
menu Initial menu item bitmap support 2023-10-22 09:32:04 +11:00
plain [v3] Update and fix runtime JS API (#3295) 2024-03-20 20:30:14 +11:00
plugins Major plugin updates 2024-04-14 21:41:33 +10:00
raw-message Support raw messages from JS 2024-06-08 20:43:24 +10:00
screen [v3] Update and fix runtime JS API (#3295) 2024-03-20 20:30:14 +11:00
show-macos-toolbar [v3] Add option for showing the toolbar in fullscreen mode on macOS (#3282) 2024-03-02 20:10:25 +11:00
systray Support linux systrays, of sorts... 2024-03-06 16:59:13 -06:00
video [v3] Update and fix runtime JS API (#3295) 2024-03-20 20:30:14 +11:00
window WindowDidMove / WindowDidResize events for Linux and Windows 2024-06-30 16:11:45 -05:00
window-api [v3] Update and fix runtime JS API (#3295) 2024-03-20 20:30:14 +11:00
wml [v3] Update and fix runtime JS API (#3295) 2024-03-20 20:30:14 +11:00
linux_status.org add linux status for examples 2023-11-06 10:49:14 -06:00
README.md Improve documentation 2023-12-13 22:40:35 +11:00

v3

NOTE: The examples in this directory may or may not compile / run at any given time during alpha development.

Running the examples

cd v3/examples/<example>
go mod tidy
go run .

Compiling the examples

cd v3/examples/<example>
go mod tidy
go build
./<example>