Gio.DesktopAppInfoLookup¶
Implementations: | |
---|---|
None |
Methods¶
get_default_for_uri_scheme (uri_scheme) |
Virtual Methods¶
do_get_default_for_uri_scheme (uri_scheme) |
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
-
class
Gio.
DesktopAppInfoLookup
¶ Bases: GObject.GInterface
Structure: Gio.DesktopAppInfoLookupIface
Gio.DesktopAppInfoLookup
is an opaque data structure and can only be accessed using the following functions.Deprecated since version 2.28: The
Gio.DesktopAppInfoLookup
interface is deprecated and unused by GIO.-
get_default_for_uri_scheme
(uri_scheme)[source]¶ Parameters: uri_scheme ( str
) – a string containing a URI scheme.Returns: Gio.AppInfo
for given uri_scheme orNone
on error.Return type: Gio.AppInfo
orNone
Gets the default application for launching applications using this URI scheme for a particular
Gio.DesktopAppInfoLookup
implementation.The
Gio.DesktopAppInfoLookup
interface and this function is used to implementGio.AppInfo.get_default_for_uri_scheme
() backends in a GIO module. There is no reason for applications to use it directly. Applications should useGio.AppInfo.get_default_for_uri_scheme
().Deprecated since version 2.28: The
Gio.DesktopAppInfoLookup
interface is deprecated and unused by GIO.
-
do_get_default_for_uri_scheme
(uri_scheme) virtual¶ Parameters: uri_scheme ( str
) – a string containing a URI scheme.Returns: Gio.AppInfo
for given uri_scheme orNone
on error.Return type: Gio.AppInfo
orNone
Gets the default application for launching applications using this URI scheme for a particular
Gio.DesktopAppInfoLookup
implementation.The
Gio.DesktopAppInfoLookup
interface and this function is used to implementGio.AppInfo.get_default_for_uri_scheme
() backends in a GIO module. There is no reason for applications to use it directly. Applications should useGio.AppInfo.get_default_for_uri_scheme
().Deprecated since version 2.28: The
Gio.DesktopAppInfoLookup
interface is deprecated and unused by GIO.
-