Function
Gtk.show_uri_full
Declaration [src]
void
gtk_show_uri_full (
GtkWindow* parent,
const char* uri,
guint32 timestamp,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
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_show_uri_full_finish()
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 |
GtkWindow |
parent window |
|
Can be NULL | |
Ownership is not transferred to the callee | |
uri |
const char* |
the uri to show |
|
Ownership is not transferred to the callee | |
The string is a NUL terminated UTF-8 string | |
timestamp |
guint32 |
timestamp from the event that triggered this call, or |
|
cancellable |
GCancellable* |
a |
|
Can be NULL | |
Ownership is not transferred to the callee | |
callback |
GAsyncReadyCallback |
a callback to call when the action is complete |
|
user_data |
gpointer |
data to pass to |