Commit graph

3,029 commits

Author SHA1 Message Date
Lea Anthony
2b91ced1b7
Support SetPosition
Optimise event listener callbacks
2022-12-24 13:38:48 +11:00
Lea Anthony
b7f1defbf3
NavigateToURL -> SetURL
Fixed typo in colour
Removed EnableDevTools
2022-12-23 23:18:28 +11:00
Lea Anthony
2946a0aa25
GetCurrentWindow -> CurrentWindow 2022-12-23 19:55:54 +11:00
Lea Anthony
b043126031
Add open file dialog filters
Add clipboard
Fix mouse event handling
2022-12-23 07:34:12 +11:00
Lea Anthony
4d58b56d54
Improve dialogs 2022-12-21 21:30:26 +11:00
Lea Anthony
025e8d7645
Add SaveFileDialog
Add Toolbar Styles
Add Invisible Titlebar option with drag support
2022-12-20 21:49:19 +11:00
Lea Anthony
e7abe1c606
Add Webview navigation events
Add HTML/JS/CSS in config
Add RenderHTML()
Tidy up window delegate
2022-12-19 21:17:50 +11:00
Lea Anthony
ea1f086289
OpenDialog attach to window & multiple files selection 2022-12-19 08:26:59 +11:00
Lea Anthony
b1e8f2f887
Start of file dialogs 2022-12-18 23:06:31 +11:00
Lea Anthony
45adc49683
Add application icon support
Add message dialog support
Add default icons
Add png to byte slice task
Fixed kitchen sink
2022-12-18 13:06:03 +11:00
Lea Anthony
2409984aab
Add application about dialog
Add application icon support
2022-12-18 00:40:53 +11:00
Lea Anthony
8f9eeb8055
Improve menu demo 2022-12-17 20:49:58 +11:00
Lea Anthony
a8d5f185c2
Fix resizing bug
Refactor some application setters
2022-12-17 20:49:46 +11:00
Lea Anthony
bbb418f98f
Fix submenu radio processing 2022-12-17 20:49:04 +11:00
Lea Anthony
f8eb680559
Add Window & Help menus
Fix min/max sizing
2022-12-17 19:56:29 +11:00
Lea Anthony
da5fa806d7
Add Zoom In/Out & Actual size roles 2022-12-16 21:28:16 +11:00
Lea Anthony
88f6a3d1b9
Refactor and support more roles 2022-12-16 21:09:31 +11:00
Lea Anthony
475880c0a8
Add services, hide, hideothers, unhide role
Add application.Name()
refactor roles
Add app menu role
2022-12-16 21:06:49 +11:00
Lea Anthony
faf418eac0
Add global reference for application
Add default application meu for Mac
Add window example
Fix invalid accelerator error logging
2022-12-15 21:21:19 +11:00
Lea Anthony
f35b8dfec5
Refactor Application
Add SetActivationPolicy
Added labels to menus
2022-12-15 18:06:09 +11:00
Lea Anthony
14fcfb8348
Refactor event types 2022-12-15 18:03:01 +11:00
Lea Anthony
f84c4aca72
Refactor message processing functions 2022-12-15 08:01:49 +11:00
Lea Anthony
dad7798da9
New Systray example 2022-12-15 08:01:21 +11:00
Lea Anthony
79af667b7a
Support Menu Accelerators 2022-12-15 08:00:49 +11:00
Lea Anthony
d84cb5b190
Fix enabled menuitem 2022-12-14 19:15:58 +11:00
Lea Anthony
7c18f25508
Support radio menuitems
Support systemtray destroy()
2022-12-14 19:03:27 +11:00
Lea Anthony
085de606ee
Support submenus 2022-12-14 08:48:17 +11:00
Lea Anthony
c7ac90def4
Support template icons 2022-12-14 08:26:52 +11:00
Lea Anthony
bb36ce61bc
Refactor dispatching 2022-12-14 07:52:10 +11:00
Lea Anthony
a35a876094
Add support for system tray + menus 2022-12-13 21:54:12 +11:00
Lea Anthony
f38c6c6d1c
Add Fatal() 2022-12-11 20:05:00 +11:00
Lea Anthony
f6a16950f2
Add Window methods Width(), Height(), Size() + Position()
Fix main thread locking issue
Add Window aliases
2022-12-11 19:57:20 +11:00
Lea Anthony
ddb2f63f7b
Support Window aliases 2022-12-11 14:39:53 +11:00
Lea Anthony
bf8e541221
Support Window events
Convert events to uint
Rename system events to application events
2022-12-11 13:01:38 +11:00
Lea Anthony
4a2cf597c2
Fix resizable 2022-12-11 11:26:21 +11:00
Lea Anthony
27370559d3
Refactor Is* methods
Add more events
2022-12-11 11:09:52 +11:00
Lea Anthony
a134bfac42
Add Center
Add more events
2022-12-10 22:34:15 +11:00
Lea Anthony
d5e21d5003
Fix race condition in closing window during navigating
Add sane defaults
2022-12-09 08:22:17 +11:00
Lea Anthony
85abb1122f
Add main thread dispatching
Make `window.Run` operate on main thread
2022-12-09 07:47:47 +11:00
Lea Anthony
0257362a86
Support per-window message dispatching 2022-12-08 23:06:27 +11:00
Lea Anthony
1872672d0c
Support appearance 2022-12-08 18:20:04 +11:00
Lea Anthony
644655662e
Support toolbar config 2022-12-08 18:09:02 +11:00
Lea Anthony
508bbb4fb4
Support Min/Max/Fullscreen, BackgroundColour 2022-12-08 17:25:39 +11:00
Lea Anthony
cb9df61a98
Support MacBackdrop type
Fix devtools window error
2022-12-08 07:47:04 +11:00
Lea Anthony
ab976e56af
Support ExecJS 2022-12-07 23:58:45 +11:00
Lea Anthony
df1cc2ee0b
Support EnableDevTools 2022-12-07 23:52:16 +11:00
Lea Anthony
af6daa273e
Support min/max window size 2022-12-07 23:44:19 +11:00
Lea Anthony
05803fb5d5
Add more Window API 2022-12-07 23:30:20 +11:00
Lea Anthony
5a37091bb0
Initial play around 2022-12-07 21:55:09 +11:00
Lea Anthony
b84a2e5255
Windows tray menus (#2181)
* Add example

* Add windows systray

* Add gitkeep

* use windows.GUID
2022-12-06 20:55:56 +11:00