Hoogle Search
Within LTS Haskell 24.39 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
gi-gio GI.Gio.Interfaces.AppInfo Asynchronously gets the default AppInfo for a given content type. Since: 2.74
appInfoGetDefaultForTypeFinish :: (HasCallStack, MonadIO m, IsAsyncResult a) => a -> m AppInfogi-gio GI.Gio.Interfaces.AppInfo Finishes a default AppInfo lookup started by appInfoGetDefaultForTypeAsync. If no AppInfo is found, then error will be set to IOErrorEnumNotFound. Since: 2.74
appInfoGetDefaultForUriScheme :: (HasCallStack, MonadIO m) => Text -> m (Maybe AppInfo)gi-gio GI.Gio.Interfaces.AppInfo Gets the default application for handling URIs with the given URI scheme. A URI scheme is the initial part of the URI, up to but not including the ':', e.g. "http", "ftp" or "sip".
-
gi-gio GI.Gio.Interfaces.AppInfo Asynchronously gets the default application for handling URIs with the given URI scheme. A URI scheme is the initial part of the URI, up to but not including the ':', e.g. "http", "ftp" or "sip". Since: 2.74
appInfoGetDefaultForUriSchemeFinish :: (HasCallStack, MonadIO m, IsAsyncResult a) => a -> m AppInfogi-gio GI.Gio.Interfaces.AppInfo Finishes a default AppInfo lookup started by appInfoGetDefaultForUriSchemeAsync. If no AppInfo is found, then error will be set to IOErrorEnumNotFound. Since: 2.74
appInfoGetFallbackForType :: (HasCallStack, MonadIO m) => Text -> m [AppInfo]gi-gio GI.Gio.Interfaces.AppInfo Gets a list of fallback GAppInfos for a given content type, i.e. those applications which claim to support the given content type by MIME type subclassing and not directly. Since: 2.28
appInfoGetRecommendedForType :: (HasCallStack, MonadIO m) => Text -> m [AppInfo]gi-gio GI.Gio.Interfaces.AppInfo Gets a list of recommended GAppInfos for a given content type, i.e. those applications which claim to support the given content type exactly, and not by MIME type subclassing. Note that the first application of the list is the last used one, i.e. the last one for which appInfoSetAsLastUsedForType has been called. Since: 2.28
-
gi-gio GI.Gio.Interfaces.AppInfo Utility function that launches the default application registered to handle the specified uri. Synchronous I/O is done on the uri to detect the type of the file if required. The D-Bus–activated applications don't have to be started if your application terminates too soon after this function. To prevent this, use appInfoLaunchDefaultForUriAsync instead.
-
gi-gio GI.Gio.Interfaces.AppInfo Async version of appInfoLaunchDefaultForUri. This version is useful if you are interested in receiving error information in the case where the application is sandboxed and the portal may present an application chooser dialog to the user. This is also useful if you want to be sure that the D-Bus–activated applications are really started before termination and if you are interested in receiving error information from their activation. Since: 2.50
appInfoLaunchDefaultForUriFinish :: (HasCallStack, MonadIO m, IsAsyncResult a) => a -> m ()gi-gio GI.Gio.Interfaces.AppInfo Finishes an asynchronous launch-default-for-uri operation. Since: 2.50