DesktopAppInfoLookup#
Deprecated since version 2.28:
- The
DesktopAppInfoLookupinterface is deprecated and unused by GIO.
- class DesktopAppInfoLookup(*args, **kwargs)#
DesktopAppInfoLookup is an opaque data structure and can only be accessed
using the following functions.
Methods#
- class DesktopAppInfoLookup
- get_default_for_uri_scheme(uri_scheme: str) AppInfo | None#
Gets the default application for launching applications using this URI scheme for a particular
DesktopAppInfoLookupimplementation.The
DesktopAppInfoLookupinterface and this function is used to implementget_default_for_uri_schemebackends in a GIO module. There is no reason for applications to use it directly. Applications should useget_default_for_uri_scheme.Deprecated since version 2.28:
- The
DesktopAppInfoLookupinterface is deprecated and unused by GIO.
- Parameters:
uri_scheme – a string containing a URI scheme.
- The
Virtual Methods#
- class DesktopAppInfoLookup
- do_get_default_for_uri_scheme(uri_scheme: str) AppInfo | None#
Gets the default application for launching applications using this URI scheme for a particular
DesktopAppInfoLookupimplementation.The
DesktopAppInfoLookupinterface and this function is used to implementget_default_for_uri_schemebackends in a GIO module. There is no reason for applications to use it directly. Applications should useget_default_for_uri_scheme.Deprecated since version 2.28:
- The
DesktopAppInfoLookupinterface is deprecated and unused by GIO.
- Parameters:
uri_scheme – a string containing a URI scheme.
- The