Commit Graph
212 Commits
Author SHA1 Message Date
Lea Anthony 471d626043 Add control to disable window buttons on Mac
Three new options have been introduced in the application options for MacOS to disable the minimize, maximize, and close buttons on the window. Corresponding functionality has been added in the webview window for darwin to handle these new options. These changes have been showcased in the window example main.go file.
2024-02-08 08:31:58 +11:00
Lea Anthony 0b82968c0f Add option to disable min/max windows buttons
This commit introduces the functionality to disable the minimise and maximise buttons on windows. These options have been added to the `application.WebviewWindowOptions` and integrated in the Windows application logic. Effectively, developers can now control the availability of these buttons in their windows applications.
2024-02-07 10:06:07 +11:00
Lea Anthony 5670c1e655 Update compiled runtime 2024-01-31 21:39:46 +11:00
Lea Anthony 5115b294ee Fixed runtime. cp tool. 2024-01-29 21:29:16 +11:00
Lea Anthony c01bc4dbd7 Update runtime 2024-01-29 19:07:44 +11:00
Lea Anthony 7674f8eb2b Fixed dialogs on macOS. Update WML example to use compiled runtime. 2024-01-25 21:00:33 +11:00
Thomas SénéchalandGitHub 44bbce125b [V3/macos] Fix systray click handling when no attached window (#3207)
* Fix systray click handling

* Open Menu if no window is attached in defaultClickHandler()

* Remove systemTraySetMenu function

* Fix a crash in hide-window example

* Update changelog
2024-01-17 22:36:22 +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
stffabi b37d0f1cf4 [windows] Improved focus handling
Make sure the webview is focused on initial show if the window
is focused and make behaviour consistent with macOS
2023-12-30 23:34:53 +01:00
Lea Anthony 371e57588f Update bindings example 2023-12-16 20:57:00 +11:00
Lea Anthony ea409a2cb2 Improve documentation 2023-12-13 22:40:35 +11:00
Lea Anthony 9629b1414e Improve default taskfile 2023-11-16 22:59:04 +11:00
Lea Anthony eefeadc018 [darwin] fix hiding in window example 2023-11-12 16:13:09 +11:00
Travis McLane f787cf4bc2 [v3 linux] show dev tools if OpenInspectorAtStartup=true 2023-11-06 12:04:20 -06:00
Travis McLane 1a90b45f18 add linux status for examples 2023-11-06 10:49:14 -06:00
Travis McLane e420900e55 [v3 examples] go.* update 2023-11-06 10:41:14 -06:00
Travis McLane 7f1706fc74 [v3 examples/build] Taskfile update
- add Linux production build
- remove OS X env from basic build
2023-11-06 10:41:14 -06:00
Travis McLane c6ecbd56e5 [v3 examples/bindings] correct binding output + example
- disable output of `import <model> from models` line
- update README to generate bindings in usable location for HTML
- update HTML to reference bindings correctly
- update javascript to call and process the bound Greet function
2023-10-31 17:24:00 -05:00
Travis McLane 1b850662ed [v3 example/bindings] enable DevTools 2023-10-31 17:15:16 -05:00
Lea Anthony 985c5bf8e2 [darwin] Support Ignore mouse events
[darwin] Support applicationSupportsSecureRestorableState
Update video example
2023-10-29 20:29:45 +11:00
Lea Anthony 3b50e0cbc5 Update docs 2023-10-28 15:44:36 +11:00
Travis McLane 1a1e5b743a [v3 linux] dbus menu icon support 2023-10-26 16:56:06 -05:00
Lea Anthony 3422c40e19 [windows] ignore mouse events 2023-10-23 20:58:55 +11:00
Lea Anthony ff08a5ca2b [windows] html fullscreen support 2023-10-23 20:49:21 +11:00
f8250fb0d8 darwin: add event ApplicationShouldHandleReopen (#2991)
* darwin: add ApplicationShouldHandleReopen

* docs: update changelog with mr id

* events: update id

* feat: always return true

* Merge v3-alpha and regenerate events

* darwin: allow pass nsdirectory to processApplicationEvent

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-10-22 21:12:12 +11:00