Function

Gtk-4.0Gtkshow_uriDeprecated 4.10

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

    Parameters

    • Deprecatedparent: Gtk.Window

      parent window

    • Deprecateduri: string

      the uri to show

    • Deprecatedtimestamp: number

      timestamp from the event that triggered this call, or GDK_CURRENT_TIME

    Returns void

    since 4.10: Use Gtk.FileLauncher.launch or Gtk.UriLauncher.launch instead