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.
appInfoRemoveSupportsType :: (HasCallStack, MonadIO m, IsAppInfo a) => a -> Text -> m ()gi-gio GI.Gio.Interfaces.AppInfo Removes a supported type from an application, if possible.
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
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.
appInfoSetAsDefaultForType :: (HasCallStack, MonadIO m, IsAppInfo a) => a -> Text -> m ()gi-gio GI.Gio.Interfaces.AppInfo Sets the application as the default handler for a given type.
appInfoSetAsLastUsedForType :: (HasCallStack, MonadIO m, IsAppInfo a) => a -> Text -> m ()gi-gio GI.Gio.Interfaces.AppInfo Sets the application as the last used application for a given type. This will make the application appear as first in the list returned by appInfoGetRecommendedForType, regardless of the default application for that content type.
-
gi-gio GI.Gio.Interfaces.DesktopAppInfoLookup Deprecated: (Since version 2.28)The DesktopAppInfoLookup interface is deprecated andunused by GIO.
driveCanPollForMedia :: (HasCallStack, MonadIO m, IsDrive a) => a -> m Boolgi-gio GI.Gio.Interfaces.Drive Checks if a drive can be polled for media changes.
-
gi-gio GI.Gio.Interfaces.Drive Asynchronously polls drive to see if media has been inserted or removed. When the operation is finished, callback will be called. You can then call drivePollForMediaFinish to obtain the result of the operation.
drivePollForMediaFinish :: (HasCallStack, MonadIO m, IsDrive a, IsAsyncResult b) => a -> b -> m ()gi-gio GI.Gio.Interfaces.Drive Finishes an operation started with drivePollForMedia on a drive.
-
gi-gio GI.Gio.Interfaces.File Prepares the file attribute query string for copying to file. This function prepares an attribute query string to be passed to fileQueryInfo to get a list of attributes normally copied with the file (see fileCopyAttributes for the detailed description). This function is used by the implementation of fileCopyAttributes and is useful when one needs to query and set the attributes in two stages (e.g., for recursive move of a directory). Since: 2.68