refactor(display): add AX usage examples
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run

This commit is contained in:
Virgil 2026-04-02 20:39:36 +00:00
parent 274a81689c
commit 98b73fc14c

View file

@ -1415,6 +1415,7 @@ func (s *Service) GetWindowTitle(name string) (string, error) {
}
// ResetWindowState clears saved window positions.
// Use: _ = svc.ResetWindowState()
func (s *Service) ResetWindowState() error {
ws := s.windowService()
if ws != nil {
@ -1424,6 +1425,7 @@ func (s *Service) ResetWindowState() error {
}
// GetSavedWindowStates returns all saved window states.
// Use: states := svc.GetSavedWindowStates()
func (s *Service) GetSavedWindowStates() map[string]window.WindowState {
ws := s.windowService()
if ws == nil {