MCPcopy Create free account
hub / github.com/cogentcore/core / OpenURL

Method OpenURL

system/app.go:134–134  ·  view source on GitHub ↗

OpenURL opens the given URL in the user's default browser. On Linux this requires that xdg-utils package has been installed, since it uses the xdg-open command.

(url string)

Source from the content-addressed store, hash-verified

132 // this requires that xdg-utils package has been installed, since it uses
133 // the xdg-open command.
134 OpenURL(url string)
135
136 // OpenFiles returns file names that have been set to be open at startup.
137 OpenFiles() []string

Callers 12

openFileDefaultMethod · 0.65
handleTextFunction · 0.65
handleTextTagFunction · 0.65
mainFunction · 0.65
OpenURLMethod · 0.65
makeFilesRowMethod · 0.65
InitMethod · 0.65
ConfigGUIMethod · 0.65
AuthFunction · 0.65
mainFunction · 0.65
homePageFunction · 0.65
openLinkMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected