GioUnix.DesktopAppInfoLookup

g GObject.GInterface GObject.GInterface GioUnix.DesktopAppInfoLookup GioUnix.DesktopAppInfoLookup GObject.GInterface->GioUnix.DesktopAppInfoLookup

Implementations:

None

Methods

class

get_default_for_uri_scheme (lookup, uri_scheme)

Virtual Methods

None

Properties

None

Signals

None

Fields

None

Class Details

class GioUnix.DesktopAppInfoLookup
Bases:

GObject.GInterface

Structure:

GioUnix.DesktopAppInfoLookupIface

GioUnix.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.

classmethod get_default_for_uri_scheme(lookup, uri_scheme)
Parameters:
Returns:

[iface`Gio`.AppInfo] for given uri_scheme or NULL on error.

Return type:

Gio.AppInfo or None

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.