5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-05 00:30:55 +08:00
wails/v3/examples/window
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
..
main.go WindowDidMove / WindowDidResize events for Linux and Windows 2024-06-30 16:11:45 -05:00
README.md Mac examples + readme updated 2023-10-17 20:25:36 +11:00
windows.go Fix non-windows build issues 2024-06-09 08:28:38 +10:00

Window Example

This example is a demonstration of the Windows API.

Running the example

To run the example, simply run the following command:

go run .

Status

Platform Status
Mac
Windows Working
Linux