show_uri_full


Description:

[ CCode ( cname = "gtk_show_uri_full" , finish_name = "gtk_show_uri_full_finish" ) ]
[ Version ( deprecated = true , deprecated_since = "4.10" ) ]
public async bool show_uri_full (string uri, uint32 timestamp, Cancellable? cancellable) throws Error

Warning: show_uri_full is deprecated since 4.10.

This function launches the default application for showing a given uri.

Note:

Use [method@Gtk.FileLauncher.launch] or [method@Gtk.UriLauncher.launch] instead

The callback will be called when the launch is completed. It should call show_uri_full.end 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:

uri

the uri to show

timestamp

timestamp from the event that triggered this call, or gdk_current_time

cancellable

a `GCancellable` to cancel the launch

callback

a callback to call when the action is complete

parent

parent window

user_data

data to pass to callback