show_uri_full


Description:

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

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

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




2022 vala-language.org