Hoogle Search

Within LTS Haskell 24.45 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. appInfoGetDefaultForUriSchemeAsync :: (HasCallStack, MonadIO m, IsCancellable a) => Text -> Maybe a -> Maybe AsyncReadyCallback -> m ()

    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

  2. appInfoGetDefaultForUriSchemeFinish :: (HasCallStack, MonadIO m, IsAsyncResult a) => a -> m AppInfo

    gi-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

  3. 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

  4. 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

  5. appInfoLaunchDefaultForUri :: (HasCallStack, MonadIO m, IsAppLaunchContext a) => Text -> Maybe a -> m ()

    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.

  6. appInfoLaunchDefaultForUriAsync :: (HasCallStack, MonadIO m, IsAppLaunchContext a, IsCancellable b) => Text -> Maybe a -> Maybe b -> Maybe AsyncReadyCallback -> m ()

    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

  7. 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

  8. appInfoRemoveSupportsType :: (HasCallStack, MonadIO m, IsAppInfo a) => a -> Text -> m ()

    gi-gio GI.Gio.Interfaces.AppInfo

    Removes a supported type from an application, if possible.

  9. appInfoResetTypeAssociations :: (HasCallStack, MonadIO m) => Text -> m ()

    gi-gio GI.Gio.Interfaces.AppInfo

    Removes all changes to the type associations done by appInfoSetAsDefaultForType, appInfoSetAsDefaultForExtension, appInfoAddSupportsType or appInfoRemoveSupportsType. Since: 2.20

  10. appInfoSetAsDefaultForExtension :: (HasCallStack, MonadIO m, IsAppInfo a) => a -> [Char] -> m ()

    gi-gio GI.Gio.Interfaces.AppInfo

    Sets the application as the default handler for the given file extension.

Page 565 of many | Previous | Next