Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

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

  1. constructProxyAddressEnumeratorUri :: (IsProxyAddressEnumerator o, MonadIO m) => Text -> m (GValueConstruct o)

    gi-gio GI.Gio.Objects.ProxyAddressEnumerator

    Construct a GValueConstruct with valid value for the “uri” property. This is rarely needed directly, but it is used by new.

  2. getProxyAddressEnumeratorConnectable :: (MonadIO m, IsProxyAddressEnumerator o) => o -> m (Maybe SocketConnectable)

    gi-gio GI.Gio.Objects.ProxyAddressEnumerator

    Get the value of the “connectable” property. When overloading is enabled, this is equivalent to

    get proxyAddressEnumerator #connectable
    

  3. getProxyAddressEnumeratorDefaultPort :: (MonadIO m, IsProxyAddressEnumerator o) => o -> m Word32

    gi-gio GI.Gio.Objects.ProxyAddressEnumerator

    Get the value of the “default-port” property. When overloading is enabled, this is equivalent to

    get proxyAddressEnumerator #defaultPort
    

  4. getProxyAddressEnumeratorProxyResolver :: (MonadIO m, IsProxyAddressEnumerator o) => o -> m (Maybe ProxyResolver)

    gi-gio GI.Gio.Objects.ProxyAddressEnumerator

    Get the value of the “proxy-resolver” property. When overloading is enabled, this is equivalent to

    get proxyAddressEnumerator #proxyResolver
    

  5. getProxyAddressEnumeratorUri :: (MonadIO m, IsProxyAddressEnumerator o) => o -> m (Maybe Text)

    gi-gio GI.Gio.Objects.ProxyAddressEnumerator

    Get the value of the “uri” property. When overloading is enabled, this is equivalent to

    get proxyAddressEnumerator #uri
    

  6. setProxyAddressEnumeratorProxyResolver :: (MonadIO m, IsProxyAddressEnumerator o, IsProxyResolver a) => o -> a -> m ()

    gi-gio GI.Gio.Objects.ProxyAddressEnumerator

    Set the value of the “proxy-resolver” property. When overloading is enabled, this is equivalent to

    set proxyAddressEnumerator [ #proxyResolver := value ]
    

  7. toProxyAddressEnumerator :: (MonadIO m, IsProxyAddressEnumerator o) => o -> m ProxyAddressEnumerator

    gi-gio GI.Gio.Objects.ProxyAddressEnumerator

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

  8. settingsGetEnum :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m Int32

    gi-gio GI.Gio.Objects.Settings

    Gets the value that is stored in settings for key and converts it to the enum value that it represents. In order to use this function the type of the value must be a string and it must be marked in the schema file as an enumerated type. 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. If the value stored in the configuration database is not a valid value for the enumerated type then this function will return the default value. Since: 2.26

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

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

Page 120 of many | Previous | Next