Function

Gtk-3.0Gtkshow_uriDeprecated 3.22Since 2.14

  • 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.

    Parameters

    • Deprecatedscreen: Gdk.Screen

      screen to show the uri on or null for the default screen

    • Deprecateduri: string

      the uri to show

    • Deprecatedtimestamp: number

      a timestamp to prevent focus stealing

    Returns boolean

    true on success, false on error

    2.14

    since 3.22: Use gtk_show_uri_on_window() instead.