Interface

GioUnixDesktopAppInfoLookup

deprecated: 2.28 

Description [src]

interface GioUnix.DesktopAppInfoLookup : GObject.Object

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

Deprecated since: 2.28

The GDesktopAppInfoLookup interface is deprecated and unused by GIO.

Prerequisite

In order to implement DesktopAppInfoLookup, your type must inherit fromGObject.

Functions

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 

Interface structure

struct GioUnixDesktopAppInfoLookupIface {
  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().