gi-gio-2.0.35: Gio bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gio.Interfaces.DesktopAppInfoLookup

Description

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

Synopsis

Exported types

newtype DesktopAppInfoLookup Source #

Deprecated: (Since version 2.28)The DesktopAppInfoLookup interface isdeprecated and unused by GIO.

Memory-managed wrapper type.

Constructors

DesktopAppInfoLookup (ManagedPtr DesktopAppInfoLookup)

Deprecated: (Since version 2.28)The DesktopAppInfoLookup interface isdeprecated and unused by GIO.

class (GObject o, IsDescendantOf DesktopAppInfoLookup o) => IsDesktopAppInfoLookup o Source #

Type class for types which can be safely cast to DesktopAppInfoLookup, for instance with toDesktopAppInfoLookup.

Instances

Instances details
(GObject o, IsDescendantOf DesktopAppInfoLookup o) => IsDesktopAppInfoLookup o Source # 
Instance details

Defined in GI.Gio.Interfaces.DesktopAppInfoLookup

toDesktopAppInfoLookup :: (MonadIO m, IsDesktopAppInfoLookup o) => o -> m DesktopAppInfoLookup Source #

Cast to DesktopAppInfoLookup, for types for which this is known to be safe. For general casts, use castTo.

Methods

getDefaultForUriScheme

desktopAppInfoLookupGetDefaultForUriScheme Source #

Arguments

:: (HasCallStack, MonadIO m, IsDesktopAppInfoLookup a) 
=> a

lookup: a DesktopAppInfoLookup

-> Text

uriScheme: a string containing a URI scheme.

-> m (Maybe AppInfo)

Returns: AppInfo for given uriScheme or NULL on error.

Deprecated: (Since version 2.28)The DesktopAppInfoLookup interface isdeprecated and unused by GIO.

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

The DesktopAppInfoLookup interface and this function is used to implement appInfoGetDefaultForUriScheme backends in a GIO module. There is no reason for applications to use it directly. Applications should use appInfoGetDefaultForUriScheme.