### Interface

# Gio DesktopAppInfoLookup

deprecated: 2.28 since: 2.0

#### Description

    interface Gio.DesktopAppInfoLookup : GObject.Object

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

Available since: 2.0

Deprecated since: 2.28

The `GDesktopAppInfoLookup` interface is deprecated and unused by GIO.

#### Prerequisite

In order to implement DesktopAppInfoLookup, your type must inherit from`GObject`.

#### Instance methods

###### g_desktop_app_info_lookup_get_default_for_uri_scheme

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

deprecated: 2.28 since: 2.0

#### Interface structure

    struct GioDesktopAppInfoLookupIface {
      GTypeInterface g_iface;
      GAppInfo* (* get_default_for_uri_scheme) (
        GDesktopAppInfoLookup* lookup,
        const char* uri_scheme
      );

    }

Interface that is used by backends to associate default handlers with URI schemes.

###### Interface members

`g_iface` |
    GTypeInterface
| No description available.
`get_default_for_uri_scheme` |
    GAppInfo* (* get_default_for_uri_scheme) (
        GDesktopAppInfoLookup* lookup,
        const char* uri_scheme
      )
| Virtual method for g_desktop_app_info_lookup_get_default_for_uri_scheme().

#### Virtual methods

###### Gio.DesktopAppInfoLookup.get_default_for_uri_scheme

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

deprecated: 2.28 since: 2.0