MountOperation.showUri

A convenience function for launching the default application to show the uri. Like gtk_show_uri_on_window(), 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.

class MountOperation
static
bool
showUri
(,
string uri
,)

Parameters

screen Screen

screen to show the uri on or NULL for the default screen

uri string

the uri to show

timestamp uint

a timestamp to prevent focus stealing

Return Value

Type: bool

TRUE on success, FALSE on error

Throws

GException on failure.

Meta

Since

2.14