Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
DesktopAppInfoLookup
is an opaque data structure and can only be accessed
using the following functions.
Synopsis
- newtype DesktopAppInfoLookup = DesktopAppInfoLookup (ManagedPtr DesktopAppInfoLookup)
- class (GObject o, IsDescendantOf DesktopAppInfoLookup o) => IsDesktopAppInfoLookup o
- toDesktopAppInfoLookup :: (MonadIO m, IsDesktopAppInfoLookup o) => o -> m DesktopAppInfoLookup
- desktopAppInfoLookupGetDefaultForUriScheme :: (HasCallStack, MonadIO m, IsDesktopAppInfoLookup a) => a -> Text -> m (Maybe AppInfo)
Exported types
newtype DesktopAppInfoLookup Source #
Deprecated: (Since version 2.28)The DesktopAppInfoLookup
interface isdeprecated and unused by GIO.
Memory-managed wrapper type.
DesktopAppInfoLookup (ManagedPtr DesktopAppInfoLookup) | Deprecated: (Since version 2.28)The |
Instances
Eq DesktopAppInfoLookup Source # | |
Defined in GI.Gio.Interfaces.DesktopAppInfoLookup (==) :: DesktopAppInfoLookup -> DesktopAppInfoLookup -> Bool # (/=) :: DesktopAppInfoLookup -> DesktopAppInfoLookup -> Bool # | |
GObject DesktopAppInfoLookup Source # | |
Defined in GI.Gio.Interfaces.DesktopAppInfoLookup | |
ManagedPtrNewtype DesktopAppInfoLookup Source # | |
TypedObject DesktopAppInfoLookup Source # | |
Defined in GI.Gio.Interfaces.DesktopAppInfoLookup | |
HasParentTypes DesktopAppInfoLookup Source # | |
Defined in GI.Gio.Interfaces.DesktopAppInfoLookup | |
IsGValue (Maybe DesktopAppInfoLookup) Source # | Convert |
Defined in GI.Gio.Interfaces.DesktopAppInfoLookup gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe DesktopAppInfoLookup -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe DesktopAppInfoLookup) # | |
type ParentTypes DesktopAppInfoLookup Source # | |
Defined in GI.Gio.Interfaces.DesktopAppInfoLookup |
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
(GObject o, IsDescendantOf DesktopAppInfoLookup o) => IsDesktopAppInfoLookup o Source # | |
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
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getDefaultForUriScheme, getProperty, getQdata.
Setters
getDefaultForUriScheme
desktopAppInfoLookupGetDefaultForUriScheme Source #
:: (HasCallStack, MonadIO m, IsDesktopAppInfoLookup a) | |
=> a |
|
-> Text |
|
-> m (Maybe AppInfo) | Returns: |
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
.