Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkShowUri

gtkShowUri


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

  • file:///home/gnome/pict.jpg

  • http://www.gnome.org

  • mailto:me

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

Usage

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

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.