gi-gio-2.0.18: Gio bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gio.Interfaces.DesktopAppInfoLookup

Contents

Description

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

Synopsis

Exported types

class GObject o => IsDesktopAppInfoLookup o Source #

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

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 AppInfo

Returns: AppInfo for given uriScheme or Nothing on error.

Deprecated: The DesktopAppInfoLookup interface is deprecated and unused by gio.

Gets the default application for launching applicationsfollowingMessage" title="GI.Gio.Structs.InputMessage">InputMessage]::" title="GHC.Stack">HasCallStack, DesktopAppInfoLoom" title="GI.Gio.Interfaces.PollableInputStream">PollableInputStream.

Since: 2.34

pollableStreamWrite