show_uri_full


Description:


public async bool show_uri_full (Window? parent, 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:

parent

parent window

uri

the uri to show

timestamp

timestamp from the event that triggered this call, or gdk_current_time

cancellable

a Cancellable to cancel the launch

callback

a callback to call when the action is complete

user_data

data to pass to callback


Namespace: Gtk
Package: gtk4