[gtk.uri_launcher.UriLauncher.launch] instead
showUriFull
fn
void showUriFull(gtk.window.Window parent, string uri, uint timestamp, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)This function launches the default application for showing a given uri.
The callback will be called when the launch is completed. It should call [gtk.global.showUriFullFinish] to obtain the result.
This is the recommended call to be used as it passes information necessary for sandbox helpers to parent their dialogs properly.
Parameters
parent | parent window |
uri | the uri to show |
timestamp | timestamp from the event that triggered this call, or [gdk.types.CURRENT_TIME] |
cancellable | a [gio.cancellable.Cancellable] to cancel the launch |
callback | a callback to call when the action is complete |
Deprecated
Use [gtk.file_launcher.FileLauncher.launch] or