showUri
fn
bool 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
screen | screen to show the uri on or null for the default screen |
uri | the uri to show |
timestamp | a timestamp to prevent focus stealing |
Returns
true on success, false on error
Throws
[ErrorWrap]
Deprecated
Use [gtk.global.showUriOnWindow] instead.