Function
Gtkshow_uri
deprecated: 3.22 since: 2.14
Declaration [src]
gboolean
gtk_show_uri (
GdkScreen* screen,
const gchar* uri,
guint32 timestamp,
GError** error
)
Description [src]
A convenience function for launching the default application to show the uri. Like gtk_show_uri_on_window(), but takes a screen as transient parent instead of a window.
Note that this function is deprecated as it does not pass the necessary information for helpers to parent their dialog properly, when run from sandboxed applications for example.
Available since: 2.14
Deprecated since: 3.22
Use gtk_show_uri_on_window()
instead.
Parameters
screen
-
Type:
GdkScreen
Screen to show the uri on or
NULL
for the default screen.The argument can be NULL
.The data is owned by the caller of the function. uri
-
Type:
const gchar*
The uri to show.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. timestamp
-
Type:
guint32
A timestamp to prevent focus stealing.
error
-
Type:
GError **
The return location for a recoverable error.
The argument can be NULL
.If the return location is not NULL
, then you must initialize it to aNULL
GError*
.The argument will be left initialized to NULL
by the function if there are no errors.In case of error, the argument will be set to a newly allocated GError
; the caller will take ownership of the data, and be responsible for freeing it.