Travis McLane
0e0db50dea
ensure event listener is activated (hooks)
...
The OS X delegate listener for an event is only activated if the
`on` call is made for the event id.
This is an optimization to prevent flooding the application with
events that the application does not actually care about.
The `impl.on` call is what activates the response handler for the
event in question. This logic was missing in the RegisterHooks()
function but is present in the `On()` function. In the case of using
`On()` first followed by `RegisterHooks()` things work correctly.
2024-04-26 13:47:08 -05:00
Lea Anthony
5d0a58cc6a
Update GetRelative/AbsolutePosition to take border size into account
2024-04-25 15:59:33 +10:00
Lea Anthony
368ca13314
Update window interface
2024-04-25 15:26:31 +10:00
Lea Anthony
2cee1edcb5
Add window.GetBorderSizes
2024-04-25 15:22:01 +10:00
Travis McLane
1b288a0a1a
removing experimental server plugin
2024-04-23 09:32:21 -05:00
Harry Fox and GitHub
81aba310d0
update Taskfile.tmpl.yml to include darwin run task ( #3417 )
...
* update Taskfile.tmpl.yml to include darwin run task
* add changelog line for #3417
2024-04-23 18:19:25 +10:00
Atterpac and GitHub
b050a07362
dev mode adapt to OS ( #3412 )
...
changelog
2024-04-22 12:44:10 +10:00
021efab84d
allow for non-Window WailsEvent listeners ( #3406 )
...
* allow for non-Window WailsEvent listeners
- adds a RegisterListener function on the App struct such
that code can listen for WailsEvent(s) even if it isn't a Window
- rename dispatchEventToWindows -> dispatchEventToListeners
- add all windows and WailsEventListeners to slice before emitting
* Update v3/pkg/application/application.go
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2024-04-20 09:39:57 +10:00
Atterpac and GitHub
0a42a050bd
fix dev mode windows pipe ( #3402 )
2024-04-18 23:14:20 +10:00
abichinger and GitHub
9ca1b30da1
[v3 alpha] Fix drag-n-drop on some linux distros ( #3346 )
...
* Fix drag and drop on linux
- Move C code
* Use GTK_DEST_DEFAULT_DROP
* Update changelog
* Move C code back into `linux_cgo.go`
2024-04-15 10:05:23 -05:00
220d5535f7
revert dialog channel close ( #3395 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2024-04-15 18:03:35 +10:00
Atterpac and GitHub
0895e6a508
refresh version up ( #3391 )
2024-04-15 16:57:19 +10:00
Lea Anthony
6f41dbf954
Merge branch 'refs/heads/v3-alpha-feature/plugin-updates' into v3-alpha
2024-04-14 21:42:16 +10:00
Lea Anthony
c7ed7e72d4
Major plugin updates
2024-04-14 21:41:33 +10:00
abichinger and GitHub
7c921d6a81
[v3 alpha] implement setIcon on linux ( #3354 )
...
* implement `linuxApp.setIcon`
* Move code into `linux_cgo.go`
2024-04-09 11:04:54 -05:00
Travis McLane
16a029754f
disable 'server' example
...
Doesn't compile currently.
Disabling such that the workflow succeeds
2024-04-08 13:29:42 -05:00
Travis McLane
3c9fd67fd0
doctor: correct compilation errors
2024-04-08 13:23:12 -05:00
atterpac and Travis McLane
6f75b00463
Proper syncing and canceling of dialogs
...
s
s
s
2024-04-08 11:17:05 -05:00
Travis McLane
105d9f0d3a
allow directory selection
2024-04-07 16:42:33 -05:00
atterpac and Travis McLane
38f6b1297d
Call linux dialog on main thread
2024-04-07 16:42:33 -05:00
Lea Anthony
cf130a6e25
[windows] Fix directory select in Open Dialog
2024-04-06 14:38:43 +11:00
Lea Anthony
e91c30fad0
Small doctor improvements
2024-04-03 20:48:55 +11:00
Lea Anthony
88ff84f5a5
[windows] Improve Set window icon when in debug mode
2024-04-01 05:02:39 +11:00
Lea Anthony
eee373f15a
[windows] Set window icon when in debug mode
2024-04-01 04:55:34 +11:00
Lea Anthony
c839c053cb
[windows] Fix min/max buttons
2024-03-29 21:44:59 +11:00