DesktopAppInfoLookup#
Deprecated since version 2.28: The DesktopAppInfoLookup
interface 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
DesktopAppInfoLookup
implementation.The
DesktopAppInfoLookup
interface and this function is used to implementget_default_for_uri_scheme
backends 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
DesktopAppInfoLookup
interface is deprecated and unused by GIO.- Parameters:
uri_scheme – a string containing a URI scheme.
Virtual Methods#
- class DesktopAppInfoLookup
- do_get_default_for_uri_scheme(type, self, uri_scheme: str) AppInfo | None #
Gets the default application for launching applications using this URI scheme for a particular
DesktopAppInfoLookup
implementation.The
DesktopAppInfoLookup
interface and this function is used to implementget_default_for_uri_scheme
backends 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
DesktopAppInfoLookup
interface is deprecated and unused by GIO.- Parameters:
type
self
uri_scheme – a string containing a URI scheme.