Window.showUriOnWindow

A convenience function for launching the default application to show the uri. Like gtk_show_uri(), but takes a window as transient parent instead of a screen.

class Window
static
bool
showUriOnWindow
(,
string uri
,)

Parameters

parent Window

parent window

uri string

the uri to show

timestamp uint

a timestamp to prevent focus stealing

Return: %TRUE on success, %FALSE on error

Throws

GException on failure.

Meta

Since

3.22