can_launch


Description:

[ Version ( since = "4.20" ) ]
public bool can_launch (Window? parent)

Returns whether the launcher is likely to succeed in launching an application for its uri.

This can be used to disable controls that trigger the launcher when they are known not to work.

Parameters:

this

an uri launcher

parent

the parent window

Returns:

false if the launcher is known not to support the uri, true otherwise