Hoogle Search

Within LTS Haskell 24.35 (ghc-9.10.3)

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

  1. settingsSetEnum :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> Int32 -> m Bool

    gi-gio GI.Gio.Objects.Settings

    Looks up the enumerated type nick for value and writes it to key, within settings. It is a programmer error to give a key that isn't contained in the schema for settings or is not marked as an enumerated type, or for value not to be a valid value for the named type. After performing the write, accessing key directly with settingsGetString will return the 'nick' associated with value.

  2. module GI.Gio.Objects.SocketAddressEnumerator

    GSocketAddressEnumerator is an enumerator type for SocketAddress instances. It is returned by enumeration functions such as socketConnectableEnumerate, which returns a GSocketAddressEnumerator to list each SocketAddress which could be used to connect to that SocketConnectable. Enumeration is typically a blocking operation, so the asynchronous methods socketAddressEnumeratorNextAsync and socketAddressEnumeratorNextFinish should be used where possible. Each GSocketAddressEnumerator can only be enumerated once. Once socketAddressEnumeratorNext has returned NULL, further enumeration with that GSocketAddressEnumerator is not possible, and it can be unreffed.

  3. class (GObject o, IsDescendantOf SocketAddressEnumerator o) => IsSocketAddressEnumerator o

    gi-gio GI.Gio.Objects.SocketAddressEnumerator

    Type class for types which can be safely cast to SocketAddressEnumerator, for instance with toSocketAddressEnumerator.

  4. newtype SocketAddressEnumerator

    gi-gio GI.Gio.Objects.SocketAddressEnumerator

    Memory-managed wrapper type.

  5. SocketAddressEnumerator :: ManagedPtr SocketAddressEnumerator -> SocketAddressEnumerator

    gi-gio GI.Gio.Objects.SocketAddressEnumerator

    No documentation available.

  6. socketAddressEnumeratorNext :: (HasCallStack, MonadIO m, IsSocketAddressEnumerator a, IsCancellable b) => a -> Maybe b -> m (Maybe SocketAddress)

    gi-gio GI.Gio.Objects.SocketAddressEnumerator

    Retrieves the next SocketAddress from enumerator. Note that this may block for some amount of time. (Eg, a NetworkAddress may need to do a DNS lookup before it can return an address.) Use socketAddressEnumeratorNextAsync if you need to avoid blocking. If enumerator is expected to yield addresses, but for some reason is unable to (eg, because of a DNS error), then the first call to socketAddressEnumeratorNext will return an appropriate error in *error. However, if the first call to socketAddressEnumeratorNext succeeds, then any further internal errors (other than cancellable being triggered) will be ignored.

  7. socketAddressEnumeratorNextAsync :: (HasCallStack, MonadIO m, IsSocketAddressEnumerator a, IsCancellable b) => a -> Maybe b -> Maybe AsyncReadyCallback -> m ()

    gi-gio GI.Gio.Objects.SocketAddressEnumerator

    Asynchronously retrieves the next SocketAddress from enumerator and then calls callback, which must call socketAddressEnumeratorNextFinish to get the result. It is an error to call this multiple times before the previous callback has finished.

  8. socketAddressEnumeratorNextFinish :: (HasCallStack, MonadIO m, IsSocketAddressEnumerator a, IsAsyncResult b) => a -> b -> m (Maybe SocketAddress)

    gi-gio GI.Gio.Objects.SocketAddressEnumerator

    Retrieves the result of a completed call to socketAddressEnumeratorNextAsync. See socketAddressEnumeratorNext for more information about error handling.

  9. toSocketAddressEnumerator :: (MonadIO m, IsSocketAddressEnumerator o) => o -> m SocketAddressEnumerator

    gi-gio GI.Gio.Objects.SocketAddressEnumerator

    Cast to SocketAddressEnumerator, for types for which this is known to be safe. For general casts, use castTo.

  10. clearDBusSubtreeVTableEnumerate :: MonadIO m => DBusSubtreeVTable -> m ()

    gi-gio GI.Gio.Structs.DBusSubtreeVTable

    Set the value of the “enumerate” field to Nothing. When overloading is enabled, this is equivalent to

    clear #enumerate
    

Page 121 of many | Previous | Next