showUri

fnbool showUri(gdk.screen.Screen screen, string uri, uint timestamp)

A convenience function for launching the default application to show the uri. Like [gtk.global.showUriOnWindow], but takes a screen as transient parent instead of a window.

Note that this function is deprecated as it does not pass the necessary information for helpers to parent their dialog properly, when run from sandboxed applications for example.

Parameters

screenscreen to show the uri on or null for the default screen
urithe uri to show
timestampa timestamp to prevent focus stealing

Returns

true on success, false on error

Throws

[ErrorWrap]

Deprecated

Use [gtk.global.showUriOnWindow] instead.