showUri

fun showUri(parent: Window? = null, uri: String, timestamp: <Error class: unknown class>)(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.10.

Use method@Gtk.FileLauncher.launch or method@Gtk.UriLauncher.launch instead

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

Parameters

parent

parent window

uri

the uri to show

timestamp

timestamp from the event that triggered this call, or %GDK_CURRENT_TIME