showUri

fnvoid showUri(gtk.window.Window parent, string uri, uint timestamp)

This function launches the default application for showing a given uri, or shows an error dialog if that fails.

Parameters

parentparent window
urithe uri to show
timestamptimestamp from the event that triggered this call, or [gdk.types.CURRENT_TIME]

Deprecated

Use [gtk.file_launcher.FileLauncher.launch] or

[gtk.uri_launcher.UriLauncher.launch] instead