mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
app: add Window.Maximize and Center, add Windows implementation
Signed-off-by: Jan Kare Vatne <jkvatne@online.no>
This commit is contained in:
committed by
Elias Naur
parent
dce453e130
commit
9835cd5996
@@ -149,6 +149,11 @@ type driver interface {
|
||||
Close()
|
||||
// Wakeup wakes up the event loop and sends a WakeupEvent.
|
||||
Wakeup()
|
||||
|
||||
// Maximize will make the window as large as possible, but keep the frame decorations.
|
||||
Maximize()
|
||||
// Center will place the window at monitor center.
|
||||
Center()
|
||||
}
|
||||
|
||||
type windowRendezvous struct {
|
||||
|
||||
Reference in New Issue
Block a user