Hoogle Search

Within LTS Haskell 24.36 (ghc-9.10.3)

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

  1. resourcesEnumerateChildren :: (HasCallStack, MonadIO m) => Text -> [ResourceLookupFlags] -> m [Text]

    gi-gio GI.Gio.Functions

    Returns all the names of children at the specified path in the set of globally registered resources. The return result is a Nothing terminated list of strings which should be released with strfreev. lookupFlags controls the behaviour of the lookup. Since: 2.32

  2. driveEnumerateIdentifiers :: (HasCallStack, MonadIO m, IsDrive a) => a -> m [Text]

    gi-gio GI.Gio.Interfaces.Drive

    Gets the kinds of identifiers that drive has. Use driveGetIdentifier to obtain the identifiers themselves.

  3. fileEnumerateChildren :: (HasCallStack, MonadIO m, IsFile a, IsCancellable b) => a -> Text -> [FileQueryInfoFlags] -> Maybe b -> m FileEnumerator

    gi-gio GI.Gio.Interfaces.File

    Gets the requested information about the files in a directory. The result is a FileEnumerator object that will give out FileInfo objects for all the files in the directory. The attributes value is a string that specifies the file attributes that should be gathered. It is not an error if it's not possible to read a particular requested attribute from a file - it just won't be set. attributes should be a comma-separated list of attributes or attribute wildcards. The wildcard "*" means all attributes, and a wildcard like "standard::*" means all attributes in the standard namespace. An example attribute query be "standard::*,owneruser". The standard attributes are available as defines, like FILE_ATTRIBUTE_STANDARD_NAME. FILE_ATTRIBUTE_STANDARD_NAME should always be specified if you plan to call fileEnumeratorGetChild or fileEnumeratorIterate on the returned enumerator. If cancellable is not Nothing, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error IOErrorEnumCancelled will be returned. If the file does not exist, the IOErrorEnumNotFound error will be returned. If the file is not a directory, the IOErrorEnumNotDirectory error will be returned. Other errors are possible too.

  4. fileEnumerateChildrenAsync :: (HasCallStack, MonadIO m, IsFile a, IsCancellable b) => a -> Text -> [FileQueryInfoFlags] -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()

    gi-gio GI.Gio.Interfaces.File

    Asynchronously gets the requested information about the files in a directory. The result is a FileEnumerator object that will give out FileInfo objects for all the files in the directory. For more details, see fileEnumerateChildren which is the synchronous version of this call. When the operation is finished, callback will be called. You can then call fileEnumerateChildrenFinish to get the result of the operation.

  5. fileEnumerateChildrenFinish :: (HasCallStack, MonadIO m, IsFile a, IsAsyncResult b) => a -> b -> m FileEnumerator

    gi-gio GI.Gio.Interfaces.File

    Finishes an async enumerate children operation. See fileEnumerateChildrenAsync.

  6. socketConnectableEnumerate :: (HasCallStack, MonadIO m, IsSocketConnectable a) => a -> m SocketAddressEnumerator

    gi-gio GI.Gio.Interfaces.SocketConnectable

    Creates a SocketAddressEnumerator for connectable. Since: 2.22

  7. socketConnectableProxyEnumerate :: (HasCallStack, MonadIO m, IsSocketConnectable a) => a -> m SocketAddressEnumerator

    gi-gio GI.Gio.Interfaces.SocketConnectable

    Creates a SocketAddressEnumerator for connectable that will return a ProxyAddress for each of its addresses that you must connect to via a proxy. If connectable does not implement socketConnectableProxyEnumerate, this will fall back to calling socketConnectableEnumerate. Since: 2.26

  8. volumeEnumerateIdentifiers :: (HasCallStack, MonadIO m, IsVolume a) => a -> m [Text]

    gi-gio GI.Gio.Interfaces.Volume

    Gets the kinds of identifiers that volume has. Use volumeGetIdentifier to obtain the identifiers themselves.

  9. dBusConnectionExportMenuModel :: (HasCallStack, MonadIO m, IsDBusConnection a, IsMenuModel b) => a -> Text -> b -> m Word32

    gi-gio GI.Gio.Objects.DBusConnection

    Exports menu on connection at objectPath. The implemented D-Bus API should be considered private. It is subject to change in the future. An object path can only have one menu model exported on it. If this constraint is violated, the export will fail and 0 will be returned (with error set accordingly). Exporting menus with sections containing more than MENU_EXPORTER_MAX_SECTION_SIZE items is not supported and results in undefined behavior. You can unexport the menu model using dBusConnectionUnexportMenuModel with the return value of this function. Since: 2.32

  10. dBusConnectionUnexportMenuModel :: (HasCallStack, MonadIO m, IsDBusConnection a) => a -> Word32 -> m ()

    gi-gio GI.Gio.Objects.DBusConnection

    Reverses the effect of a previous call to dBusConnectionExportMenuModel. It is an error to call this function with an ID that wasn't returned from dBusConnectionExportMenuModel or to call it with the same ID more than once. Since: 2.32

Page 114 of many | Previous | Next