Function gtk4::show_uri

source ·
pub fn show_uri(parent: Option<&impl IsA<Window>>, uri: &str, timestamp: u32)
Expand description

This function launches the default application for showing a given uri, or shows an error dialog if that fails.

Deprecated since 4.10

Use FileLauncher::launch() instead

parent

parent window

uri

the uri to show

timestamp

timestamp from the event that triggered this call, or GDK_CURRENT_TIME