gtkShowUri: gtkShowUri

Description Usage Arguments Details Value Author(s)

View source: R/gtkFuncs.R

Description

This is a convenience function for launching the default application to show the uri. The uri must be of a form understood by GIO. Typical examples are

Ideally the timestamp is taken from the event triggering the gtkShowUri call. If timestamp is not known you can take GDK_CURRENT_TIME.

Usage

1
gtkShowUri(screen = NULL, uri, timestamp, .errwarn = TRUE)

Arguments

screen

screen to show the uri on or NULL for the default screen. [ allow-none ]

uri

the uri to show

timestamp

a timestamp to prevent focus stealing.

.errwarn

Whether to issue a warning on error or fail silently

Details

This function can be used as a replacement for gnomeVfsUrlShow() and gnomeUrlShow(). Since 2.14

Value

A list containing the following elements:

retval

[logical] TRUE on success, FALSE on error.

error

a GError that is returned in case of errors

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.

Related to gtkShowUri in RGtk2...