mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 09:25:38 +00:00
app/internal: [Windows] support Window.Close
Signed-off-by: Egon Elbre <egonelbre@gmail.com>
This commit is contained in:
+2
-2
@@ -211,8 +211,8 @@ func (w *Window) WriteClipboard(s string) {
|
||||
// Close the window. The window's event loop should exit when it receives
|
||||
// system.DestroyEvent.
|
||||
//
|
||||
// Currently, only the macOS driver implements this functionality, all others
|
||||
// are stubbed.
|
||||
// Currently, only macOS and Windows driver implements this functionality,
|
||||
// all others are stubbed.
|
||||
func (w *Window) Close() {
|
||||
w.driverDo(func() {
|
||||
w.driver.Close()
|
||||
|
||||
Reference in New Issue
Block a user