gio.desktop_app_info_lookup_mixin

Module for [DesktopAppInfoLookup] interface mixin

Templates 2

tmplDesktopAppInfoLookupT()

#GDesktopAppInfoLookup is an opaque data structure and can only be accessed using the following functions.

Deprecated

The #GDesktopAppInfoLookup interface is deprecated and

unused by GIO.

Functions
gio.app_info.AppInfo getDefaultForUriScheme(string uriScheme)

Gets the default application for launching applications using this URI scheme for a particular #GDesktopAppInfoLookup implementation.

The #GDesktopAppInfoLookup interface and this function is used to implement [gio.app_info.AppInfo.getDefaultForUriScheme] backends in a GIO module. There is no reason for applications to use it directly. Applications should use [gio.app_info.AppInfo.getDefaultForUriScheme].

Parameters

uriSchemea string containing a URI scheme.

Returns

#GAppInfo for given uri_scheme or

null on error.

Deprecated

The #GDesktopAppInfoLookup interface is deprecated and

unused by GIO.

tmplDesktopAppInfoLookupGidBuilderT()