github.com/geniusesgroup/libgo@v0.0.0-20220713101832-828057a9d3d4/protocol/gui-navigator.go (about)

     1  /* For license and copyright information please see LEGAL file in repository */
     2  
     3  package protocol
     4  
     5  type GUINavigator interface {
     6  	// Active a page like alt+tab in windows to show Pages() and their states
     7  	SwitcherPage()
     8  
     9  	HomePage() (page GUIPage)
    10  	ActivePage() (page GUIPage)
    11  	// It must reorder by recently active page be last item in the array
    12  	ActivePages() (pages []GUIPage)
    13  
    14  	ActivatePage(url string) // Navigate(url string)
    15  }