Gio.DesktopAppInfoLookup¶
- Implementations:
None
Methods¶
|
Virtual Methods¶
|
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
- class Gio.DesktopAppInfoLookup¶
- Bases:
- Structure:
Gio.DesktopAppInfoLookup
is an opaque data structure and can only be accessed using the following functions.Deprecated since version 2.28: The [iface`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:
[iface`Gio`.AppInfo] for given uri_scheme or
NULL
on error.- Return type:
Gio.AppInfo
orNone
Gets the default application for launching applications using this URI scheme for a particular [iface`Gio`.DesktopAppInfoLookup] implementation.
The [iface`Gio`.DesktopAppInfoLookup] interface and this function is used to implement [func`Gio`.AppInfo.get_default_for_uri_scheme] backends in a GIO module. There is no reason for applications to use it directly. Applications should use [func`Gio`.AppInfo.get_default_for_uri_scheme].
Deprecated since version 2.28: The [iface`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:
[iface`Gio`.AppInfo] for given uri_scheme or
NULL
on error.- Return type:
Gio.AppInfo
orNone
Gets the default application for launching applications using this URI scheme for a particular [iface`Gio`.DesktopAppInfoLookup] implementation.
The [iface`Gio`.DesktopAppInfoLookup] interface and this function is used to implement [func`Gio`.AppInfo.get_default_for_uri_scheme] backends in a GIO module. There is no reason for applications to use it directly. Applications should use [func`Gio`.AppInfo.get_default_for_uri_scheme].
Deprecated since version 2.28: The [iface`Gio`.DesktopAppInfoLookup] interface is deprecated and unused by GIO.